Merge "Fixed document for Grafana Port usage"
[yardstick.git] / yardstick / tests / unit / benchmark / contexts / nodes_sample_new_sriov.yaml
1 nodes:
2 -
3     name: trafficgen_1
4     role: TrafficGen
5     ip: 10.123.123.123
6     user: root
7     auth_type: password
8     password: password
9     interfaces:
10         xe0:  # logical name from topology.yaml and vnfd.yaml
11             vpci:      "0000:03:00.0"
12             driver:    ixgbe
13             dpdk_port_num: 0
14             local_ip: "152.16.100.20"
15             netmask:   "255.255.255.0"
16             local_mac:   "00:00:00:00:00:00"
17         xe1:  # logical name from topology.yaml and vnfd.yaml
18             vpci:      "0000:03:00.1"
19             driver:    ixgbe
20             dpdk_port_num: 1
21             local_ip: "152.16.100.21"
22             netmask:   "255.255.255.0"
23             local_mac:   "00:00:00:00:00:00"
24 -
25     name: sriov
26     role: Sriov1
27     ip: 10.123.123.122
28     user: root
29     auth_type: password
30     password: password
31     vf_macs:
32      - "00:00:00:00:00:00"
33      - "00:00:00:00:00:00"
34     phy_ports: # Physical ports to configure sriov
35      - "0000:06:00.0"
36      - "0000:06:00.1"
37     phy_driver:    i40e # kernel driver
38     images: "/var/lib/libvirt/images/ubuntu1.img"
39
40 -
41     name: vnf
42     role: vnf
43     ip: 10.123.123.121
44     user: root
45     auth_type: password
46     password: password
47     host: 10.123.123.121 #BM host == ip, SRIOV & ovs-dpdk host == compute node.
48     interfaces:
49         xe0:  # logical name from topology.yaml and vnfd.yaml
50             vpci:      "0000:06:00.0"
51             driver:    i40e
52             dpdk_port_num: 0
53             local_ip: "152.16.100.19"
54             netmask:   "255.255.255.0"
55             local_mac:   "00:00:00:00:00:00"
56
57         xe1:  # logical name from topology.yaml and vnfd.yaml
58             vpci:      "0000:06:00.1"
59             driver:    i40e
60             dpdk_port_num: 1
61             local_ip: "152.16.40.19"
62             netmask:   "255.255.255.0"
63             local_mac:   "00:00:00:00:00:00"
64     routing_table:
65     - network: "152.16.100.20"
66       netmask: "255.255.255.0"
67       gateway: "152.16.100.20"
68       if: "xe0"
69     - network: "152.16.40.20"
70       netmask: "255.255.255.0"
71       gateway: "152.16.40.20"
72       if: "xe1"
73     nd_route_tbl:
74     - network: "0064:ff9b:0:0:0:0:9810:6414"
75       netmask: "112"
76       gateway: "0064:ff9b:0:0:0:0:9810:6414"
77       if: "xe0"
78     - network: "0064:ff9b:0:0:0:0:9810:2814"
79       netmask: "112"
80       gateway: "0064:ff9b:0:0:0:0:9810:2814"
81       if: "xe1"
82