Merge "Support for cfg-file translation to openmano" into v1.1
[osm/SO.git] / rwcm / plugins / rwconman / rift / tasklets / rwconmantasklet / riftcm_config_plugin.py
index 1540360..640e4b5 100644 (file)
@@ -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: