Add segmentation option

Needed if trove service network is vlan or vxlan or gre
If flat, this option is omit

Change-Id: Ic28a6802ad00178cbabb7303c22e16fcf3a4f83a
This commit is contained in:
Kourosh Vivan 2018-12-07 16:52:42 +01:00
parent 97f129f057
commit 24151682bd
2 changed files with 3 additions and 0 deletions

View File

@ -198,6 +198,8 @@ trove_service_net_validate_certs: "False"
trove_service_net_phys_net: dbaas-mgmt
trove_service_net_type: flat
trove_service_net_name: dbaas_service_net
# Network segmentation ID if vlan, gre...
# trove_service_net_segmentation_id:
trove_service_subnet_name: dbaas_service_subnet
trove_service_net_subnet_cidr: "192.168.20.0/24"
trove_service_net_dhcp: "True"

View File

@ -36,6 +36,7 @@
name: "{{ trove_service_net_name }}"
provider_physical_network: "{{ trove_service_net_phys_net }}"
provider_network_type: "{{ trove_service_net_type }}"
provider_segmentation_id: "{{ trove_service_net_segmentation_id | default(omit) }}"
project: "{{ keystone_admin_tenant_id }}"
wait: yes
endpoint_type: "{{ trove_service_net_endpoint_type }}"