Merge "Deprecate 'accessIPv4'/'accessIPv6' attributes"
This commit is contained in:
commit
786c12000b
|
@ -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. "
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue