tacker.nfvo.drivers.vim.abstract_vim_driver module¶
- class tacker.nfvo.drivers.vim.abstract_vim_driver.VimAbstractDriver¶
Bases:
PluginInterface
- abstract authenticate_vim(vim_obj)¶
Authenticate VIM connection parameters
Validate authentication credentials and connectivity of VIM
- abstract delete_vim_auth(vim_id, auth)¶
Delete VIM auth keys
Delete VIM sensitive information such as keys from file system or DB
- abstract deregister_vim(vim_obj)¶
Deregister VIM object from NFVO plugin
Cleanup VIM data and delete VIM information
- abstract encode_vim_auth(vim_id, auth)¶
Encrypt VIM credentials
Encrypt and store VIM sensitive information such as password
- abstract get_description()¶
- abstract get_name()¶
Get VIM name
Return a symbolic name for the VIM driver.
- abstract get_type()¶
Get VIM Driver type
Return one of predefined types of VIMs.
- abstract get_vim_resource_id(vim_obj, resource_type, resource_name)¶
Parses a VIM resource ID from a given type and name
- Parameters:
vim_obj – VIM information
resource_type – type of resource, such as network, compute
resource_name – name of resource, such at “test-network”
- Returns:
ID of resource
- abstract register_vim(vim_obj)¶
Register VIM object in to NFVO plugin
Validate, encode and store VIM information for deploying VNFs.