tacker.vnflcm.vnflcm_driver module

class tacker.vnflcm.vnflcm_driver.VnfLcmDriver

Bases: VnfInstanceAbstractDriver

OPTS = [<oslo_config.cfg.ListOpt object>, <oslo_config.cfg.ListOpt object>]
change_ext_conn_vnf(**kwargs)
heal_vnf(**kwargs)
instantiate_vnf(**kwargs)

instantiate vnf request.

Parameters:
  • context – context

  • vnf_instance_id – uuid of vnf_instance

  • instantiate_vnf_req – object of InstantiateVnfRequest

Returns:

None

modify_vnf(**kwargs)
rollback_vnf(**kwargs)
scale_vnf(**kwargs)
sync_db(context)
terminate_vnf(**kwargs)

terminate vnf request.

Parameters:
  • context – the request context

  • vnf_instance – object of VnfInstance

  • terminate_vnf_req – object of TerminateVnfRequest

Returns:

None

tacker.vnflcm.vnflcm_driver.config_opts()
tacker.vnflcm.vnflcm_driver.revert_to_error_rollback(function)

Decorator to revert task_state to error on failure.

tacker.vnflcm.vnflcm_driver.revert_to_error_scale(function)

Decorator to revert task_state to error on failure.

tacker.vnflcm.vnflcm_driver.revert_to_error_task_state(function)

Decorator to revert task_state to error on failure.