Rename tempest_public_net_physical_{type to name}

tempest_public_net_physical_type var stores the physical network
name but due to the name of the var it looks confusing. This
patch renames the var and providing that user can still use
tempest_public_net_physical_type var.

Change-Id: I45f63426a105ada0715c665a1289ed6d09911202
This commit is contained in:
Chandan Kumar 2019-01-16 15:56:03 +05:30
parent 7bfccfe47d
commit 2dd874a7f3
3 changed files with 10 additions and 2 deletions

View File

@ -145,7 +145,10 @@ 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"
# TODO(chkumar246):
# The use of _type is to provide backwards compatibility for
# overrides in S and can be removed in T.
tempest_public_net_physical_name: "{{ tempest_public_net_physical_type | default('flat') }}"
tempest_public_net_seg_id: ""
tempest_public_router_external: "True"
# Example allocation range:

View File

@ -0,0 +1,5 @@
---
deprecations:
- The variable ``tempest_public_net_physical_type`` will be
removed by Train release in the favor of
``tempest_public_net_physical_name``.

View File

@ -170,7 +170,7 @@
validate_certs: "{{ keystone_service_internaluri_insecure | ternary(false, true) }}"
name: "{{ tempest_public_net_name }}"
provider_network_type: "{{ tempest_public_net_provider_type }}"
provider_physical_network: "{{ tempest_public_net_physical_type | default(omit) }}"
provider_physical_network: "{{ tempest_public_net_physical_name | default(omit) }}"
provider_segmentation_id: "{{ tempest_public_net_seg_id | default(omit) }}"
external: "{{ tempest_public_router_external }}"
project: "{{ keystone_demo_tenant_id }}"