Adding new SRIOV Standalone Context
[yardstick.git] / tests / unit / benchmark / contexts / nodes_duplicate_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: sriov
56     role: Sriov
57     ip: 10.123.123.111
58     user: root
59     auth_type: password
60     password: password
61     vf_macs:
62      - "00:00:00:00:00:00"
63      - "00:00:00:00:00:00"
64     phy_ports: # Physical ports to configure sriov
65      - "0000:06:00.0"
66      - "0000:06:00.1"
67     phy_driver:    i40e # kernel driver
68     images: "/var/lib/libvirt/images/ubuntu1.img"
69
70 -
71     name: vnf
72     role: vnf
73     ip: 10.123.123.121
74     user: root
75     auth_type: password
76     password: password
77     host: 10.123.123.121 #BM host == ip, SRIOV & ovs-dpdk host == compute node.
78     interfaces:
79         xe0:  # logical name from topology.yaml and vnfd.yaml
80             vpci:      "0000:06:00.0"
81             driver:    i40e
82             dpdk_port_num: 0
83             local_ip: "152.16.100.19"
84             netmask:   "255.255.255.0"
85             local_mac:   "00:00:00:00:00:00"
86
87         xe1:  # logical name from topology.yaml and vnfd.yaml
88             vpci:      "0000:06:00.1"
89             driver:    i40e
90             dpdk_port_num: 1
91             local_ip: "152.16.40.19"
92             netmask:   "255.255.255.0"
93             local_mac:   "00:00:00:00:00:00"
94     routing_table:
95     - network: "152.16.100.20"
96       netmask: "255.255.255.0"
97       gateway: "152.16.100.20"
98       if: "xe0"
99     - network: "152.16.40.20"
100       netmask: "255.255.255.0"
101       gateway: "152.16.40.20"
102       if: "xe1"
103     nd_route_tbl:
104     - network: "0064:ff9b:0:0:0:0:9810:6414"
105       netmask: "112"
106       gateway: "0064:ff9b:0:0:0:0:9810:6414"
107       if: "xe0"
108     - network: "0064:ff9b:0:0:0:0:9810:2814"
109       netmask: "112"
110       gateway: "0064:ff9b:0:0:0:0:9810:2814"
111       if: "xe1"
112