Add default metadata for public network
Add deafult value for all models
Metadata will be replace in deployment by steps
from shared-salt:
https://github.com/Mirantis/tcp-qa/blob/master/tcp_tests/templates/shared-salt.yaml#L431
Change-Id: I99f4daaa0aee28ca6eca3b9cae3cc380c749d58d
diff --git a/tcp_tests/templates/cookied-bm-contrail-maas/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-contrail-maas/lab04-physical-inventory.yaml
index 69a9df0..fb0d8d1 100644
--- a/tcp_tests/templates/cookied-bm-contrail-maas/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-contrail-maas/lab04-physical-inventory.yaml
@@ -75,3 +75,10 @@
enp5s0f1:
role: single_vlan_ctl
single_address: 10.167.8.102
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-contrail-nfv-maas/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-contrail-nfv-maas/lab04-physical-inventory.yaml
index 3c5401c..e7177b5 100644
--- a/tcp_tests/templates/cookied-bm-contrail-nfv-maas/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-contrail-nfv-maas/lab04-physical-inventory.yaml
@@ -79,3 +79,10 @@
tenant_address: 192.168.0.102
dpdk_pci: "'0000:05:00.0'"
dpdk_mac: '00:1b:21:87:21:98'
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-contrail40-nfv/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-contrail40-nfv/lab04-physical-inventory.yaml
index 7e21691..7f9014d 100644
--- a/tcp_tests/templates/cookied-bm-contrail40-nfv/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-contrail40-nfv/lab04-physical-inventory.yaml
@@ -81,3 +81,10 @@
enp2s0f0:
role: single_vlan_ctl
single_address: 10.167.8.102
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-contrail40/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-contrail40/lab04-physical-inventory.yaml
index 5cb47fb..1639192 100644
--- a/tcp_tests/templates/cookied-bm-contrail40/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-contrail40/lab04-physical-inventory.yaml
@@ -75,3 +75,10 @@
enp5s0f1:
role: single_vlan_ctl
single_address: 10.167.8.102
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-k8s-contrail/lab04-upgrade-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-k8s-contrail/lab04-upgrade-physical-inventory.yaml
index ad4e04a..724a6de 100644
--- a/tcp_tests/templates/cookied-bm-k8s-contrail/lab04-upgrade-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-k8s-contrail/lab04-upgrade-physical-inventory.yaml
@@ -92,6 +92,13 @@
role: single_dhcp
ens11f1:
role: k8s_oc40_only_vhost_on_control_vlan
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
# cmp001.bm-k8s-contrail.local:
# reclass_storage_name: kubernetes_compute_node001
# roles:
diff --git a/tcp_tests/templates/cookied-bm-mcp-dvr-vxlan/salt-context-lab03-environment.yaml b/tcp_tests/templates/cookied-bm-mcp-dvr-vxlan/salt-context-lab03-environment.yaml
index 720c275..f9ae84b 100644
--- a/tcp_tests/templates/cookied-bm-mcp-dvr-vxlan/salt-context-lab03-environment.yaml
+++ b/tcp_tests/templates/cookied-bm-mcp-dvr-vxlan/salt-context-lab03-environment.yaml
@@ -95,3 +95,10 @@
role: bond0_ab_dvr_vxlan_ctl_mesh_external
external_address: 172.17.42.5
external_network_netmask: 255.255.255.192
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-bm-mcp-ocata-contrail-nfv/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-mcp-ocata-contrail-nfv/lab04-physical-inventory.yaml
index e66753d..164256c 100644
--- a/tcp_tests/templates/cookied-bm-mcp-ocata-contrail-nfv/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-mcp-ocata-contrail-nfv/lab04-physical-inventory.yaml
@@ -79,3 +79,10 @@
tenant_address: 192.168.0.102
dpdk_pci: "'0000:05:00.0'"
dpdk_mac: '00:1b:21:87:21:98'
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-mcp-ocata-contrail/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-mcp-ocata-contrail/lab04-physical-inventory.yaml
index 7bf4d2e..7614192 100644
--- a/tcp_tests/templates/cookied-bm-mcp-ocata-contrail/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-mcp-ocata-contrail/lab04-physical-inventory.yaml
@@ -75,3 +75,10 @@
enp5s0f1:
role: single_vlan_ctl
single_address: 10.167.8.102
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
diff --git a/tcp_tests/templates/cookied-bm-oc40-queens/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-oc40-queens/lab04-physical-inventory.yaml
index 5aa9ebe..76189cf 100644
--- a/tcp_tests/templates/cookied-bm-oc40-queens/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-oc40-queens/lab04-physical-inventory.yaml
@@ -60,6 +60,13 @@
enp5s0f1:
role: single_vlan_ctl
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: ctl01*
+
# cmp001.cookied-bm-oc40-queens.local:
# reclass_storage_name: openstack_compute_node01
# roles:
@@ -91,4 +98,4 @@
# tenant_address: 192.168.0.102
# enp5s0f1:
# role: single_vlan_ctl
-# single_address: 10.167.8.102
+# single_address: 10.167.8.102
\ No newline at end of file
diff --git a/tcp_tests/templates/cookied-bm-ocata-cicd-pipeline/lab04-physical-inventory.yaml b/tcp_tests/templates/cookied-bm-ocata-cicd-pipeline/lab04-physical-inventory.yaml
index 143a83f..c886b41 100644
--- a/tcp_tests/templates/cookied-bm-ocata-cicd-pipeline/lab04-physical-inventory.yaml
+++ b/tcp_tests/templates/cookied-bm-ocata-cicd-pipeline/lab04-physical-inventory.yaml
@@ -86,6 +86,13 @@
enp9s0f1:
role: bond0_ab_dvr_vxlan_ctl_mesh_floating
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
+
# gtw02.ocata-cicd.local:
# reclass_storage_name: openstack_gateway_node02
# roles:
diff --git a/tcp_tests/templates/cookied-cicd-k8s-calico-sl/environment-context-k8s-sl.yaml b/tcp_tests/templates/cookied-cicd-k8s-calico-sl/environment-context-k8s-sl.yaml
index 4abe271..eee2067 100644
--- a/tcp_tests/templates/cookied-cicd-k8s-calico-sl/environment-context-k8s-sl.yaml
+++ b/tcp_tests/templates/cookied-cicd-k8s-calico-sl/environment-context-k8s-sl.yaml
@@ -256,3 +256,10 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-k8s-calico/environment-context-k8s.yaml b/tcp_tests/templates/cookied-cicd-k8s-calico/environment-context-k8s.yaml
index d13627b..2da8dc9 100644
--- a/tcp_tests/templates/cookied-cicd-k8s-calico/environment-context-k8s.yaml
+++ b/tcp_tests/templates/cookied-cicd-k8s-calico/environment-context-k8s.yaml
@@ -143,3 +143,10 @@
role: single_dhcp
ens4:
role: single_ctl_calico
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-k8s-genie/environment-context-k8s-genie.yaml b/tcp_tests/templates/cookied-cicd-k8s-genie/environment-context-k8s-genie.yaml
index 807d07f..2c14f73 100644
--- a/tcp_tests/templates/cookied-cicd-k8s-genie/environment-context-k8s-genie.yaml
+++ b/tcp_tests/templates/cookied-cicd-k8s-genie/environment-context-k8s-genie.yaml
@@ -157,3 +157,10 @@
role: single_ctl_calico
ens5:
role: single_storage_dhcp
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-pike-dpdk/environment-context.yaml b/tcp_tests/templates/cookied-cicd-pike-dpdk/environment-context.yaml
index bef76b3..c192d5f 100644
--- a/tcp_tests/templates/cookied-cicd-pike-dpdk/environment-context.yaml
+++ b/tcp_tests/templates/cookied-cicd-pike-dpdk/environment-context.yaml
@@ -234,3 +234,10 @@
role: single_ovs_br_floating
external_address: 10.90.0.110
external_network_netmask: 255.255.255.0
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-pike-dvr-sl/environment_context.yaml b/tcp_tests/templates/cookied-cicd-pike-dvr-sl/environment_context.yaml
index 77d8229..c8fb940 100644
--- a/tcp_tests/templates/cookied-cicd-pike-dvr-sl/environment_context.yaml
+++ b/tcp_tests/templates/cookied-cicd-pike-dvr-sl/environment_context.yaml
@@ -266,3 +266,10 @@
role: bond0_ab_ovs_vxlan_mesh
ens6:
role: bond1_ab_ovs_floating
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-pike-ovs-sl/environment-context.yaml b/tcp_tests/templates/cookied-cicd-pike-ovs-sl/environment-context.yaml
index 6ffc515..aaedf48 100644
--- a/tcp_tests/templates/cookied-cicd-pike-ovs-sl/environment-context.yaml
+++ b/tcp_tests/templates/cookied-cicd-pike-ovs-sl/environment-context.yaml
@@ -264,3 +264,10 @@
role: bond0_ab_ovs_vxlan_mesh
ens6:
role: bond1_ab_ovs_floating
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-cicd-queens-dvr-sl/environment_context.yaml b/tcp_tests/templates/cookied-cicd-queens-dvr-sl/environment_context.yaml
index 59e20b9..1fe8467 100644
--- a/tcp_tests/templates/cookied-cicd-queens-dvr-sl/environment_context.yaml
+++ b/tcp_tests/templates/cookied-cicd-queens-dvr-sl/environment_context.yaml
@@ -266,3 +266,10 @@
role: bond0_ab_ovs_vxlan_mesh
ens6:
role: bond1_ab_ovs_floating
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-pike-dpdk/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-dpdk/_context-environment.yaml
index e6f71cf..4a6ee73 100644
--- a/tcp_tests/templates/cookied-mcp-pike-dpdk/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-dpdk/_context-environment.yaml
@@ -167,3 +167,10 @@
role: single_ovs_br_floating
external_address: 10.90.0.110
external_network_netmask: 255.255.255.0
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-pike-dvr-ceph/vcp-context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-dvr-ceph/vcp-context-environment.yaml
index cc7acd1..4fbb4b4 100644
--- a/tcp_tests/templates/cookied-mcp-pike-dvr-ceph/vcp-context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-dvr-ceph/vcp-context-environment.yaml
@@ -205,3 +205,11 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
+
diff --git a/tcp_tests/templates/cookied-mcp-pike-dvr-ssl-barbican/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-dvr-ssl-barbican/_context-environment.yaml
index 876aab9..00125aa 100644
--- a/tcp_tests/templates/cookied-mcp-pike-dvr-ssl-barbican/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-dvr-ssl-barbican/_context-environment.yaml
@@ -132,3 +132,10 @@
role: bond0_ab_ovs_vxlan_mesh
ens6:
role: bond1_ab_ovs_floating
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-pike-dvr-ssl/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-dvr-ssl/_context-environment.yaml
index 158177e..f5e74ab 100644
--- a/tcp_tests/templates/cookied-mcp-pike-dvr-ssl/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-dvr-ssl/_context-environment.yaml
@@ -231,3 +231,11 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
+
diff --git a/tcp_tests/templates/cookied-mcp-pike-dvr/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-dvr/_context-environment.yaml
index bcff533..7c271fb 100644
--- a/tcp_tests/templates/cookied-mcp-pike-dvr/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-dvr/_context-environment.yaml
@@ -230,3 +230,11 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
+
diff --git a/tcp_tests/templates/cookied-mcp-pike-ovs/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-pike-ovs/_context-environment.yaml
index 23e0af4..329bca0 100644
--- a/tcp_tests/templates/cookied-mcp-pike-ovs/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-pike-ovs/_context-environment.yaml
@@ -231,3 +231,10 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-queens-dvr-ceph/vcp-context-environment.yaml b/tcp_tests/templates/cookied-mcp-queens-dvr-ceph/vcp-context-environment.yaml
index 8d62a09..6d9ed2d 100644
--- a/tcp_tests/templates/cookied-mcp-queens-dvr-ceph/vcp-context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-queens-dvr-ceph/vcp-context-environment.yaml
@@ -210,3 +210,10 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-queens-dvr-ssl-barbican/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-queens-dvr-ssl-barbican/_context-environment.yaml
index ea7c7ec..6022fbd 100644
--- a/tcp_tests/templates/cookied-mcp-queens-dvr-ssl-barbican/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-queens-dvr-ssl-barbican/_context-environment.yaml
@@ -136,3 +136,10 @@
role: bond0_ab_ovs_vxlan_mesh
ens6:
role: bond1_ab_ovs_floating
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-queens-dvr-ssl/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-queens-dvr-ssl/_context-environment.yaml
index 5a90968..7f21c48 100644
--- a/tcp_tests/templates/cookied-mcp-queens-dvr-ssl/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-queens-dvr-ssl/_context-environment.yaml
@@ -235,3 +235,10 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-queens-dvr/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-queens-dvr/_context-environment.yaml
index ce8de58..a1bdfd4 100644
--- a/tcp_tests/templates/cookied-mcp-queens-dvr/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-queens-dvr/_context-environment.yaml
@@ -234,4 +234,11 @@
ens3:
role: single_dhcp
ens4:
- role: single_ctl
\ No newline at end of file
+ role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
diff --git a/tcp_tests/templates/cookied-mcp-queens-ovs/_context-environment.yaml b/tcp_tests/templates/cookied-mcp-queens-ovs/_context-environment.yaml
index c2aab29..c932519 100644
--- a/tcp_tests/templates/cookied-mcp-queens-ovs/_context-environment.yaml
+++ b/tcp_tests/templates/cookied-mcp-queens-ovs/_context-environment.yaml
@@ -235,3 +235,11 @@
role: single_dhcp
ens4:
role: single_ctl
+
+environment_metadata:
+ public_gateway: 172.17.16.1
+ public_cidr: 172.17.16.0/24
+ public_allocation_start: 172.17.16.201
+ public_allocation_end: 172.17.16.245
+ tempest_test_target: gtw01*
+