tacker.api.vnflcm.v1.controller module

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

Bases: tacker.wsgi.Controller

create(request, body)
delete(request, id)
heal(request, id, body)
index(request)
instantiate(request, id, body)
show(request, id)
terminate(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.create_resource()