projects
/
osm
/
NG-SA.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the name of the VM as id for gcp vim_connector
[osm/NG-SA.git]
/
src
/
osm_ngsa
/
osm_mon
/
vim_connectors
/
gcp.py
diff --git
a/src/osm_ngsa/osm_mon/vim_connectors/gcp.py
b/src/osm_ngsa/osm_mon/vim_connectors/gcp.py
index
396e136
..
73d09af
100644
(file)
--- a/
src/osm_ngsa/osm_mon/vim_connectors/gcp.py
+++ b/
src/osm_ngsa/osm_mon/vim_connectors/gcp.py
@@
-82,7
+82,7
@@
class GcpCollector(VIMConnector):
log.info(response["items"])
for server in response["items"]:
vm = {
- "id": server["
id
"],
+ "id": server["
name
"],
"name": server["name"],
"status": (1 if (server["status"] == "RUNNING") else 0),
}