projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed breakage in function proto-types due to scaling changes
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
rwmonparam
/
rift
/
tasklets
/
rwmonparam
/
nsr_core.py
diff --git
a/rwlaunchpad/plugins/rwmonparam/rift/tasklets/rwmonparam/nsr_core.py
b/rwlaunchpad/plugins/rwmonparam/rift/tasklets/rwmonparam/nsr_core.py
index
31b7647
..
78a3c8f
100644
(file)
--- a/
rwlaunchpad/plugins/rwmonparam/rift/tasklets/rwmonparam/nsr_core.py
+++ b/
rwlaunchpad/plugins/rwmonparam/rift/tasklets/rwmonparam/nsr_core.py
@@
-89,7
+89,7
@@
class NsrMonitoringParam():
# This indicates that the NSD had no mon-param config.
if not nsd.monitoring_param:
for vnfr in constituent_vnfrs:
# This indicates that the NSD had no mon-param config.
if not nsd.monitoring_param:
for vnfr in constituent_vnfrs:
- vnfd = store.get_vnfd(vnfr.vnfd
_ref
)
+ vnfd = store.get_vnfd(vnfr.vnfd
.id
)
for monp in vnfd.monitoring_param:
mon_params.append(NsrMonitoringParam(
monp,
for monp in vnfd.monitoring_param:
mon_params.append(NsrMonitoringParam(
monp,
@@
-193,7
+193,7
@@
class NsrMonitoringParam():
def _convert_nsd_msg(self, nsd_monp):
"""Create initial msg without values"""
def _convert_nsd_msg(self, nsd_monp):
"""Create initial msg without values"""
- vnfd_to_vnfr = {vnfr.vnfd
_ref
: vnfr_id
+ vnfd_to_vnfr = {vnfr.vnfd
.id
: vnfr_id
for vnfr_id, vnfr in self._constituent_vnfr_map.items()}
# First, convert the monp param ref from vnfd to vnfr terms.
for vnfr_id, vnfr in self._constituent_vnfr_map.items()}
# First, convert the monp param ref from vnfd to vnfr terms.