projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adds collection of vim status metric
[osm/MON.git]
/
osm_mon
/
core
/
common_db.py
diff --git
a/osm_mon/core/common_db.py
b/osm_mon/core/common_db.py
index
beaac3d
..
9cc9c06
100644
(file)
--- a/
osm_mon/core/common_db.py
+++ b/
osm_mon/core/common_db.py
@@
-75,3
+75,6
@@
class CommonDbClient:
def get_vim_account_id(self, nsr_id: str, vnf_member_index: int) -> str:
vnfr = self.get_vnfr(nsr_id, vnf_member_index)
return vnfr['vim-account-id']
+
+ def get_vim_accounts(self):
+ return self.common_db.get_list('vim_accounts')