tacker.api.vnflcm.v1.controller module

class tacker.api.vnflcm.v1.controller.VnfLcmController

Bases: tacker.wsgi.Controller

api_versions(request)
change_ext_conn(request, id, body)
create(request, body)
delete(request, id)
delete_subscription(request, subscriptionId)
fail(request, id)
heal(request, id, body)
index(request)
instantiate(request, id, body)
list_lcm_op_occs(request)
notification_type_list = ['VnfLcmOperationOccurrenceNotification', 'VnfIdentifierCreationNotification', 'VnfIdentifierDeletionNotification']
operation_state_list = ['STARTING', 'PROCESSING', 'COMPLETED', 'FAILED_TEMP', 'FAILED', 'ROLLING_BACK', 'ROLLED_BACK']
operation_type_list = ['INSTANTIATE', 'SCALE', 'SCALE_TO_LEVEL', 'CHANGE_FLAVOUR', 'TERMINATE', 'HEAL', 'OPERATE', 'CHANGE_EXT_CONN', 'MODIFY_INFO']
register_subscription(request, body)
retry(request, id)
rollback(request, id)
scale(request, id, body)
show(request, id)
show_lcm_op_occs(request, id)
subscription_list(request)
subscription_show(request, subscriptionId)
terminate(request, id, body)
update(request, id, body)
tacker.api.vnflcm.v1.controller.check_vnf_state(action, instantiation_state=None, task_state=(None, ))

Decorator to check vnf states are valid for particular action.

If the vnf is in the wrong state, it will raise conflict exception.

tacker.api.vnflcm.v1.controller.check_vnf_status(action, status=None)

Decorator to check vnf status are valid for particular action.

If the vnf is in the wrong state, it will raise conflict exception.

tacker.api.vnflcm.v1.controller.check_vnf_status_and_error_point(action, status=None)

Decorator to check vnf status are valid for particular action.

If the vnf has the wrong status with the wrong error point, it will raise conflict exception.

tacker.api.vnflcm.v1.controller.create_resource()