projects
/
osm
/
NG-SA.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 11016: Service KPI Metric Based Scaling of VNF using exporter endpoint in...
[osm/NG-SA.git]
/
src
/
osm_ngsa
/
dags
/
multivim_vm_metrics.py
diff --git
a/src/osm_ngsa/dags/multivim_vm_metrics.py
b/src/osm_ngsa/dags/multivim_vm_metrics.py
index
2e67ce1
..
acec04d
100644
(file)
--- a/
src/osm_ngsa/dags/multivim_vm_metrics.py
+++ b/
src/osm_ngsa/dags/multivim_vm_metrics.py
@@
-226,7
+226,7
@@
def create_dag(dag_id, dag_number, dag_description, vim_id):
vim_type = vim_account["config"]["vim_type"].lower()
if vim_type == "vio" and "vrops_site" not in vim_account["config"]:
vim_type = "openstack"
vim_type = vim_account["config"]["vim_type"].lower()
if vim_type == "vio" and "vrops_site" not in vim_account["config"]:
vim_type = "openstack"
- if vim_type == "openstack":
+ if vim_type == "openstack"
or vim_type == "vio"
:
collector = OpenStackCollector(vim_account)
elif vim_type == "azure":
collector = AzureCollector(vim_account)
collector = OpenStackCollector(vim_account)
elif vim_type == "azure":
collector = AzureCollector(vim_account)