Allow the endpoint_type for service net creation to be specified.

Change-Id: I735a5e2e6d07813ad34c5203a4ef8cf29b17939c
This commit is contained in:
Andy McCrae 2017-06-07 13:35:31 +01:00
parent dcc56d9d07
commit 7bfa684eb9
3 changed files with 10 additions and 0 deletions

View File

@ -163,6 +163,7 @@ trove_service_net_subnet_cidr: "192.168.20.0/24"
trove_service_net_dhcp: "True"
trove_service_net_allocation_pool_start: "192.168.20.100"
trove_service_net_allocation_pool_end: "192.168.20.120"
trove_service_net_endpoint_type: internal
# RPC encryption keys
# See the Trove documentation as to the significance of the rpc encryption keys

View File

@ -0,0 +1,7 @@
---
features:
- You can set the ``endpoint_type`` used when
creating the Trove service network by specifying
the ``trove_service_net_endpoint_type`` variable.
This will default to ``internal``. Other possible
options are ``public`` and ``admin``.

View File

@ -37,6 +37,7 @@
provider_network_type: "{{ trove_service_net_type }}"
project: "{{ keystone_admin_tenant_id }}"
wait: yes
endpoint_type: "{{ trove_service_net_endpoint_type }}"
register: trove_network
run_once: true
@ -53,6 +54,7 @@
enable_dhcp: "{{ trove_service_net_dhcp }}"
project: "{{ keystone_admin_tenant_id }}"
wait: yes
endpoint_type: "{{ trove_service_net_endpoint_type }}"
register: subnet_create
run_once: true
# Block end