The tacker.nfvo.drivers.vim.openstack_driver Module

class tacker.nfvo.drivers.vim.openstack_driver.MistralClient(keystone, auth_token)

Bases: object

Mistral Client class for NSD

get_client()
class tacker.nfvo.drivers.vim.openstack_driver.NeutronClient(auth_attr)

Bases: object

Neutron Client class for networking-sfc driver

flow_classifier_create(fc_dict)
flow_classifier_delete(fc_id)
flow_classifier_update(fc_id, update_fc)
port_chain_create(port_chain_dict)
port_chain_delete(port_chain_id)
port_pair_create(port_pair_dict)
port_pair_delete(port_pair_id)
port_pair_group_create(ppg_dict)
port_pair_group_delete(ppg_id)
class tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver

Bases: tacker.nfvo.drivers.vim.abstract_vim_driver.VimAbstractDriver, tacker.nfvo.drivers.vnffg.abstract_vnffg_driver.VnffgAbstractDriver

Driver for OpenStack VIM

OpenStack driver handles interactions with local as well as remote OpenStack instances. The driver invokes keystone service for VIM authorization and validation. The driver is also responsible for discovering placement attributes such as regions, availability zones

authenticate_vim(vim_obj)

Validate VIM auth attributes

Initialize keystoneclient with provided authentication attributes.

create_chain(name, fc_id, vnfs, symmetrical=False, auth_attr=None)
create_flow_classifier(name, fc, symmetrical=False, auth_attr=None)
delete_chain(chain_id, auth_attr=None)
delete_execution(execution_id, vim_auth, auth_token=None)
delete_flow_classifier(fc_id, auth_attr=None)
delete_vim_auth(*args, **kwargs)
delete_workflow(workflow_id, vim_auth, auth_token=None)
deregister_vim(*args, **kwargs)
discover_placement_attr(vim_obj, ks_client)

Fetch VIM placement information

Attributes can include regions, AZ.

encode_vim_auth(*args, **kwargs)
execute_workflow(workflow, vim_auth, auth_token=None)
get_description()
get_execution(execution_id, vim_auth, auth_token=None)
get_name()
get_type()
get_vim_resource_id(*args, **kwargs)
prepare_and_create_workflow(resource, action, vim_auth, kwargs, auth_token=None)
register_vim(*args, **kwargs)
update_chain(chain_id, fc_ids, vnfs, symmetrical=False, auth_attr=None)
update_flow_classifier(fc_id, fc, symmetrical=False, auth_attr=None)
vim_status(*args, **kwargs)
tacker.nfvo.drivers.vim.openstack_driver.config_opts()