The tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver Module

The tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver Module

class tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver.Kubernetes

Bases: tacker.vnfm.infra_drivers.abstract_driver.DeviceAbstractDriver, tacker.vnfm.infra_drivers.scale_driver.VnfScaleAbstractDriver

Kubernetes infra driver for hosting containerized vnfs

clean_authenticate_vim(vim_auth, file_descriptor)
create(*args, **kwargs)
create_wait(plugin, context, vnf_dict, vnf_id, auth_attr)

Create wait function

Create wait function will marked VNF is ACTIVE when all status state from Pod objects is RUNNING.

delete(plugin, context, vnf_id, auth_attr, region_name=None)

Delete function

delete_wait(plugin, context, vnf_id, auth_attr, region_name=None)

Delete wait function

This function is used to checking a containerized VNF is deleted completely or not. We do it by get information of Kubernetes objects. When Tacker can not get any information about service, the VNF will be marked as deleted.

get_description()
get_name()
get_resource_info(*args, **kwargs)
get_type()
scale(*args, **kwargs)
scale_wait(context, plugin, auth_attr, policy, region_name, last_event_id)

Scale wait function

Scale wait function will marked VNF is ACTIVE when all status state from Pod objects is RUNNING.

update(*args, **kwargs)
update_wait(*args, **kwargs)
tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver.config_opts()
tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver.get_scaling_policy_name(action, policy_name)
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.