2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation... 10/12310/2
authork4.rahul <rahul.k4@tataelxsi.co.in>
Thu, 7 Jul 2022 07:23:53 +0000 (07:23 +0000)
committerk4.rahul <rahul.k4@tataelxsi.co.in>
Fri, 15 Jul 2022 07:05:24 +0000 (07:05 +0000)
Change-Id: I13a8880426f4998ae610a7ac8db550711fe12084
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
osm_lcm/ns.py

index a33dc9e..2b0f56e 100644 (file)
@@ -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: