tacker.extensions.vnfm.
CpuAllocationInvalidKeys
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Invalid keys specified in VNFD - %(error_msg_details)s.Supported keys are: %(valid_keys)s'¶tacker.extensions.vnfm.
CpuAllocationInvalidValues
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Invalid values specified in VNFD - %(error_msg_details)s.Supported Values are: %(valid_values)s'¶tacker.extensions.vnfm.
FilePathMissing
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u"'file' attribute is missing for tosca.artifacts.Deployment.Image.VM artifact type"¶tacker.extensions.vnfm.
HeatClientException
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(msg)s'¶tacker.extensions.vnfm.
HeatTranslatorFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'heat-translator failed: - %(error_msg_details)s'¶tacker.extensions.vnfm.
HugePageSizeInvalidInput
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u"Value specified for mem_page_size is invalid: %(error_msg_details)s. The valid values are 'small', 'large', 'any' or an integer value in MB"¶tacker.extensions.vnfm.
IPAddrInvalidInput
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'IP Address input values should be in a list format'¶tacker.extensions.vnfm.
InfraDriverUnreachable
(message=None, **kwargs)¶Bases: tacker.common.exceptions.ServiceUnavailable
message
= u'Could not retrieve VNF resource IDs and types. Please check %(service)s status.'¶tacker.extensions.vnfm.
InvalidAPIAttributeType
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Expecting dict type for API attribute instead of %(atype)s '¶tacker.extensions.vnfm.
InvalidInfraDriver
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'VIM type %(vim_name)s is not supported as an infra driver'¶tacker.extensions.vnfm.
InvalidKubernetesInputParameter
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Found unsupported keys for %(found_keys)s '¶tacker.extensions.vnfm.
InvalidKubernetesNetworkNumber
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Please provide one network for all vdus'¶tacker.extensions.vnfm.
InvalidKubernetesScalingPolicyNumber
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Please provide only one Scaling policy'¶tacker.extensions.vnfm.
InvalidMgmtDriver
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Invalid Mgmt driver %(mgmt_driver_name)s.'¶tacker.extensions.vnfm.
InvalidParamsForSM
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Please provide parameters for substitution mappings'¶tacker.extensions.vnfm.
InvalidResourceType
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Resource type %(resource_type)s for alarm policy is not supported'¶tacker.extensions.vnfm.
InvalidSubstitutionMapping
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Input for substitution mapping requirements are not valid for %(requirement)s. They must be in the form of list with two entries'¶tacker.extensions.vnfm.
MetadataNotMatched
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Metadata for alarm policy is not matched'¶tacker.extensions.vnfm.
MultipleMGMTDriversSpecified
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'More than one MGMT Driver per vnfd is not supported'¶tacker.extensions.vnfm.
NumaNodesInvalidKeys
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Invalid keys specified in VNFD - %(error_msg_details)s.Supported keys are: %(valid_keys)s'¶tacker.extensions.vnfm.
ParamYAMLNotWellFormed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'Parameter YAML not well formed - %(error_msg_details)s'¶tacker.extensions.vnfm.
SMRequirementMissing
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'All the requirements for substitution_mappings are not provided. Missing requirement for %(requirement)s'¶tacker.extensions.vnfm.
ServiceTypeNotFound
(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'service type %(service_type_id)s could not be found'¶tacker.extensions.vnfm.
ServiceTypesNotSpecified
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'service types are not specified'¶tacker.extensions.vnfm.
ToscaParserFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'tosca-parser failed: - %(error_msg_details)s'¶tacker.extensions.vnfm.
VNFCreateFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'creating VNF based on %(vnfd_id)s failed'¶tacker.extensions.vnfm.
VNFCreateWaitFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF Create %(reason)s'¶tacker.extensions.vnfm.
VNFDInUse
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InUse
message
= u'VNFD %(vnfd_id)s is still in use'¶tacker.extensions.vnfm.
VNFDNotFound
(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'VNFD %(vnfd_id)s could not be found'¶tacker.extensions.vnfm.
VNFDeleteFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(reason)s'¶tacker.extensions.vnfm.
VNFDeleteWaitFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF Delete %(reason)s'¶tacker.extensions.vnfm.
VNFHealFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF %(vnf_id)s failed to heal'¶tacker.extensions.vnfm.
VNFHealWaitFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF Heal %(reason)s'¶tacker.extensions.vnfm.
VNFInUse
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InUse
message
= u'VNF %(vnf_id)s is still in use'¶tacker.extensions.vnfm.
VNFInactive
(message=None, **kwargs)¶Bases: tacker.common.exceptions.InvalidInput
message
= u'VNF %(vnf_id)s is not in Active state: %(message)s'¶tacker.extensions.vnfm.
VNFMPluginBase
¶Bases: tacker.services.service_base.NFVPluginBase
create_vnf
(context, vnf)¶create_vnf_scale
(context, vnf_id, scale)¶create_vnf_trigger
(context, vnf_id, trigger)¶create_vnfd
(context, vnfd)¶delete_vnf
(context, vnf_id)¶delete_vnfd
(context, vnfd_id)¶get_plugin_description
()¶Return string description of the plugin.
get_plugin_name
()¶Return a symbolic name for the plugin.
Each service plugin should have a symbolic name. This name will be used, for instance, by service definitions in service types
get_plugin_type
()¶Return one of predefined service types.
See tacker/plugins/common/constants.py
get_vnf
(context, vnf_id, fields=None)¶get_vnf_resources
(context, vnf_id, fields=None, filters=None)¶get_vnfd
(context, vnfd_id, fields=None)¶get_vnfds
(context, filters=None, fields=None)¶get_vnfs
(context, filters=None, fields=None)¶update_vnf
(context, vnf_id, vnf)¶tacker.extensions.vnfm.
VNFNotFound
(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'VNF %(vnf_id)s could not be found'¶tacker.extensions.vnfm.
VNFScaleWaitFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(reason)s'¶tacker.extensions.vnfm.
VNFUpdateWaitFailed
(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF Update %(reason)s'¶tacker.extensions.vnfm.
Vnfm
¶Bases: tacker.api.extensions.ExtensionDescriptor
get_alias
()¶The alias for the extension.
e.g. ‘FOXNSOX’
get_description
()¶Friendly description for the extension.
e.g. ‘The Fox In Socks Extension’
get_extended_resources
(version)¶Retrieve extended resources or attributes for core resources.
Extended attributes are implemented by a core plugin similarly to the attributes defined in the core, and can appear in request and response messages. Their names are scoped with the extension’s prefix. The core API version is passed to this function, which must return a map[<resource_name>][<attribute_name>][<attribute_property>] specifying the extended resource attribute properties required by that API version.
Extension can add resources and their attr definitions too. The returned map can be integrated into RESOURCE_ATTRIBUTE_MAP.
get_name
()¶The name of the extension.
e.g. ‘Fox In Socks’
get_namespace
()¶The XML namespace for the extension.
get_plugin_interface
()¶Returns an abstract class which defines contract for the plugin.
The abstract class should inherit from extesnions.PluginInterface, Methods in this abstract class should be decorated as abstractmethod
get_resources
()¶List of extensions.ResourceExtension extension objects.
Resources define new nouns, and are accessible through URLs.
get_updated
()¶The timestamp when the extension was last updated.
e.g. ‘2011-01-22T13:25:27-06:00’
update_attributes_map
(attributes)¶Update attributes map for this extension.
This is default method for extending an extension’s attributes map. An extension can use this method and supplying its own resource attribute map in extension_attrs_map argument to extend all its attributes that needs to be extended.
If an extension does not implement update_attributes_map, the method does nothing and just return.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.