Allow placement endpoint interface to be set

This patch exposes the "interface" option for ks_filter to allow
the placement API to be connected on a specific endpoint interface.

The previous was to force "public", which is default for keystoneauth.
The default for the placement service mirrors this value.

Change-Id: Ic996e596f8473c0b8626e8d0e92e1bf58044b4f8
This commit is contained in:
Andy McCrae 2017-01-27 10:54:02 +00:00 committed by Andy McCrae
parent 9e94a4a3ed
commit bae8f5b1c8
2 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,13 @@ Possible values:
* Any string representing region name
"""),
cfg.StrOpt('os_interface',
default="public",
choices=["public", "admin", "internal"],
help="""
Endpoint interface for this node. This is used when picking the URL in the
service catalog.
""")
]

View File

@ -0,0 +1,7 @@
---
features:
- The placement API can be set to connect to a specific
keystone endpoint interface using the ``os_interface``
option in the ``[placement]`` section inside ``nova.conf``.
This value is not required and will default to ``public``.
Other acceptable options are ``admin`` or ``internal``.