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