Merge "Unify PROX testcases TG and VNF names"
[yardstick.git] / samples / vnf_samples / nsut / prox / prox-baremetal-2.yaml
1 # Copyright (c) 2016-2019 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15 #;
16
17 nodes:
18 -
19     name: "trafficgen_0"
20     role: TrafficGen
21     ip: 1.1.1.1
22     user: "root"
23     ssh_port: "22"
24     password: "r00t"
25     interfaces:
26         xe0:
27             vpci: "0000:05:00.0"
28             local_mac: "68:05:ca:30:3d:50"
29             driver: "i40e"
30             local_ip: "152.16.100.19"
31             netmask: "255.255.255.0"
32             dpdk_port_num: 0
33         xe1:
34             vpci: "0000:05:00.1"
35             local_mac: "68:05:ca:30:3d:51"
36             driver: "i40e"
37             local_ip: "152.16.40.19"
38             netmask: "255.255.255.0"
39             dpdk_port_num: 1
40 -
41     name: "vnf_0"
42     role: VNF
43     ip: 1.1.1.2
44     user: "root"
45     ssh_port: "22"
46     password: "r00t"
47     interfaces:
48         xe0:
49             vpci: "0000:05:00.0"
50             local_mac: "68:05:ca:30:3c:68"
51             driver: "i40e"
52             local_ip: "152.16.100.21"
53             netmask: "255.255.255.0"
54             dpdk_port_num: 0
55         xe1:
56             vpci: "0000:05:00.1"
57             local_mac: "68:05:ca:30:3c:69"
58             driver: "i40e"
59             local_ip: "152.16.40.21"
60             netmask: "255.255.255.0"
61             dpdk_port_num: 1
62     routing_table:
63     - network: "152.16.100.20"
64       netmask: "255.255.255.0"
65       gateway: "152.16.100.20"
66       if: "xe0"
67     - network: "152.16.40.20"
68       netmask: "255.255.255.0"
69       gateway: "152.16.40.20"
70       if: "xe1"
71     nd_route_tbl:
72     - network: "0064:ff9b:0:0:0:0:9810:6414"
73       netmask: "112"
74       gateway: "0064:ff9b:0:0:0:0:9810:6414"
75       if: "xe0"
76     - network: "0064:ff9b:0:0:0:0:9810:2814"
77       netmask: "112"
78       gateway: "0064:ff9b:0:0:0:0:9810:2814"
79       if: "xe1"