summaryrefslogtreecommitdiff
path: root/heat
diff options
context:
space:
mode:
authorhuangtianhua <huangtianhua@huawei.com>2017-07-07 12:30:25 +0800
committerZane Bitter <zbitter@redhat.com>2020-02-19 19:42:45 +0000
commitfc57076d3c80dab3c4e1059b453f85d46af1b774 (patch)
treef443b0b23c9adc7f1c0fa92f540162cb5969cf8a /heat
parent28ce9f3ad42e1a4713dea845bcc4bdc5a6d08fb9 (diff)
downloadheat-fc57076d3c80dab3c4e1059b453f85d46af1b774.tar.gz
Deprecate 'accessIPv4'/'accessIPv6' attributes
Nova now return these two attributes with empty value, deprecated them. Change-Id: Id176d8cbc332cb02ff4f1523993ee5b232e0aa15
Diffstat (limited to 'heat')
-rw-r--r--heat/engine/resources/openstack/nova/server.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/heat/engine/resources/openstack/nova/server.py b/heat/engine/resources/openstack/nova/server.py
index 9d9b2df2f..405df9f55 100644
--- a/heat/engine/resources/openstack/nova/server.py
+++ b/heat/engine/resources/openstack/nova/server.py
@@ -703,12 +703,20 @@ class Server(server_base.BaseServer, sh.SchedulerHintsMixin,
ACCESSIPV4: attributes.Schema(
_('The manually assigned alternative public IPv4 address '
'of the server.'),
- type=attributes.Schema.STRING
+ type=attributes.Schema.STRING,
+ support_status=support.SupportStatus(
+ status=support.DEPRECATED,
+ version='14.0.0',
+ previous_status=support.SupportStatus(version='2015.1')),
),
ACCESSIPV6: attributes.Schema(
_('The manually assigned alternative public IPv6 address '
'of the server.'),
- type=attributes.Schema.STRING
+ type=attributes.Schema.STRING,
+ support_status=support.SupportStatus(
+ status=support.DEPRECATED,
+ version='14.0.0',
+ previous_status=support.SupportStatus(version='2015.1'))
),
CONSOLE_URLS: attributes.Schema(
_("URLs of server's consoles. "