projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert " Removed unused scaling rpc handler code"
[osm/SO.git]
/
rwcm
/
plugins
/
rwconman
/
rift
/
tasklets
/
rwconmantasklet
/
riftcm_config_plugin.py
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
1540360
..
640e4b5
100644
(file)
--- 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
def name(self):
raise NotImplementedError
+ @property
+ def agent_data(self):
+ raise NotImplementedError
+
@property
def dts(self):
return self._dts
@property
def dts(self):
return self._dts
@@
-183,6
+187,14
@@
class RiftCMConfigPluginBase(object):
return self._nsm
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):
@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
""" 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:
@asyncio.coroutine
def invoke(self, method, *args):
try: