tacker.api.views.vnf_lcm module¶
- class tacker.api.views.vnf_lcm.ViewBuilder¶
Bases:
BaseViewBuilder
- FLATTEN_ATTRIBUTES = {'id': ('id', 'uuid', 'VnfInstance'), 'instantiatedInfo/additionalParams/*': ('additional_params', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extCpInfo/*': ('ext_cp_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extManagedVirtualLinkInfo/*': ('ext_managed_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extVirtualLinkInfo/*': ('ext_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/flavourId': ('id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/instanceId': ('instance_id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/instantiationLevelId': ('instantiation_level_id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/virtualStorageResourceInfo/*': ('virtual_storage_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfInstanceId': ('vnf_instance_id', 'uuid', 'VnfInstantiatedInfo'), 'instantiatedInfo/vnfState': ('vnf_state', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/vnfVirtualLinkResourceInfo/*': ('vnf_virtual_link_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfcInfo/*': ('vnfc_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfcResourceInfo/*': ('vnfc_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiationState': ('instantiation_state', 'string', 'VnfInstance'), 'metadata/*': ('vnf_metadata', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstance', 'value_column': 'value'}), 'taskState': ('task_state', 'string', 'VnfInstance'), 'tenantId': ('tenant_id', 'string', 'VnfInstance'), 'vimConnectionInfo/*': ('vim_connection_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstance', 'value_column': 'value'}), 'vnfInstanceDescription': ('vnf_instance_description', 'string', 'VnfInstance'), 'vnfInstanceName': ('vnf_instance_name', 'string', 'VnfInstance'), 'vnfPkgId': ('vnf_pkg_id', 'uuid', 'VnfInstance'), 'vnfProductName': ('vnf_product_name', 'string', 'VnfInstance'), 'vnfProvider': ('vnf_provider', 'string', 'VnfInstance'), 'vnfSoftwareVersion': ('vnf_software_version', 'string', 'VnfInstance'), 'vnfdId': ('vnfd_id', 'string', 'VnfInstance'), 'vnfdVersion': ('vnfd_version', 'string', 'VnfInstance')}¶
- create(vnf_instance)¶
- index(vnf_instances)¶
- show(vnf_instance)¶
- show_lcm_op_occs(vnf_lcm_op_occs)¶
- subscription_create(vnf_lcm_subscription, filter)¶
- subscription_list(vnf_lcm_subscriptions, nextpage_opaque_marker, paging)¶
- subscription_show(vnf_lcm_subscriptions)¶