# Endpoint to get operation status
apiUrlStatus = '{}{}{}'.format(self._apiName, self._apiVersion, '/nsi_lcm_op_occs')
# Wait for status for NSI instance creation/update/deletion
# Endpoint to get operation status
apiUrlStatus = '{}{}{}'.format(self._apiName, self._apiVersion, '/nsi_lcm_op_occs')
# Wait for status for NSI instance creation/update/deletion
raise NotFound("nsi {} not found".format(name))
def get_individual(self, name):
raise NotFound("nsi {} not found".format(name))
def get_individual(self, name):
raise NotFound("nsi {} not found".format(name))
def delete(self, name, force=False, wait=False):
raise NotFound("nsi {} not found".format(name))
def delete(self, name, force=False, wait=False):
ssh_keys=None, description='default description',
admin_status='ENABLED', wait=False):
ssh_keys=None, description='default description',
admin_status='ENABLED', wait=False):
not additional_param_subnet.get("additionalParamsForVnf"):
raise ValueError("Error at --config 'additionalParamsForSubnet' items must contain "
"'additionalParamsForNs' and/or 'additionalParamsForVnf'")
not additional_param_subnet.get("additionalParamsForVnf"):
raise ValueError("Error at --config 'additionalParamsForSubnet' items must contain "
"'additionalParamsForNs' and/or 'additionalParamsForVnf'")
raise ClientException(message)
def list_op(self, name, filter=None):
"""Returns the list of operations of a NSI
"""
raise ClientException(message)
def list_op(self, name, filter=None):
"""Returns the list of operations of a NSI
"""
raise ClientException(message)
def get_op(self, operationId):
"""Returns the status of an operation
"""
raise ClientException(message)
def get_op(self, operationId):
"""Returns the status of an operation
"""
try:
self._apiResource = '/nsi_lcm_op_occs'
self._apiBase = '{}{}{}'.format(self._apiName,
try:
self._apiResource = '/nsi_lcm_op_occs'
self._apiBase = '{}{}{}'.format(self._apiName,
raise ClientException(message)
def exec_op(self, name, op_name, op_data=None):
"""Executes an operation on a NSI
"""
raise ClientException(message)
def exec_op(self, name, op_name, op_data=None):
"""Executes an operation on a NSI
"""