neutron_lib.objects package

neutron_lib.objects package

Submodules

neutron_lib.objects.exceptions module

exception neutron_lib.objects.exceptions.NeutronDbObjectDuplicateEntry(object_class, db_exception)

Bases: neutron_lib.exceptions.Conflict

message = u'Failed to create a duplicate %(object_type)s: for attribute(s) %(attributes)s with value(s) %(values)s'
exception neutron_lib.objects.exceptions.NeutronDbObjectNotFoundByModel(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u'NeutronDbObject not found by model %(model)s.'
exception neutron_lib.objects.exceptions.NeutronObjectUpdateForbidden(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

message = u'Unable to update the following object fields: %(fields)s'
exception neutron_lib.objects.exceptions.NeutronObjectValidatorException(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

message = u'Synthetic field(s) %(fields)s undefined, misspelled, or otherwise invalid'
exception neutron_lib.objects.exceptions.NeutronPrimaryKeyMissing(object_class, missing_keys)

Bases: neutron_lib.exceptions.BadRequest

message = u'For class %(object_type)s missing primary keys: %(missing_keys)s'
exception neutron_lib.objects.exceptions.NeutronRangeConstrainedIntegerInvalidLimit(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

message = u'Incorrect range limits specified: start = %(start)s, end = %(end)s'
exception neutron_lib.objects.exceptions.NeutronSyntheticFieldMultipleForeignKeys(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

message = u"Synthetic field %(field)s shouldn't have more than one foreign key"
exception neutron_lib.objects.exceptions.NeutronSyntheticFieldsForeignKeysNotFound(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

message = u'%(child)s does not define a foreign key for %(parent)s'

Module contents

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.