From e416ea07b6029cf9f2d65248720b9b562a409200 Mon Sep 17 00:00:00 2001 From: aguilard Date: Mon, 8 May 2023 15:09:37 +0000 Subject: [PATCH] Update ns.py to append osm to metric_name to be BWC Change-Id: I9319296e0f79dcab95878a925977514847c770db Signed-off-by: aguilard --- osm_lcm/ns.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 83869bc..dcb044c 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2428,6 +2428,7 @@ class NsLcm(LcmBase): for vdur in monitored_vdurs: vdu_id = vdur["vdu-id-ref"] metric_name = vnf_monitoring_param.get("performance-metric") + metric_name = f"osm_{metric_name}" vnf_member_index = vnfr["member-vnf-index-ref"] scalein_threshold = scaling_criteria.get( "scale-in-threshold" -- 2.25.1