X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rwcm%2Fplugins%2Frwconman%2Frift%2Ftasklets%2Frwconmantasklet%2Friftcm_config_plugin.py;h=640e4b596d9c93ecc9e02527597f0a4423accef0;hb=f6bdc6c3900443fbfe77a9950730cf26ac32f879;hp=1540360fcc328349785ad0a6d83a444fe3af55be;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/riftcm_config_plugin.py b/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/riftcm_config_plugin.py index 1540360f..640e4b59 100644 --- a/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/riftcm_config_plugin.py +++ b/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/riftcm_config_plugin.py @@ -166,6 +166,10 @@ class RiftCMConfigPluginBase(object): def name(self): raise NotImplementedError + @property + def agent_data(self): + raise NotImplementedError + @property def dts(self): return self._dts @@ -183,6 +187,14 @@ class RiftCMConfigPluginBase(object): return self._nsm + def vnfr(self, vnfr_id): + raise NotImplementedError + + @abc.abstractmethod + def get_Service_name(self): + """ Get the service name specific to the plugin """ + pass + @abc.abstractmethod @asyncio.coroutine def apply_config(self, agent_nsr, agent_vnfr, config, rpc_ip): @@ -264,6 +276,10 @@ class RiftCMConfigPluginBase(object): """ Add VNR to be managed by this config agent """ pass + def get_service_status(self, vnfr_id): + """Get the status of the service""" + return None + @asyncio.coroutine def invoke(self, method, *args): try: