Merge "add var to set a specific public network gateway_ip"

This commit is contained in:
Zuul 2017-10-24 11:44:59 +00:00 committed by Gerrit Code Review
commit c1eaad7536
2 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,8 @@ tempest_private_net_seg_id: 1
tempest_public_net_name: "public"
tempest_public_subnet_name: "public-subnet"
tempest_public_subnet_cidr: "10.1.13.0/24"
# Neutron default gateway to first ip of subnet, usually .1
# tempest_public_subnet_gateway_ip:
tempest_public_net_provider_type: "flat"
tempest_public_net_physical_type: "flat"
tempest_public_net_seg_id: ""

View File

@ -231,6 +231,7 @@
cidr: "{{ tempest_public_subnet_cidr }}"
allocation_pool_start: "{{ tempest_public_subnet_allocation_pools.split('-')[0] | default(omit) }}"
allocation_pool_end: "{{ tempest_public_subnet_allocation_pools.split('-')[1] | default(omit) }}"
gateway_ip: "{{ tempest_public_subnet_gateway_ip | default(omit) }}"
when: tempest_service_available_neutron | bool
- name: Create router