apmec.extensions.meo
Module¶apmec.extensions.meo.
ClassifierInUse
(**kwargs)¶Bases: apmec.common.exceptions.InUse
message
= u'Classifier %(classifier_id)s is still in use'¶apmec.extensions.meo.
ClassifierNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Classifier %(classifier_id)s could not be found'¶apmec.extensions.meo.
MEOPluginBase
¶Bases: apmec.services.service_base.MECPluginBase
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 apmec/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)¶apmec.extensions.meo.
MESDInUse
(**kwargs)¶Bases: apmec.common.exceptions.InUse
message
= u'MESD %(mesd_id)s is still in use'¶apmec.extensions.meo.
MESInUse
(**kwargs)¶Bases: apmec.common.exceptions.InUse
message
= u'MES %(mes_id)s is still in use'¶apmec.extensions.meo.
Meo
¶Bases: apmec.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.
apmec.extensions.meo.
NfpAttributeNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'NFP attribute %(attribute)s could not be found'¶apmec.extensions.meo.
NfpForwarderNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'MEAD Forwarder %(mead)s not found in MEA Mapping %(mapping)s'¶apmec.extensions.meo.
NfpInUse
(**kwargs)¶Bases: apmec.common.exceptions.InUse
message
= u'NFP %(nfp_id)s is still in use'¶apmec.extensions.meo.
NfpNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'NFP %(nfp_id)s could not be found'¶apmec.extensions.meo.
NfpPolicyCriteriaError
(**kwargs)¶Bases: apmec.common.exceptions.PolicyCheckError
message
= u'%(error)s in policy'¶apmec.extensions.meo.
NfpPolicyNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Policy not found in NFP %(nfp)s'¶apmec.extensions.meo.
NfpPolicyTypeError
(**kwargs)¶Bases: apmec.common.exceptions.PolicyCheckError
message
= u'Unsupported Policy Type: %(type)s'¶apmec.extensions.meo.
NfpRequirementsException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'MEAD Forwarder %(mead)s specified more than twice in requirements path'¶apmec.extensions.meo.
NfyCpNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Specified CP %(cp_id)s could not be found in MEA %(mea_id)s.'¶apmec.extensions.meo.
NfyInvalidMappingException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Matching MEA Instance for MEAD %(mead_name)s could not be found. Please create an instance of this MEAD before creating/updating NFY.'¶apmec.extensions.meo.
NfyMeaNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Specified MEA instance %(mea_name)s in MEA Mapping could not be found'¶apmec.extensions.meo.
NfyParamValueFormatError
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Param values %(param_value)s is not in dict format.'¶apmec.extensions.meo.
NfyParamValueNotUsed
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Param input %(param_key)s not used.'¶apmec.extensions.meo.
NfydCpNoForwardingException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Specified CP %(cp_id)s in MEAD %(mead_name)s does not have forwarding capability, which is required to be included in forwarding path'¶apmec.extensions.meo.
NfydCpNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Specified CP %(cp_id)s could not be found in MEAD %(mead_name)s. Please check MEAD for correct Connection Point.'¶apmec.extensions.meo.
NfydDuplicateCPException
(**kwargs)¶Bases: apmec.common.exceptions.InvalidInput
message
= u'Invalid Forwarding Path contains duplicate connection point : %(cp)s'¶apmec.extensions.meo.
NfydDuplicateForwarderException
(**kwargs)¶Bases: apmec.common.exceptions.InvalidInput
message
= u'Invalid Forwarding Path contains duplicate forwarder not in order: %(forwarder)s'¶apmec.extensions.meo.
NfydInvalidTemplate
(**kwargs)¶Bases: apmec.common.exceptions.InvalidInput
message
= u'Invalid NFY template input: %(template)s'¶apmec.extensions.meo.
NfydWrongEndpointNumber
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Specified number_of_endpoints %(number)s is not equal to the number of connection_point %(cps)s'¶apmec.extensions.meo.
NoTasksException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'No tasks to run for %(action)s on %(resource)s'¶apmec.extensions.meo.
SfcInUse
(**kwargs)¶Bases: apmec.common.exceptions.InUse
message
= u'SFC %(sfc_id)s is still in use'¶apmec.extensions.meo.
SfcNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'Service Function Chain %(sfc_id)s could not be found'¶apmec.extensions.meo.
ToscaParserFailed
(**kwargs)¶Bases: apmec.common.exceptions.InvalidInput
message
= u'tosca-parser failed: - %(error_msg_details)s'¶apmec.extensions.meo.
VimConnectionException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'%(message)s'¶apmec.extensions.meo.
VimDefaultDuplicateException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Default VIM already exists %(vim_id)s.'¶apmec.extensions.meo.
VimDefaultNotDefined
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Default VIM is not defined.'¶apmec.extensions.meo.
VimFromMeaNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.NotFound
message
= u'VIM from MEA %(mea_id)s could not be found'¶apmec.extensions.meo.
VimGetResourceException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Error while trying to issue %(cmd)s to find resource type %(type)s by resource name %(name)s'¶apmec.extensions.meo.
VimGetResourceNameNotUnique
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Getting resource id from VIM with resource name %(name)s by %(cmd)s returns more than one'¶apmec.extensions.meo.
VimGetResourceNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Getting resource id from VIM with resource name %(name)s by %(cmd)s returns nothing'¶apmec.extensions.meo.
VimInUseException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'VIM %(vim_id)s is still in use by MEA'¶apmec.extensions.meo.
VimKeyNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Unable to find key file for VIM %(vim_id)s'¶apmec.extensions.meo.
VimNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Specified VIM id %(vim_id)s is invalid. Please verify and pass a valid VIM id'¶apmec.extensions.meo.
VimRegionNotFoundException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Unknown VIM region name %(region_name)s'¶apmec.extensions.meo.
VimUnsupportedResourceTypeException
(**kwargs)¶Bases: apmec.common.exceptions.ApmecException
message
= u'Resource type %(type)s is unsupported by VIM'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.