tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver module

tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver module

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

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

Kubernetes infra driver for hosting containerized vnfs

clean_authenticate_vim(vim_auth, file_descriptor)
create(**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()

Return a symbolic name for the service VM plugin.

get_resource_info(**kwargs)
get_type()

Return one of predefined type of the hosting vnf drivers.

heal_vdu(plugin, context, vnf_dict, heal_request_data)
scale(**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(**kwargs)
update_wait(**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.