2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation... 52/12452/2 v12.0.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>
Tue, 16 Aug 2022 04:09:25 +0000 (04:09 +0000)
Change-Id: I13a8880426f4998ae610a7ac8db550711fe12084
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
osm_lcm/ns.py

index ee5832f..a26039a 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
@@ -7324,7 +7325,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: