Merge "Deprecate 'accessIPv4'/'accessIPv6' attributes"

This commit is contained in:
Zuul 2020-02-19 23:35:15 +00:00 committed by Gerrit Code Review
commit 786c12000b
2 changed files with 17 additions and 2 deletions

View File

@ -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. "

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The ``accessIPv4`` and ``accessIPv6`` attributes of the
``OS::Nova::Server`` resource are now deprecated, since Nova returns empty
values for them. Use the ``addresses`` attribute instead to get IP
addresses.