The 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_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, auth_dict=None)¶
-
delete_flow_classifier
(fc_id, auth_attr=None)¶
-
delete_vim_auth
(*args, **kwargs)¶
-
delete_workflow
(workflow_id, auth_dict=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, auth_dict=None)¶
-
get_description
()¶
-
get_execution
(execution_id, auth_dict=None)¶
-
get_mistral_client
(auth_dict)¶
-
get_name
()¶
-
get_type
()¶
-
get_vim_resource_id
(*args, **kwargs)¶
-
prepare_and_create_workflow
(resource, action, kwargs, auth_dict=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)¶
-
-
tacker.nfvo.drivers.vim.openstack_driver.
config_opts
()¶