X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fdashboarder%2Fservice.py;h=14ea0b9072ac4d245289010507eeb392dfed7c99;hb=4b6428e387a5374003f369dca19185248e71558d;hp=9f184d26cca809b0bea7e08de584df71339bd2b3;hpb=396648b6eab42dcabdec1cef131618971dc64fbe;p=osm%2FMON.git diff --git a/osm_mon/dashboarder/service.py b/osm_mon/dashboarder/service.py index 9f184d2..14ea0b9 100644 --- a/osm_mon/dashboarder/service.py +++ b/osm_mon/dashboarder/service.py @@ -69,7 +69,7 @@ class DashboarderService: constituent_vnfds = nsr['nsd']['constituent-vnfd'] for constituent_vnfd in constituent_vnfds: try: - vnfd = self.common_db.get_vnfd_by_name(constituent_vnfd['vnfd-id-ref']) + vnfd = self.common_db.get_vnfd_by_id(constituent_vnfd['vnfd-id-ref']) # If there are metrics, create dashboard (if exists) if 'monitoring-param' in vnfd: if nsr_id not in dashboard_uids: