The tacker.vnfm.mgmt_drivers.abstract_driver Module

The tacker.vnfm.mgmt_drivers.abstract_driver Module

class tacker.vnfm.mgmt_drivers.abstract_driver.DeviceMGMTAbstractDriver

Bases: tacker.api.extensions.PluginInterface

get_description()
get_name()

Return a symbolic name for the service VM plugin.

get_type()

Return one of predefined type of the hosting vnf drivers.

mgmt_call(plugin, context, vnf, kwargs)
mgmt_create_post(plugin, context, vnf)
mgmt_create_pre(plugin, context, vnf)
mgmt_delete_post(plugin, context, vnf)
mgmt_delete_pre(plugin, context, vnf)
mgmt_get_config(plugin, context, vnf)

Get a dict of objects.

Returns dict of file-like objects which will be passed to hosting vnf. It depends on drivers how to use it. for nova case, it can be used for meta data, file injection or config drive i.e. metadata case: nova –meta <key>=<value> file injection case: nova –file <dst-path>:<src-path> config drive case: nova –config-drive=true –file <dst-path>:<src-path>

mgmt_update_post(plugin, context, vnf)
mgmt_update_pre(plugin, context, vnf)
mgmt_url(plugin, context, vnf)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.