Merge "Deprecate OS::Glance::Image"

This commit is contained in:
Jenkins 2017-01-13 07:50:04 +00:00 committed by Gerrit Code Review
commit 0e261be2fa
2 changed files with 8 additions and 1 deletions

View File

@ -26,7 +26,13 @@ class GlanceImage(resource.Resource):
services.
"""
support_status = support.SupportStatus(version='2014.2')
support_status = support.SupportStatus(
status=support.DEPRECATED,
version='8.0.0',
message=_('Creating a Glance Image based on an existing URL location '
'requires the Glance v1 API, which is deprecated.'),
previous_status=support.SupportStatus(version='2014.2')
)
PROPERTIES = (
NAME, IMAGE_ID, IS_PUBLIC, MIN_DISK, MIN_RAM, PROTECTED,

View File

@ -50,6 +50,7 @@ class ResourceTypeTest(common.HeatTestCase):
'OS::Neutron::LoadBalancer',
'OS::Neutron::Pool',
'OS::Neutron::PoolMember',
'OS::Glance::Image',
'OS::Aodh::CombinationAlarm']),
set(resources))