0cc33375a96d7d21541e0c3ebd19d4a723177f1a
[yardstick.git] / samples / vnf_samples / nsut / prox / prox-baremetal-4.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 nodes:
16 -
17     name: "trafficgen_0"
18     role: TrafficGen
19     ip: 1.1.1.1
20     user: "root"
21     ssh_port: "22"
22     password: "r00t"
23     interfaces:
24         xe0:
25             vpci: "0000:05:00.0"
26             local_mac: "68:05:ca:30:3d:50"
27             driver: "i40e"
28             local_ip: "152.16.100.19"
29             netmask: "255.255.255.0"
30             dpdk_port_num: 0
31         xe1:
32             vpci: "0000:05:00.1"
33             local_mac: "68:05:ca:30:3d:51"
34             driver: "i40e"
35             local_ip: "152.16.40.19"
36             netmask: "255.255.255.0"
37             dpdk_port_num: 1
38         xe2:
39             vpci: "0000:05:00.2"
40             local_mac: "68:05:ca:30:3d:52"
41             driver: "i40e"
42             local_ip: "192.16.100.11"
43             netmask: "255.255.255.0"
44             dpdk_port_num: 2
45         xe3:
46             vpci: "0000:05:00.3"
47             local_mac: "68:05:ca:30:3d:53"
48             driver: "i40e"
49             local_ip: "192.16.40.11"
50             netmask: "255.255.255.0"
51             dpdk_port_num: 3
52 -
53     name: "vnf_0"
54     role: VNF
55     ip: 1.1.1.2
56     user: "root"
57     ssh_port: "22"
58     password: "r00t"
59     interfaces:
60         xe0:
61             vpci: "0000:05:00.0"
62             local_mac: "68:05:ca:30:3c:68"
63             driver: "i40e"
64             local_ip: "152.16.100.21"
65             netmask: "255.255.255.0"
66             dpdk_port_num: 0
67         xe1:
68             vpci: "0000:05:00.1"
69             local_mac: "68:05:ca:30:3c:69"
70             driver: "i40e"
71             local_ip: "152.16.40.21"
72             netmask: "255.255.255.0"
73             dpdk_port_num: 1
74         xe2:
75             vpci: "0000:05:00.2"
76             local_mac: "68:05:ca:30:3c:6a"
77             driver: "i40e"
78             local_ip: "192.16.100.22"
79             netmask: "255.255.255.0"
80             dpdk_port_num: 2
81         xe3:
82             vpci: "0000:05:00.3"
83             local_mac: "68:05:ca:30:3c:6b"
84             driver: "i40e"
85             local_ip: "192.16.40.22"
86             netmask: "255.255.255.0"
87             dpdk_port_num: 3
88     routing_table:
89     - network: "152.16.100.20"
90       netmask: "255.255.255.0"
91       gateway: "152.16.100.20"
92       if: "xe0"
93     - network: "152.16.40.20"
94       netmask: "255.255.255.0"
95       gateway: "152.16.40.20"
96       if: "xe1"
97     - network: "192.16.100.20"
98       netmask: "255.255.255.0"
99       gateway: "192.16.100.20"
100       if: "xe2"
101     - network: "192.16.40.20"
102       netmask: "255.255.255.0"
103       gateway: "192.16.40.20"
104       if: "xe3"
105     nd_route_tbl:
106     - network: "0064:ff9b:0:0:0:0:9810:6414"
107       netmask: "112"
108       gateway: "0064:ff9b:0:0:0:0:9810:6414"
109       if: "xe0"
110     - network: "0064:ff9b:0:0:0:0:9810:2814"
111       netmask: "112"
112       gateway: "0064:ff9b:0:0:0:0:9810:2814"
113       if: "xe1"
114     - network: "0064:ff9b:0:0:0:0:C010:6414"
115       netmask: "112"
116       gateway: "0064:ff9b:0:0:0:0:C010:6414"
117       if: "xe2"
118     - network: "0064:ff9b:0:0:0:0:C010:2814"
119       netmask: "112"
120       gateway: "0064:ff9b:0:0:0:0:C010:2814"
121       if: "xe3"