tacker.nfvo.drivers.vim.abstract_vim_driver module

class tacker.nfvo.drivers.vim.abstract_vim_driver.VimAbstractDriver

Bases: PluginInterface

abstractmethod authenticate_vim(vim_obj)

Authenticate VIM connection parameters

Validate authentication credentials and connectivity of VIM

abstractmethod delete_vim_auth(vim_id, auth)

Delete VIM auth keys

Delete VIM sensitive information such as keys from file system or DB

abstractmethod deregister_vim(vim_obj)

Deregister VIM object from NFVO plugin

Cleanup VIM data and delete VIM information

abstractmethod encode_vim_auth(vim_id, auth)

Encrypt VIM credentials

Encrypt and store VIM sensitive information such as password

abstractmethod get_description()
abstractmethod get_name()

Get VIM name

Return a symbolic name for the VIM driver.

abstractmethod get_type()

Get VIM Driver type

Return one of predefined types of VIMs.

abstractmethod 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

abstractmethod register_vim(vim_obj)

Register VIM object in to NFVO plugin

Validate, encode and store VIM information for deploying VNFs.