diff --git a/nova/conf/placement.py b/nova/conf/placement.py index aa7fa0259..b11f873d2 100644 --- a/nova/conf/placement.py +++ b/nova/conf/placement.py @@ -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. +""") ] diff --git a/releasenotes/notes/placement-api-endpoint-interface-set-29af8b9400ce7775.yaml b/releasenotes/notes/placement-api-endpoint-interface-set-29af8b9400ce7775.yaml new file mode 100644 index 000000000..96c14e1cc --- /dev/null +++ b/releasenotes/notes/placement-api-endpoint-interface-set-29af8b9400ce7775.yaml @@ -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``.