Merge "Move arp route tbl to script and update defailt vnf config files"
[yardstick.git] / etc / yardstick / nodes / pod.yaml.nsb.sample
1 # Copyright (c) 2016-2017 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_1
18     role: TrafficGen
19     ip: 1.1.1.1
20     user: root
21     password: r00t
22     interfaces:
23         xe0:  # logical name from topology.yaml and vnfd.yaml
24             vpci:      "0000:05:00.0"
25             driver:    <nic kernel driver>
26             dpdk_port_num: 0
27             local_ip: "152.16.100.20"
28             netmask:   "255.255.255.0"
29             local_mac:   "00:00:00:00:00:01"
30         xe1:  # logical name from topology.yaml and vnfd.yaml
31             vpci:      "0000:05:00.1"
32             driver:    <nic kernel driver>
33             dpdk_port_num: 1
34             local_ip: "152.16.40.19"
35             netmask:   "255.255.255.0"
36             local_mac:   "00:00:00:00:00:02"
37
38 -
39     name: vnf
40     role: TrafficGen
41     ip: 1.1.1.2
42     user: root
43     password: r00t
44     host: 1.1.1.2 # BM - Host == ip, Standalone virtualization - Host == compute node
45     interfaces:
46         xe0:  # logical name from topology.yaml and vnfd.yaml
47             vpci:      "0000:05:00.0"
48             driver:    <nic kernel driver>
49             dpdk_port_num: 0
50             local_ip: "152.16.100.21"
51             netmask:   "255.255.255.0"
52             local_mac:   "00:00:00:00:00:03"
53
54         xe1:  # logical name from topology.yaml and vnfd.yaml
55             vpci:      "0000:05:00.1"
56             driver:    <nic kernel driver>
57             dpdk_port_num: 1
58             local_ip: "152.16.40.21"
59             netmask:   "255.255.255.0"
60             local_mac:   "00:00:00:00:00:04"
61     routing_table:
62     - network: "152.16.100.20"
63       netmask: "255.255.255.0"
64       gateway: "152.16.100.20"
65       if: "xe0"
66     - network: "152.16.40.20"
67       netmask: "255.255.255.0"
68       gateway: "152.16.40.20"
69       if: "xe1"
70     nd_route_tbl:
71     - network: "0064:ff9b:0:0:0:0:9810:6414"
72       netmask: "112"
73       gateway: "0064:ff9b:0:0:0:0:9810:6414"
74       if: "xe0"
75     - network: "0064:ff9b:0:0:0:0:9810:2814"
76       netmask: "112"
77       gateway: "0064:ff9b:0:0:0:0:9810:2814"
78       if: "xe1"