From 08cc70b46d056943c7e7af7946f9c809cd00e3b7 Mon Sep 17 00:00:00 2001 From: "k4.rahul" Date: Thu, 7 Jul 2022 07:23:53 +0000 Subject: [PATCH] 2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation type for feature start_stop_rebuild Change-Id: I13a8880426f4998ae610a7ac8db550711fe12084 Signed-off-by: k4.rahul --- osm_lcm/ns.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index a33dc9e..2b0f56e 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -226,6 +226,7 @@ class NsLcm(LcmBase): "migrate": self.RO.status, "healing": self.RO.recreate_status, "verticalscale": self.RO.status, + "start_stop_rebuild": self.RO.status, } @staticmethod @@ -7310,7 +7311,8 @@ class NsLcm(LcmBase): self.logger.info("response from RO: {}".format(result_dict)) action_id = result_dict["action_id"] await self._wait_ng_ro( - nsr_id, action_id, nslcmop_id, start_deploy, self.timeout_operate + nsr_id, action_id, nslcmop_id, start_deploy, + self.timeout_operate, None, "start_stop_rebuild", ) return "COMPLETED", "Done" except (ROclient.ROClientException, DbException, LcmException) as e: -- 2.25.1