Make router creation independent from tempest_public_net_create
Currently when ``tempest_router_create`` is enabled, playbook requires ``tempest_public_net_create`` to be set. It's an incorrect behavior. Router creation should only require public network to exist. It does not matter if that public network was created by tempest or operator. Change-Id: Icaa223ed03837a68e9e84a89560cc2df10e3ed3e
This commit is contained in:
parent
56c07080a7
commit
4878640e18
|
@ -56,7 +56,7 @@
|
||||||
- name: Ensure that all required variables are set when tempest_router_create is enabled
|
- name: Ensure that all required variables are set when tempest_router_create is enabled
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- tempest_public_net_create
|
- (tempest_public_net_create or tempest_neutron_public_network_id is defined)
|
||||||
- tempest_private_net_create
|
- tempest_private_net_create
|
||||||
when:
|
when:
|
||||||
- tempest_router_create
|
- tempest_router_create
|
||||||
|
@ -264,7 +264,7 @@
|
||||||
interface: "{{ tempest_interface_name }}"
|
interface: "{{ tempest_interface_name }}"
|
||||||
validate_certs: "{{ tempest_keystone_interface_insecure | ternary(false, true) }}"
|
validate_certs: "{{ tempest_keystone_interface_insecure | ternary(false, true) }}"
|
||||||
name: router
|
name: router
|
||||||
network: "{{ tempest_public_net_name }}"
|
network: "{{ tempest_neutron_public_network_id }}"
|
||||||
interfaces:
|
interfaces:
|
||||||
- "{{ tempest_private_subnet_name }}"
|
- "{{ tempest_private_subnet_name }}"
|
||||||
project: "{{ keystone_demo_tenant_id }}"
|
project: "{{ keystone_demo_tenant_id }}"
|
||||||
|
|
Loading…
Reference in New Issue