tacker.nfvo.drivers.vim.openstack_driver module

tacker.nfvo.drivers.vim.openstack_driver module

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_show(fc_id)
flow_classifier_update(fc_id, update_fc)
port_chain_create(port_chain_dict)
port_chain_delete(port_chain_id)
port_chain_list()
port_chain_show(port_chain_id)
port_chain_update(port_chain_id, port_chain)
port_pair_create(port_pair_dict)
port_pair_delete(port_pair_id)
port_pair_group_create(ppg_dict)
port_pair_group_delete(ppg_id)
port_pair_group_list()
port_pair_group_show(ppg_id)
port_pair_list()
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, path_id, fc_ids, vnfs, symmetrical=False, correlation='mpls', auth_attr=None)

Create service function chain and returns an ID

create_flow_classifier(name, fc, auth_attr=None)

Create flow classifier and returns an ID

delete_chain(chain_id, auth_attr=None)

Delete service function chain

delete_execution(execution_id, auth_dict=None)
delete_flow_classifier(fc_id, auth_attr=None)

Delete flow classifier

delete_vim_auth(**kwargs)
delete_workflow(workflow_id, auth_dict=None)
deregister_vim(**kwargs)
discover_placement_attr(vim_obj, ks_client)

Fetch VIM placement information

Attributes can include regions, AZ.

encode_vim_auth(**kwargs)
execute_workflow(workflow, auth_dict=None)
get_description()
get_execution(execution_id, auth_dict=None)
get_mistral_client(auth_dict)
get_name()

Get VIM name

Return a symbolic name for the VIM driver.

get_type()

Get VIM Driver type

Return one of predefined types of VIMs.

get_vim_resource_id(**kwargs)
prepare_and_create_workflow(resource, action, kwargs, auth_dict=None)
register_vim(**kwargs)
remove_and_delete_flow_classifiers(chain_id, fc_ids, auth_attr=None)
update_chain(chain_id, fc_ids, vnfs, symmetrical=None, auth_attr=None)

Update service function chain

update_flow_classifier(chain_id, fc, auth_attr=None)

Update flow classifier

valid_port_in_use(ingress, egress, pps_list, ppgs_list)
valid_ppg_for_multiple_chain(ppg_id, pcs_list)
tacker.nfvo.drivers.vim.openstack_driver.config_opts()
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.