Add support for use-internal-endpoints
Add support for use of internal endpoints for inter-service API calls from heat. Change-Id: I4a9399e84f3a6ad90a935f12407b4365f35841cb Closes-Bug: 1713923
This commit is contained in:
parent
436111cf03
commit
bc4017ba64
|
@ -247,3 +247,10 @@ options:
|
|||
description: |
|
||||
Default multicast port number that will be used to communicate between
|
||||
HA Cluster nodes.
|
||||
use-internal-endpoints:
|
||||
type: boolean
|
||||
default: False
|
||||
description: |
|
||||
Openstack mostly defaults to using public endpoints for
|
||||
internal communication between services. If set to True this option
|
||||
will configure services to use internal endpoints where possible.
|
||||
|
|
|
@ -103,6 +103,7 @@ CONFIG_FILES = OrderedDict([
|
|||
context.SharedDBContext(relation_prefix='heat',
|
||||
ssl_dir=HEAT_DIR),
|
||||
context.OSConfigFlagContext(),
|
||||
context.InternalEndpointContext(),
|
||||
HeatIdentityServiceContext(service=SVC, service_user=SVC),
|
||||
HeatHAProxyContext(),
|
||||
HeatSecurityContext(),
|
||||
|
|
|
@ -85,3 +85,8 @@ bind_port={{ api_cfn_listen_port }}
|
|||
bind_port=8000
|
||||
{% endif %}
|
||||
workers = {{ workers }}
|
||||
|
||||
{% if use_internal_endpoints -%}
|
||||
[clients]
|
||||
endpoint_type = internalURL
|
||||
{%- endif %}
|
||||
|
|
|
@ -62,3 +62,7 @@ workers = {{ workers }}
|
|||
|
||||
{% include "section-rabbitmq-oslo" %}
|
||||
|
||||
{% if use_internal_endpoints -%}
|
||||
[clients]
|
||||
endpoint_type = internalURL
|
||||
{%- endif %}
|
||||
|
|
|
@ -75,3 +75,7 @@ workers = {{ workers }}
|
|||
|
||||
{% include "section-rabbitmq-oslo" %}
|
||||
|
||||
{% if use_internal_endpoints -%}
|
||||
[clients]
|
||||
endpoint_type = internalURL
|
||||
{%- endif %}
|
||||
|
|
|
@ -66,3 +66,7 @@ workers = {{ workers }}
|
|||
|
||||
{% include "section-rabbitmq-oslo" %}
|
||||
|
||||
{% if use_internal_endpoints -%}
|
||||
[clients]
|
||||
endpoint_type = internalURL
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue