Merge branch 'add_1_0' of https://github.com/Mirantis/tcp-qa into add_1_0
diff --git a/tcp_tests/templates/common-services/virtual_mcp10_ovs-common-services.yaml b/tcp_tests/templates/common-services/virtual-mcp10-ovs-common-services.yaml
similarity index 98%
rename from tcp_tests/templates/common-services/virtual_mcp10_ovs-common-services.yaml
rename to tcp_tests/templates/common-services/virtual-mcp10-ovs-common-services.yaml
index e8063a8..3cf252a 100644
--- a/tcp_tests/templates/common-services/virtual_mcp10_ovs-common-services.yaml
+++ b/tcp_tests/templates/common-services/virtual-mcp10-ovs-common-services.yaml
@@ -1,4 +1,4 @@
-{% from 'virtual_mcp10_ovs.jinja' import HOSTNAME_CFG01 with context %}
+{% from 'virtual-mcp10-ovs.jinja' import HOSTNAME_CFG01 with context %}
# Install support services
diff --git a/tcp_tests/templates/openstack/virtual_mcp10_ovs-openstack.yaml b/tcp_tests/templates/openstack/virtual-mcp10-ovs-openstack.yaml
similarity index 98%
rename from tcp_tests/templates/openstack/virtual_mcp10_ovs-openstack.yaml
rename to tcp_tests/templates/openstack/virtual-mcp10-ovs-openstack.yaml
index 5ad1b34..4a39fcb 100644
--- a/tcp_tests/templates/openstack/virtual_mcp10_ovs-openstack.yaml
+++ b/tcp_tests/templates/openstack/virtual-mcp10-ovs-openstack.yaml
@@ -1,4 +1,4 @@
-{% from 'virtual_mcp10_ovs.jinja' import HOSTNAME_CFG01 with context %}
+{% from 'virtual-mcp10-ovs.jinja' import HOSTNAME_CFG01 with context %}
# Install OpenStack control services
diff --git a/tcp_tests/templates/salt/virtual_mcp10_ovs-salt.yaml b/tcp_tests/templates/salt/virtual-mcp10-ovs-salt.yaml
similarity index 99%
rename from tcp_tests/templates/salt/virtual_mcp10_ovs-salt.yaml
rename to tcp_tests/templates/salt/virtual-mcp10-ovs-salt.yaml
index 722d321..198cac7 100644
--- a/tcp_tests/templates/salt/virtual_mcp10_ovs-salt.yaml
+++ b/tcp_tests/templates/salt/virtual-mcp10-ovs-salt.yaml
@@ -1,4 +1,4 @@
-{% from 'virtual_mcp10_ovs.jinja' import HOSTNAME_CFG01 with context %}
+{% from 'virtual-mcp10-ovs.jinja' import HOSTNAME_CFG01 with context %}
# Install salt to the config node
diff --git a/tcp_tests/templates/underlay/virtual_mcp10_ovs--meta-data.yaml b/tcp_tests/templates/underlay/virtual-mcp10-ovs--meta-data.yaml
similarity index 100%
rename from tcp_tests/templates/underlay/virtual_mcp10_ovs--meta-data.yaml
rename to tcp_tests/templates/underlay/virtual-mcp10-ovs--meta-data.yaml
diff --git a/tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data-cfg01.yaml b/tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data-cfg01.yaml
similarity index 100%
rename from tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data-cfg01.yaml
rename to tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data-cfg01.yaml
diff --git a/tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data1404.yaml b/tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data1404.yaml
similarity index 100%
rename from tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data1404.yaml
rename to tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data1404.yaml
diff --git a/tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data1604.yaml b/tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data1604.yaml
similarity index 100%
rename from tcp_tests/templates/underlay/virtual_mcp10_ovs--user-data1604.yaml
rename to tcp_tests/templates/underlay/virtual-mcp10-ovs--user-data1604.yaml
diff --git a/tcp_tests/templates/underlay/virtual_mcp10_ovs.yaml b/tcp_tests/templates/underlay/virtual-mcp10-ovs.yaml
similarity index 92%
rename from tcp_tests/templates/underlay/virtual_mcp10_ovs.yaml
rename to tcp_tests/templates/underlay/virtual-mcp10-ovs.yaml
index 8a8ddb2..ece6e22 100644
--- a/tcp_tests/templates/underlay/virtual_mcp10_ovs.yaml
+++ b/tcp_tests/templates/underlay/virtual-mcp10-ovs.yaml
@@ -3,7 +3,7 @@
default_interface_model:
- &interface_model !os_env INTERFACE_MODEL, virtio
-{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual_mcp10_ovs') + '.local' %}
+{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp10-ovs') + '.local' %}
{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
@@ -15,7 +15,7 @@
template:
devops_settings:
- env_name: {{ os_env('ENV_NAME', 'virtual_mcp10_ovs') }}
+ env_name: {{ os_env('ENV_NAME', 'virtual-mcp10-ovs') }}
address_pools:
admin-pool01:
@@ -158,8 +158,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data-cfg01.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data-cfg01.yaml
interfaces:
- label: ens3
@@ -199,8 +199,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1404.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1404.yaml
interfaces: &interfaces
- label: eth0
@@ -240,8 +240,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1404.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1404.yaml
interfaces: *interfaces
network_config: *network_config
@@ -269,8 +269,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1404.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1404.yaml
interfaces: *interfaces
network_config: *network_config
@@ -298,8 +298,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1404.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1404.yaml
interfaces: *interfaces
network_config: *network_config
@@ -325,8 +325,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1604.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1604.yaml
interfaces: &all_interfaces
@@ -376,8 +376,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1604.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1604.yaml
interfaces: *all_interfaces
network_config: *all_network_config
@@ -402,8 +402,8 @@
format: raw
device: cdrom
bus: ide
- cloudinit_meta_data: !include virtual_mcp10_ovs--meta-data.yaml
- cloudinit_user_data: !include virtual_mcp10_ovs--user-data1604.yaml
+ cloudinit_meta_data: !include virtual-mcp10-ovs--meta-data.yaml
+ cloudinit_user_data: !include virtual-mcp10-ovs--user-data1604.yaml
interfaces: *all_interfaces
network_config: *all_network_config
diff --git a/tcp_tests/templates/virtual-mcp10-ovs.jinja b/tcp_tests/templates/virtual-mcp10-ovs.jinja
new file mode 100644
index 0000000..424909f
--- /dev/null
+++ b/tcp_tests/templates/virtual-mcp10-ovs.jinja
@@ -0,0 +1,2 @@
+{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp10-ovs') + '.local' %}
+{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
diff --git a/tcp_tests/templates/virtual_mcp10_ovs.jinja b/tcp_tests/templates/virtual_mcp10_ovs.jinja
deleted file mode 100644
index 52a6985..0000000
--- a/tcp_tests/templates/virtual_mcp10_ovs.jinja
+++ /dev/null
@@ -1,2 +0,0 @@
-{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual_mcp10_ovs') + '.local' %}
-{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}