Add configuration for the Nova proxy endpoint

Change-Id: I6128f8e8a439880aa40f9b3a32e47563ad90cdb6
Partial-Bug: #1755560
Depends-On: I3701c34841b84c2272dcc24d982fc622ff6139b6
(cherry picked from commit c6db8d0cd2)
This commit is contained in:
Honza Pokorny 2018-03-13 15:01:52 -03:00 committed by Julie Pichon
parent 0e61fab9cd
commit 34fe53e68e
3 changed files with 21 additions and 0 deletions

View File

@ -71,10 +71,18 @@
# The mistral proxy endpoint url
# Defaults to undef
#
# [*endpoint_proxy_nova*]
# The nova proxy endpoint url
# Defaults to undef
#
# [*endpoint_config_mistral*]
# The mistral config endpoint url
# Defaults to undef
#
# [*endpoint_config_nova*]
# The nova config endpoint url
# Defaults to undef
#
# [*endpoint_proxy_swift*]
# The swift proxy endpoint url
# Defaults to undef
@ -112,6 +120,7 @@ class tripleo::ui (
$endpoint_proxy_ironic = undef,
$endpoint_proxy_ironic_inspector = undef,
$endpoint_proxy_mistral = undef,
$endpoint_proxy_nova = undef,
$endpoint_proxy_swift = undef,
$endpoint_config_zaqar = undef,
$endpoint_config_keystone = undef,
@ -119,6 +128,7 @@ class tripleo::ui (
$endpoint_config_ironic = undef,
$endpoint_config_ironic_inspector = undef,
$endpoint_config_mistral = undef,
$endpoint_config_nova = undef,
$endpoint_config_swift = undef,
$enabled_loggers = ['console', 'zaqar'],
@ -169,6 +179,11 @@ class tripleo::ui (
'url' => $endpoint_proxy_mistral,
'reverse_urls' => $endpoint_proxy_mistral
},
{
'path' => '/nova',
'url' => $endpoint_proxy_nova,
'reverse_urls' => $endpoint_proxy_nova
},
{
'path' => '/swift',
'url' => $endpoint_proxy_swift,

View File

@ -0,0 +1,5 @@
---
features:
- |
Added variables for endpoint_proxy_nova, endpoint_config_nova, and Apache
mod_proxy configuration to proxy nova service just like similar services

View File

@ -9,6 +9,7 @@ window.tripleOUiConfig = {
'ironic': '<%= @endpoint_config_ironic %>',
'ironic-inspector': '<%= @endpoint_config_ironic_inspector %>',
'mistral': '<%= @endpoint_config_mistral %>',
'nova': '<%= @endpoint_config_nova %>',
'swift': '<%= @endpoint_config_swift %>',
'zaqar-websocket': '<%= @endpoint_config_zaqar %>',