tacker.nfvo.drivers.vim.kubernetes_driver module

class tacker.nfvo.drivers.vim.kubernetes_driver.Kubernetes_Driver

Bases: VimAbstractDriver

Driver for Kubernetes VIM

authenticate_vim(vim_obj)

Validate VIM auth attributes

clean_authenticate_vim(vim_auth, file_descriptor)
delete_vim_auth(**kwargs)

Delete VIM auth keys

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

deregister_vim(**kwargs)

Deregister VIM object from NFVO plugin

Cleanup VIM data and delete VIM information

discover_placement_attr(vim_obj)

Fetch VIM placement information

Attributes can include regions, AZ, namespaces.

encode_vim_auth(**kwargs)

Encrypt VIM credentials

Encrypt and store VIM sensitive information such as password

get_description()
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()

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

register_vim(**kwargs)

Register VIM object in to NFVO plugin

Validate, encode and store VIM information for deploying VNFs.

tacker.nfvo.drivers.vim.kubernetes_driver.config_opts()