tacker.extensions.nfvo module

tacker.extensions.nfvo module

exception tacker.extensions.nfvo.ClassifierInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'Classifier %(classifier_id)s is still in use'
exception tacker.extensions.nfvo.ClassifierNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Classifier %(classifier_id)s could not be found'
exception tacker.extensions.nfvo.CreateChainException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.FlowClassiferCreationFailed(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
class tacker.extensions.nfvo.NFVOPluginBase

Bases: tacker.services.service_base.NFVPluginBase

create_vim(context, vim)
delete_vim(context, vim_id)
get_default_vim(context)
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_vim(context, vim_id, fields=None, mask_password=True)
get_vim_by_name(context, vim_name, fields=None, mask_password=True)
get_vims(context, filters=None, fields=None)
update_vim(context, vim_id, vim)
exception tacker.extensions.nfvo.NSDInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'NSD %(nsd_id)s is still in use'
exception tacker.extensions.nfvo.NSInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'NS %(ns_id)s is still in use'
exception tacker.extensions.nfvo.NfpAttributeNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'NFP attribute %(attribute)s could not be found'
exception tacker.extensions.nfvo.NfpDuplicatePathID(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'The path_id %(path_id)s is overlapped with NFP %(nfp_name)s in %(vnffg_name)s'
exception tacker.extensions.nfvo.NfpDuplicatePolicyCriteria(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'The %(first_dict)s and %(sec_dict)s are overlapped'
exception tacker.extensions.nfvo.NfpForwarderNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VNFD Forwarder %(vnfd)s not found in VNF Mapping %(mapping)s'
exception tacker.extensions.nfvo.NfpInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'NFP %(nfp_id)s is still in use'
exception tacker.extensions.nfvo.NfpNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'NFP %(nfp_id)s could not be found'
exception tacker.extensions.nfvo.NfpPolicyCriteriaError(**kwargs)

Bases: tacker.common.exceptions.PolicyCheckError

message = u'%(error)s in policy'
exception tacker.extensions.nfvo.NfpPolicyCriteriaIndexError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Criteria list can not be empty'
exception tacker.extensions.nfvo.NfpPolicyTypeError(**kwargs)

Bases: tacker.common.exceptions.PolicyCheckError

message = u'Unsupported Policy Type: %(type)s'
exception tacker.extensions.nfvo.NfpRequirementsException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'VNFD Forwarder %(vnfd)s specified more than twice in requirements path'
class tacker.extensions.nfvo.Nfvo

Bases: tacker.api.extensions.ExtensionDescriptor

classmethod get_alias()

The alias for the extension.

e.g. ‘FOXNSOX’

classmethod 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.

classmethod get_name()

The name of the extension.

e.g. ‘Fox In Socks’

classmethod get_namespace()

The XML namespace for the extension.

e.g. ‘http://www.fox.in.socks/api/ext/pie/v1.0

classmethod 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

classmethod get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

classmethod 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.

exception tacker.extensions.nfvo.NoTasksException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'No tasks to run for %(action)s on %(resource)s'
exception tacker.extensions.nfvo.SfcInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'SFC %(sfc_id)s is still in use'
exception tacker.extensions.nfvo.SfcNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Service Function Chain %(sfc_id)s could not be found'
exception tacker.extensions.nfvo.ToscaParserFailed(**kwargs)

Bases: tacker.common.exceptions.InvalidInput

message = u'tosca-parser failed: - %(error_msg_details)s'
exception tacker.extensions.nfvo.UpdateChainException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.UpdateClassifierException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.UpdateVnffgException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.VimConnectionException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.VimDefaultDuplicateException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Default VIM already exists %(vim_id)s.'
exception tacker.extensions.nfvo.VimDefaultNotDefined(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Default VIM is not defined.'
exception tacker.extensions.nfvo.VimEncryptKeyError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Barbican must be enabled for VIM %(vim_id)s'
exception tacker.extensions.nfvo.VimFromVnfNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VIM from VNF %(vnf_id)s could not be found'
exception tacker.extensions.nfvo.VimGetResourceException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Error while trying to issue %(cmd)s to find resource type %(type)s by resource name %(name)s'
exception tacker.extensions.nfvo.VimGetResourceNameNotUnique(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Getting resource id from VIM with resource name %(name)s by %(cmd)s returns more than one'
exception tacker.extensions.nfvo.VimGetResourceNotFoundException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Getting resource id from VIM with resource name %(name)s by %(cmd)s returns nothing'
exception tacker.extensions.nfvo.VimInUseException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'VIM %(vim_id)s is still in use by VNF'
exception tacker.extensions.nfvo.VimKeyNotFoundException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Unable to find key file for VIM %(vim_id)s'
exception tacker.extensions.nfvo.VimNotFoundException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Specified VIM id %(vim_id)s is invalid. Please verify and pass a valid VIM id'
exception tacker.extensions.nfvo.VimRegionNotFoundException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Unknown VIM region name %(region_name)s'
exception tacker.extensions.nfvo.VimUnauthorizedException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(message)s'
exception tacker.extensions.nfvo.VimUnsupportedResourceTypeException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Resource type %(type)s is unsupported by VIM'
exception tacker.extensions.nfvo.VnfMappingNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VNF mapping not found/defined'
exception tacker.extensions.nfvo.VnfMappingNotValidException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'The %(vnfd)s is not found in constituent VNFDs'
exception tacker.extensions.nfvo.VnffgCpNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Specified CP %(cp_id)s could not be found in VNF %(vnf_id)s.'
exception tacker.extensions.nfvo.VnffgCreateFailed(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Creating VNFFG based on %(vnffgd_id)s failed'
exception tacker.extensions.nfvo.VnffgDeleteFailed(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Deleting VNFFG %(vnffg_id)s failed'
exception tacker.extensions.nfvo.VnffgInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'VNFFG %(vnffg_id)s is still in use'
exception tacker.extensions.nfvo.VnffgInUseNS(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'VNFFG %(vnffg_id)s belongs to active network service %(ns_id)s'
exception tacker.extensions.nfvo.VnffgInvalidMappingException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Matching VNF Instance for VNFD %(vnfd_name)s could not be found. Please create an instance of this VNFD before creating/updating VNFFG.'
exception tacker.extensions.nfvo.VnffgNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VNFFG %(vnffg_id)s could not be found'
exception tacker.extensions.nfvo.VnffgParamValueFormatError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Param values %(param_value)s is not in dict format.'
exception tacker.extensions.nfvo.VnffgPropertyNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VNFFG Property %(vnffg_property)s could not be found'
exception tacker.extensions.nfvo.VnffgTemplateParamParsingException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Failed to parse VNFFG Template due to missing input param %(get_input)s.'
exception tacker.extensions.nfvo.VnffgVnfNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Specified VNF instance %(vnf_name)s in VNF Mapping could not be found'
exception tacker.extensions.nfvo.VnffgdCpNoForwardingException(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Specified CP %(cp_id)s in VNFD %(vnfd_name)s does not have forwarding capability, which is required to be included in forwarding path'
exception tacker.extensions.nfvo.VnffgdCpNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Specified CP %(cp_id)s could not be found in VNFD %(vnfd_name)s. Please check VNFD for correct Connection Point.'
exception tacker.extensions.nfvo.VnffgdDuplicateCPException(**kwargs)

Bases: tacker.common.exceptions.InvalidInput

message = u'Invalid Forwarding Path contains duplicate connection point : %(cp)s'
exception tacker.extensions.nfvo.VnffgdDuplicateForwarderException(**kwargs)

Bases: tacker.common.exceptions.InvalidInput

message = u'Invalid Forwarding Path contains duplicate forwarder not in order: %(forwarder)s'
exception tacker.extensions.nfvo.VnffgdInUse(**kwargs)

Bases: tacker.common.exceptions.InUse

message = u'VNFFGD %(vnffgd_id)s is still in use'
exception tacker.extensions.nfvo.VnffgdInvalidTemplate(**kwargs)

Bases: tacker.common.exceptions.InvalidInput

message = u'Invalid VNFFG template input: %(template)s'
exception tacker.extensions.nfvo.VnffgdNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'VNFFG Template %(vnffgd_id)s could not be found'
exception tacker.extensions.nfvo.VnffgdVnfdNotFoundException(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Specified VNFD %(vnfd_name)s in VNFFGD does not exist. Please create VNFDs before creating VNFFG'
exception tacker.extensions.nfvo.VnffgdWrongEndpointNumber(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Specified number_of_endpoints %(number)s is not equal to the number of connection_point %(cps)s'
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.