Deprecate configurable Hide Server Address Feature

This commit deprecates the config option and policy
for hide server address. They are marked for removal.

Implement blueprint remove-configurable-hide-server-address-feature

Depends-On: I6aed4909b0e7efe9c95d1f7398db613eca05e5ce
Change-Id: I6040e8c2b3e132b0dfd09f82ae041b4786a63483
This commit is contained in:
ghanshyam 2017-12-07 10:12:35 +03:00 committed by Ghanshyam Mann
parent 6c043b7ea6
commit fd0c8fd17d

View File

@ -283,6 +283,14 @@ osapi_hide_opts = [
default=[BUILDING],
deprecated_group="DEFAULT",
deprecated_name="osapi_hide_server_address_states",
deprecated_for_removal=True,
deprecated_since="17.0.0",
deprecated_reason="This option hide the server address in server "
"representation for configured server states. "
"Which makes GET server API controlled by this "
"config options. Due to this config options, user "
"would not be able to discover the API behavior on "
"different clouds which leads to the interop issue.",
help="""
This option is a list of all instance states for which network address
information should not be returned from the API.