projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New feature: Code changes for project support
[osm/SO.git]
/
rwcm
/
plugins
/
rwconman
/
rift
/
tasklets
/
rwconmantasklet
/
rwconman_events.py
diff --git
a/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_events.py
b/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_events.py
index
f292a68
..
e4f043e
100644
(file)
--- a/
rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_events.py
+++ b/
rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_events.py
@@
-55,9
+55,12
@@
def log_this_vnf(vnf_cfg):
else:
log_vnf += "{}/".format(vnf_cfg[item])
return log_vnf
else:
log_vnf += "{}/".format(vnf_cfg[item])
return log_vnf
-
+
+
class ConfigManagerROifConnectionError(Exception):
pass
class ConfigManagerROifConnectionError(Exception):
pass
+
+
class ScriptError(Exception):
pass
class ScriptError(Exception):
pass
@@
-68,12
+71,15
@@
class ConfigManagerEvents(object):
self._log = log
self._loop = loop
self._parent = parent
self._log = log
self._loop = loop
self._parent = parent
- self._nsr_xpath =
"/cm-state/cm-nsr"
+ self._nsr_xpath =
parent._project.add_project("/cm-state/cm-nsr")
@asyncio.coroutine
def register(self):
pass
@asyncio.coroutine
def register(self):
pass
+ def deregister(self):
+ pass
+
@asyncio.coroutine
def update_vnf_state(self, vnf_cfg, state):
nsr_obj = vnf_cfg['nsr_obj']
@asyncio.coroutine
def update_vnf_state(self, vnf_cfg, state):
nsr_obj = vnf_cfg['nsr_obj']