Merge "Cinder volume attachment attributes should not be cached"

This commit is contained in:
Jenkins 2017-07-18 10:55:59 +00:00 committed by Gerrit Code Review
commit 17b9aae558
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,7 @@ class CinderVolume(vb.BaseVolume, sh.SchedulerHintsMixin):
_('A string representation of the list of attachments of the '
'volume.'),
type=attributes.Schema.STRING,
cache_mode=attributes.Schema.CACHE_NONE,
support_status=support.SupportStatus(
status=support.DEPRECATED,
message=_('Use property %s.') % ATTACHMENTS_LIST,
@ -236,6 +237,7 @@ class CinderVolume(vb.BaseVolume, sh.SchedulerHintsMixin):
ATTACHMENTS_LIST: attributes.Schema(
_('The list of attachments of the volume.'),
type=attributes.Schema.LIST,
cache_mode=attributes.Schema.CACHE_NONE,
support_status=support.SupportStatus(version='9.0.0'),
),
MULTI_ATTACH_ATTR: attributes.Schema(