Merge "Fix UDPReplay VNF statistic parsing"
[yardstick.git] / ansible / multi_port_baremetal_test_templates.yml
1 # Copyright (c) 2017 Intel Corporation. #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 ---
14
15 - set_fact:
16     num_vnfs: "{{ item }}"
17
18 - file:
19     path: /etc/yardstick/nodes
20     state: directory
21
22 - debug:
23     var: num_vnfs
24     verbosity: 2
25
26 - template:
27     src: ../samples/vnf_samples/traffic_profiles/ipv4_throughput-scale-out.yaml
28     dest: ../samples/vnf_samples/traffic_profiles/ipv4_throughput-{{ num_vnfs }}.yaml
29
30 - template:
31     src: ../etc/yardstick/nodes/standalone/baremetal_trex.yaml
32     dest: /etc/yardstick/nodes/baremetal_trex_{{num_vnfs}}.yaml
33
34 - template:
35     src: ../etc/yardstick/nodes/standalone/pod_bm_vnf.yaml
36     dest: /etc/yardstick/nodes/pod_bm_vnf_{{num_vnfs}}.yaml
37
38 - template:
39     src: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_template.yaml
40     dest: ../samples/vnf_samples/nsut/vfw/tc_baremetal_vfw_rfc2544_{{ num_vnfs }}.yaml
41
42 - template:
43      src: ../samples/vnf_samples/nsut/vfw/vfw-tg-topology-multi-port.yaml
44      dest: ../samples/vnf_samples/nsut/vfw/vfw-tg-topology-multi-port-{{ num_vnfs }}.yaml
45
46 - template:
47     src: ../samples/vnf_samples/nsut/acl/tc_baremetal_acl_rfc2544_template.yaml
48     dest: ../samples/vnf_samples/nsut/acl/tc_baremetal_acl_rfc2544_{{ num_vnfs }}.yaml
49
50 - template:
51      src: ../samples/vnf_samples/nsut/acl/acl-tg-topology-multi-port.yaml
52      dest: ../samples/vnf_samples/nsut/acl/acl-tg-topology-multi-port-{{ num_vnfs }}.yaml
53
54 - template:
55     src: ../samples/vnf_samples/traffic_profiles/ipv4_throughput-cgnapt-scale-out.yaml
56     dest: ../samples/vnf_samples/traffic_profiles/ipv4_throughput-cgnapt-{{ num_vnfs }}.yaml
57
58 - template:
59     src: ../samples/vnf_samples/nsut/cgnapt/tc_baremetal_cgnapt_rfc2544_template.yaml
60     dest: ../samples/vnf_samples/nsut/cgnapt/tc_baremetal_cgnapt_rfc2544_{{ num_vnfs }}.yaml
61
62 - template:
63      src: ../samples/vnf_samples/nsut/cgnapt/cgnapt-tg-topology-multi-port.yaml
64      dest: ../samples/vnf_samples/nsut/cgnapt/cgnapt-tg-topology-multi-port-{{ num_vnfs }}.yaml