Merge "Unify different VNF testcases TG and VNF names"
[yardstick.git] / ansible / multi_port_baremetal_ixia_test_templates.yml
index f2e04a2..832f025 100644 (file)
 - set_fact:
     num_vnfs: "{{ item }}"
 
+- file:
+    path: /etc/yardstick/nodes
+    state: directory
+
 - debug:
     var: num_vnfs
     verbosity: 2
 
 - template:
     src: ../etc/yardstick/nodes/standalone/ixia_template.yaml
-    dest: /etc/yardstick/nodes/ixia_{{ num_vnfs }}.yaml
+    dest: /etc/yardstick/nodes/baremetal_ixia_{{ num_vnfs }}.yaml
 
 - template:
     src: ../etc/yardstick/nodes/standalone/pod_bm_vnf.yaml
     dest: /etc/yardstick/nodes/pod_bm_vnf_{{num_vnfs}}.yaml
 
 - template:
-    src: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_template.yaml
-    dest: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_{{ num_vnfs }}.yaml
+    src: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_ixia_template.yaml
+    dest: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_ixia_{{ num_vnfs }}.yaml
 
 - template:
      src: ../samples/vnf_samples/nsut/vfw/vfw-tg-topology-ixia-multi-port.yaml
@@ -45,7 +49,7 @@
 
 - template:
      src: ../samples/vnf_samples/nsut/acl/acl-tg-topology-ixia-multi-port.yaml
-     dest: ../samples/vnf_samples/nsut/acl/acl-tg-topology-multi-port-ixia-{{ num_vnfs }}.yaml
+     dest: ../samples/vnf_samples/nsut/acl/acl-tg-topology-ixia-multi-port-{{ num_vnfs }}.yaml
 
 - template:
     src: ../samples/vnf_samples/traffic_profiles/ipv4_throughput-cgnapt-scale-out.yaml