tacker.vnfm.infra_drivers.noop module¶
- class tacker.vnfm.infra_drivers.noop.VnfNoop¶
Bases:
VnfAbstractDriver
Noop driver of hosting vnf for tests.
- change_ext_conn_vnf(context, vnf_instance, vnf_dict, vim_connection_info, change_ext_conn_req)¶
Change external VNF connectivity
- Parameters:
context – A RequestContext
vnf_instance – tacker.objects.VnfInstance to be changed
vnf_dict
vim_connection_info – Credentials to initialize Vim connection
change_ext_conn_req – tacker.objects.ChangeExtconnRequest object containing parameters passed in the change_ext_conn request
- change_ext_conn_vnf_wait(context, vnf_instance, vim_connection_info)¶
Check vnf external connnectivity is changed successfully
- create(**kwargs)¶
Create vnf and return its id.
- create_wait(**kwargs)¶
wait for vnf creation to complete.
- delete(**kwargs)¶
- delete_vnf_instance_resource(context, vnf_instance, vim_connection_info, vnf_resource)¶
- delete_wait(**kwargs)¶
- get_description()¶
- get_name()¶
Return a symbolic name for the service VM plugin.
- get_resource_info(plugin, context, vnf_info, auth_attr, region_name=None)¶
Fetches optional details of a VNF
- get_type()¶
Return one of predefined type of the hosting vnf drivers.
- heal_vnf(context, vnf_instance, vim_connection_info, heal_vnf_request)¶
Heal vnf
- Parameters:
context – A RequestContext
vnf_instance – tacker.objects.VnfInstance to be healed
- Vim_info:
Credentials to initialize Vim connection
- Heal_vnf_request:
tacker.objects.HealVnfRequest object containing parameters passed in the heal request
- heal_vnf_wait(context, vnf_instance, vim_connection_info)¶
Check vnf is healed successfully
- instantiate_vnf(context, vnf_instance, vnfd_dict, vim_connection_info, instantiate_vnf_req, grant_response)¶
- post_change_ext_conn_vnf(context, vnf_instance, vim_connection_info)¶
Update resource information for each external VL/LINKPORT resources
- Parameters:
context – A RequestContext
vnf_instance – tacker.objects.VnfInstance to be changed
vim_connection_info – Credentials to initialize Vim connection
- post_heal_vnf(context, vnf_instance, vim_connection_info, heal_vnf_request)¶
Update resource_id for each vnfc resources
- Parameters:
context – A RequestContext
vnf_instance – tacker.objects.VnfInstance to be healed
- Vim_info:
Credentials to initialize Vim connection
- Heal_vnf_request:
tacker.objects.HealVnfRequest object containing parameters passed in the heal request
- post_vnf_instantiation(context, vnf_instance, vim_connection_info, instantiate_vnf_req)¶
- pre_instantiation_vnf(context, vnf_instance, vim_connection_info, image_data)¶
Create resources required for instantiating Vnf.
- Parameters:
context – A RequestContext
vnf_instance – Object tacker.objects.VnfInstance
- Vim_info:
Credentials to initialize Vim connection
- Vnf_software_images:
Dict of key:value pair, <VDU/Storage node name>:tacker.objects.VnfSoftwareImage.
- update(**kwargs)¶
- update_wait(**kwargs)¶