Merge "Move arp route tbl to script and update defailt vnf config files"
[yardstick.git] / etc / yardstick / nodes / pod.yaml.nsb.sample.ixia
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: IxNet
19     ip: 1.2.1.1 #ixia machine ip
20     user: user
21     password: r00t
22     key_filename: /root/.ssh/id_rsa
23     tg_config:
24         ixchassis: "1.2.1.7" #ixia chassis ip
25         tcl_port: "8009" # tcl server port
26         lib_path: "/opt/ixia/ixos-api/8.01.0.2/lib/ixTcl1.0"
27         root_dir: "/opt/ixia/ixos-api/8.01.0.2/"
28         py_bin_path: "/opt/ixia/ixload/8.01.106.3/bin/"
29         py_lib_path: "/opt/ixia/ixnetwork/8.01.1029.14/lib/PythonApi"
30         dut_result_dir: "/mnt/ixia"
31         version: 8.1
32     interfaces:
33         xe0:  # logical name from topology.yaml and vnfd.yaml
34             vpci: "2:5" # Card:port
35             driver:    "none"
36             dpdk_port_num: 0
37             local_ip: "152.16.100.20"
38             netmask:   "255.255.0.0"
39             local_mac: "00:98:10:64:14:00"
40         xe1:  # logical name from topology.yaml and vnfd.yaml
41             vpci: "2:6" # [(Card, port)]
42             driver:    "none"
43             dpdk_port_num: 1
44             local_ip: "152.40.40.20"
45             netmask:   "255.255.0.0"
46             local_mac: "00:98:28:28:14:00"
47 -
48     name: vnf
49     role: VirtualNetworkFunction
50     ip: 192.168.100.101
51     user: root
52     password: r00t
53     host: 192.168.100.101
54     key_filename: /root/.ssh/id_rsa
55     interfaces:
56         xe0:  # logical name from topology.yaml and vnfd.yaml
57             vpci:      "0000:07:00.2"
58             driver:    "i40e"
59             dpdk_port_num: 0
60             local_ip: "152.16.100.10"
61             netmask:   "255.255.0.0"
62             local_mac: "00:00:00:00:00:03"
63
64         xe1:  # logical name from topology.yaml and vnfd.yaml
65             vpci:      "0000:07:00.3"
66             driver:    "i40e"
67             dpdk_port_num: 1
68             local_ip: "152.40.40.10"
69             netmask:   "255.255.0.0"
70             local_mac: "00:00:00:00:00:04"
71
72     routing_table:
73     - network: "152.16.100.20"
74       netmask: "255.255.0.0"
75       gateway: "152.16.100.20"
76       if: "xe0"
77     - network: "152.40.40.20"
78       netmask: "255.255.0.0"
79       gateway: "152.40.40.20"
80       if: "xe1"
81
82     nd_route_tbl:
83     - network: "0064:ff9b:0:0:0:0:9810:6414"
84       netmask: "112"
85       gateway: "0064:ff9b:0:0:0:0:9810:6414"
86       if: "xe0"
87     - network: "0064:ff9b:0:0:0:0:9828:2814"
88       netmask: "112"
89       gateway: "0064:ff9b:0:0:0:0:9828:2814"
90       if: "xe1"