projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating refs to own branch
[osm/MON.git]
/
osm_mon
/
collector
/
vnf_collectors
/
vmware.py
diff --git
a/osm_mon/collector/vnf_collectors/vmware.py
b/osm_mon/collector/vnf_collectors/vmware.py
index
888b013
..
1bc33eb
100644
(file)
--- a/
osm_mon/collector/vnf_collectors/vmware.py
+++ b/
osm_mon/collector/vnf_collectors/vmware.py
@@
-187,7
+187,7
@@
class VMwareCollector(BaseVimCollector):
if vnfr['_admin']['projects_read']:
tags['project_id'] = vnfr['_admin']['projects_read'][0]
else:
if vnfr['_admin']['projects_read']:
tags['project_id'] = vnfr['_admin']['projects_read'][0]
else:
- tags['project_id'] =
None
+ tags['project_id'] =
''
# Fetch the list of all known resources from vROPS.
resource_list = self.vrops.get_vm_resource_list_from_vrops()
# Fetch the list of all known resources from vROPS.
resource_list = self.vrops.get_vm_resource_list_from_vrops()
@@
-200,7
+200,7
@@
class VMwareCollector(BaseVimCollector):
filter(lambda vdu: vdu['id'] == vdur['vdu-id-ref'], vnfd['vdu'])
)
filter(lambda vdu: vdu['id'] == vdur['vdu-id-ref'], vnfd['vdu'])
)
- if 'monitoring-param' not in vdu:
+ if 'monitoring-param
eter
' not in vdu:
continue
resource_uuid = vdur['vim-id']
continue
resource_uuid = vdur['vim-id']
@@
-222,7
+222,7
@@
class VMwareCollector(BaseVimCollector):
if len(vdu_mappings) != 0:
return self.vrops.get_metrics(vdu_mappings=vdu_mappings,
if len(vdu_mappings) != 0:
return self.vrops.get_metrics(vdu_mappings=vdu_mappings,
- monitoring_params=vdu['monitoring-param'],
+ monitoring_params=vdu['monitoring-param
eter
'],
vnfr=vnfr,
tags=tags
)
vnfr=vnfr,
tags=tags
)