Merge "Add pod.yaml files for Apex"
[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         dut_result_dir: "/mnt/ixia"
30         version: 8.1
31     interfaces:
32         xe0:  # logical name from topology.yaml and vnfd.yaml
33             vpci: "2:5" # Card:port
34             driver:    "none"
35             dpdk_port_num: 0
36             local_ip: "152.16.100.20"
37             netmask:   "255.255.0.0"
38             local_mac: "00:98:10:64:14:00"
39         xe1:  # logical name from topology.yaml and vnfd.yaml
40             vpci: "2:6" # [(Card, port)]
41             driver:    "none"
42             dpdk_port_num: 1
43             local_ip: "152.40.40.20"
44             netmask:   "255.255.0.0"
45             local_mac: "00:98:28:28:14:00"
46 -
47     name: vnf
48     role: VirtualNetworkFunction
49     ip: 192.168.100.101
50     user: root
51     password: r00t
52     host: 192.168.100.101
53     key_filename: /root/.ssh/id_rsa
54     interfaces:
55         xe0:  # logical name from topology.yaml and vnfd.yaml
56             vpci:      "0000:07:00.2"
57             driver:    "i40e"
58             dpdk_port_num: 0
59             local_ip: "152.16.100.10"
60             netmask:   "255.255.0.0"
61             local_mac: "00:00:00:00:00:03"
62
63         xe1:  # logical name from topology.yaml and vnfd.yaml
64             vpci:      "0000:07:00.3"
65             driver:    "i40e"
66             dpdk_port_num: 1
67             local_ip: "152.40.40.10"
68             netmask:   "255.255.0.0"
69             local_mac: "00:00:00:00:00:04"
70
71     routing_table:
72     - network: "152.16.100.20"
73       netmask: "255.255.0.0"
74       gateway: "152.16.100.20"
75       if: "xe0"
76     - network: "152.40.40.20"
77       netmask: "255.255.0.0"
78       gateway: "152.40.40.20"
79       if: "xe1"
80
81     nd_route_tbl:
82     - network: "0064:ff9b:0:0:0:0:9810:6414"
83       netmask: "112"
84       gateway: "0064:ff9b:0:0:0:0:9810:6414"
85       if: "xe0"
86     - network: "0064:ff9b:0:0:0:0:9828:2814"
87       netmask: "112"
88       gateway: "0064:ff9b:0:0:0:0:9828:2814"
89       if: "xe1"