+ # NS '--wait' option
+ def _wait(self, id, deleteFlag=False):
+ # Endpoint to get operation status
+ apiUrlStatus = '{}{}{}'.format(self._apiName, self._apiVersion, '/ns_lcm_op_occs')
+ # Wait for status for NS instance creation/update/deletion
+ WaitForStatus.wait_for_status(
+ 'NS',
+ str(id),
+ WaitForStatus.TIMEOUT_NS_OPERATION,
+ apiUrlStatus,
+ self._http.get2_cmd,
+ deleteFlag=deleteFlag)
+