Fixed document for Grafana Port usage
[yardstick.git] / tests / unit / benchmark / contexts / nodes_sample_new.yaml
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: 10.123.123.123
20     user: root
21     auth_type: password
22     password: password
23     interfaces:
24         xe0:  # logical name from topology.yaml and vnfd.yaml
25             vpci:      "0000:03:00.0"
26             driver:    ixgbe
27             dpdk_port_num: 0
28             local_ip: "152.16.100.20"
29             netmask:   "255.255.255.0"
30             local_mac:   "00:00:00:00:00:00"
31         xe1:  # logical name from topology.yaml and vnfd.yaml
32             vpci:      "0000:03:00.1"
33             driver:    ixgbe
34             dpdk_port_num: 1
35             local_ip: "152.16.100.21"
36             netmask:   "255.255.255.0"
37             local_mac:   "00:00:00:00:00:00"
38 -
39     name: sriov
40     role: Sriov
41     ip: 10.123.123.122
42     user: root
43     auth_type: password
44     password: password
45     vf_macs:
46      - "00:00:00:00:00:00"
47      - "00:00:00:00:00:00"
48     phy_ports: # Physical ports to configure sriov
49      - "0000:06:00.0"
50      - "0000:06:00.1"
51     phy_driver:    i40e # kernel driver
52     images: "/var/lib/libvirt/images/ubuntu1.img"
53
54 -
55     name: vnf
56     role: vnf
57     ip: 10.123.123.121
58     user: root
59     auth_type: password
60     password: password
61     host: 10.123.123.121 #BM host == ip, SRIOV & ovs-dpdk host == compute node.
62     interfaces:
63         xe0:  # logical name from topology.yaml and vnfd.yaml
64             vpci:      "0000:06:00.0"
65             driver:    i40e
66             dpdk_port_num: 0
67             local_ip: "152.16.100.19"
68             netmask:   "255.255.255.0"
69             local_mac:   "00:00:00:00:00:00"
70
71         xe1:  # logical name from topology.yaml and vnfd.yaml
72             vpci:      "0000:06:00.1"
73             driver:    i40e
74             dpdk_port_num: 1
75             local_ip: "152.16.40.19"
76             netmask:   "255.255.255.0"
77             local_mac:   "00:00:00:00:00:00"
78     routing_table:
79     - network: "152.16.100.20"
80       netmask: "255.255.255.0"
81       gateway: "152.16.100.20"
82       if: "xe0"
83     - network: "152.16.40.20"
84       netmask: "255.255.255.0"
85       gateway: "152.16.40.20"
86       if: "xe1"
87     nd_route_tbl:
88     - network: "0064:ff9b:0:0:0:0:9810:6414"
89       netmask: "112"
90       gateway: "0064:ff9b:0:0:0:0:9810:6414"
91       if: "xe0"
92     - network: "0064:ff9b:0:0:0:0:9810:2814"
93       netmask: "112"
94       gateway: "0064:ff9b:0:0:0:0:9810:2814"
95       if: "xe1"
96