summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
12fda45)
Change-Id: I285eb6728f337e5ec13efcc27aa49cc3ab3fad0d
Signed-off-by: Ubuntu <Atul.agarwal@altran.com>
try:
vnfd = self.common_db.get_vnfd_by_id(vnf_profile['vnfd-id'])
# If there are metrics, create dashboard (if exists)
try:
vnfd = self.common_db.get_vnfd_by_id(vnf_profile['vnfd-id'])
# If there are metrics, create dashboard (if exists)
- if vnfd and 'monitoring-parameter' in vnfd:
+ if vnfd and 'monitoring-parameter' in vnfd["vdu"][0]:
if nsr_id not in dashboard_uids:
nsr_name = nsr['name']
project_id = nsr["_admin"]["projects_read"][0]
if nsr_id not in dashboard_uids:
nsr_name = nsr['name']
project_id = nsr["_admin"]["projects_read"][0]