Merge "New storage test case: Bonnie++"
[yardstick.git] / tests / unit / benchmark / contexts / sriov_sample_ssh_key.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.10.10.10
20     auth_type: ssh_key
21     user: root
22     ssh_port: 22
23     key_filename: /root/.ssh/id_rsa
24     interfaces:
25         xe0:  # logical name from topology.yaml and vnfd.yaml
26             vpci:      "0000:03:00.0"
27             driver:    ixgbe
28             dpdk_port_num: 0
29             local_ip: "152.16.100.20"
30             netmask:   "255.255.255.0"
31             local_mac:   "90:e2:ba:77:ce:68"
32         xe1:  # logical name from topology.yaml and vnfd.yaml
33             vpci:      "0000:03:00.1"
34             driver:    ixgbe
35             dpdk_port_num: 1
36             local_ip: "152.16.100.21"
37             netmask:   "255.255.255.0"
38             local_mac:   "90:e2:ba:77:ce:69"
39 -
40     name: sriov
41     role: Sriov
42     ip: 10.10.10.11
43     auth_type: ssh_key
44     user: root
45     ssh_port: 22
46     key_filename: /root/.ssh/id_rsa
47     vf_macs:
48      - "00:00:00:71:7d:25"
49      - "00:00:00:71:7d:26"
50     phy_ports: # Physical ports to configure sriov
51      - "0000:06:00.0"
52      - "0000:06:00.1"
53     phy_driver:    i40e # kernel driver
54     images: "/var/lib/libvirt/images/ubuntu1.img"