Add missing vca_id parameter in juju.py 38/10738/1
authorDavid Garcia <david.garcia@canonical.com>
Tue, 4 May 2021 17:42:53 +0000 (19:42 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Tue, 4 May 2021 17:42:53 +0000 (19:42 +0200)
Change-Id: I8459f56dfce82f3d2ec16c2261e639e540662db8
Signed-off-by: David Garcia <david.garcia@canonical.com>
osm_mon/collector/vnf_collectors/juju.py

index 0e2fac2..7e639b5 100644 (file)
@@ -124,7 +124,9 @@ class VCACollector(BaseCollector):
                 return metrics
             measures = self.loop.run_until_complete(
                 self.n2vc.get_metrics(
-                    vca_deployment_info["model"], vca_deployment_info["application"]
+                    vca_deployment_info["model"],
+                    vca_deployment_info["application"],
+                    vca_id=vnfr.get("vca-id"),
                 )
             )
             # Search for Mgmt VDU name, needed to query Prometheus based on alarm tags