"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/message/message_field.py" between
manila-8.1.2.tar.gz and manila-8.1.3.tar.gz

About: OpenStack Manila provides “Shared Filesystems as a service”.
The "Stein" series (maintained release).

message_field.py  (manila-8.1.2):message_field.py  (manila-8.1.3)
skipping to change at line 32 skipping to change at line 32
class Action(object): class Action(object):
ALLOCATE_HOST = ('001', _('allocate host')) ALLOCATE_HOST = ('001', _('allocate host'))
CREATE = ('002', _('create')) CREATE = ('002', _('create'))
DELETE_ACCESS_RULES = ('003', _('delete access rules')) DELETE_ACCESS_RULES = ('003', _('delete access rules'))
PROMOTE = ('004', _('promote')) PROMOTE = ('004', _('promote'))
UPDATE = ('005', _('update')) UPDATE = ('005', _('update'))
REVERT_TO_SNAPSHOT = ('006', _('revert to snapshot')) REVERT_TO_SNAPSHOT = ('006', _('revert to snapshot'))
DELETE = ('007', _('delete')) DELETE = ('007', _('delete'))
EXTEND = ('008', _('extend'))
ALL = (ALLOCATE_HOST, ALL = (ALLOCATE_HOST,
CREATE, CREATE,
DELETE_ACCESS_RULES, DELETE_ACCESS_RULES,
PROMOTE, PROMOTE,
UPDATE, UPDATE,
REVERT_TO_SNAPSHOT, REVERT_TO_SNAPSHOT,
DELETE) DELETE,
EXTEND)
class Detail(object): class Detail(object):
UNKNOWN_ERROR = ('001', _('An unknown error occurred.')) UNKNOWN_ERROR = ('001', _('An unknown error occurred.'))
NO_VALID_HOST = ( NO_VALID_HOST = (
'002', _("No storage could be allocated for this share request. " '002', _("No storage could be allocated for this share request. "
"Trying again with a different size or share type may " "Trying again with a different size or share type may "
"succeed.")) "succeed."))
UNEXPECTED_NETWORK = ( UNEXPECTED_NETWORK = (
'003', _("Driver does not expect share-network to be provided with " '003', _("Driver does not expect share-network to be provided with "
skipping to change at line 72 skipping to change at line 74
FILTER_MSG = _("No storage could be allocated for this share request, " FILTER_MSG = _("No storage could be allocated for this share request, "
"%s filter didn't succeed.") "%s filter didn't succeed.")
FILTER_AVAILABILITY = ('007', FILTER_MSG % 'AvailabilityZone') FILTER_AVAILABILITY = ('007', FILTER_MSG % 'AvailabilityZone')
FILTER_CAPABILITIES = ('008', FILTER_MSG % 'Capabilities') FILTER_CAPABILITIES = ('008', FILTER_MSG % 'Capabilities')
FILTER_CAPACITY = ('009', FILTER_MSG % 'Capacity') FILTER_CAPACITY = ('009', FILTER_MSG % 'Capacity')
FILTER_DRIVER = ('010', FILTER_MSG % 'Driver') FILTER_DRIVER = ('010', FILTER_MSG % 'Driver')
FILTER_IGNORE = ('011', FILTER_MSG % 'IgnoreAttemptedHosts') FILTER_IGNORE = ('011', FILTER_MSG % 'IgnoreAttemptedHosts')
FILTER_JSON = ('012', FILTER_MSG % 'Json') FILTER_JSON = ('012', FILTER_MSG % 'Json')
FILTER_RETRY = ('013', FILTER_MSG % 'Retry') FILTER_RETRY = ('013', FILTER_MSG % 'Retry')
FILTER_REPLICATION = ('014', FILTER_MSG % 'ShareReplication') FILTER_REPLICATION = ('014', FILTER_MSG % 'ShareReplication')
DRIVER_FAILED_EXTEND = (
'015',
_("Share Driver failed to extend share, The share status has been "
"set to extending_error. This action cannot be re-attempted until "
"the status has been rectified. Contact your administrator to "
"determine the cause of this failure."))
ALL = (UNKNOWN_ERROR, ALL = (UNKNOWN_ERROR,
NO_VALID_HOST, NO_VALID_HOST,
UNEXPECTED_NETWORK, UNEXPECTED_NETWORK,
NO_SHARE_SERVER, NO_SHARE_SERVER,
NO_ACTIVE_AVAILABLE_REPLICA, NO_ACTIVE_AVAILABLE_REPLICA,
NO_ACTIVE_REPLICA, NO_ACTIVE_REPLICA,
FILTER_AVAILABILITY, FILTER_AVAILABILITY,
FILTER_CAPABILITIES, FILTER_CAPABILITIES,
FILTER_CAPACITY, FILTER_CAPACITY,
FILTER_DRIVER, FILTER_DRIVER,
FILTER_IGNORE, FILTER_IGNORE,
FILTER_JSON, FILTER_JSON,
FILTER_RETRY, FILTER_RETRY,
FILTER_REPLICATION) FILTER_REPLICATION,
DRIVER_FAILED_EXTEND)
# Exception and detail mappings # Exception and detail mappings
EXCEPTION_DETAIL_MAPPINGS = { EXCEPTION_DETAIL_MAPPINGS = {
NO_VALID_HOST: ['NoValidHost'], NO_VALID_HOST: ['NoValidHost'],
} }
# Use special code for each filter rather then categorize all as # Use special code for each filter rather then categorize all as
# NO_VALID_HOST # NO_VALID_HOST
FILTER_DETAIL_MAPPINGS = { FILTER_DETAIL_MAPPINGS = {
'AvailabilityZoneFilter': FILTER_AVAILABILITY, 'AvailabilityZoneFilter': FILTER_AVAILABILITY,
 End of changes. 4 change blocks. 
2 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)