Merge "New storage test case: Bonnie++"
[yardstick.git] / tests / unit / benchmark / contexts / ovs_sample_ssh_key.yaml
1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10 # Sample config file about the POD information, including the
11 # name/IP/user/ssh key of Bare Metal and Controllers/Computes
12 #
13 # The options of this config file include:
14 # name: the name of this node
15 # role: node's role, support role: Master/Controller/Comupte/BareMetal
16 # ip: the node's IP address
17 # user: the username for login
18 # key_filename:the path of the private key file for login
19
20 nodes:
21 -
22     name: trafficgen_1
23     role: TrafficGen
24     ip: 10.10.10.10
25     auth_type: ssh_key
26     user: root
27     ssh_port: 22
28     key_filename: /root/.ssh/id_rsa
29     interfaces:
30         xe0:  # logical name from topology.yaml and vnfd.yaml
31             vpci:      "0000:03:00.0"
32             driver:    ixgbe
33             dpdk_port_num: 0
34             local_ip: "152.16.100.20"
35             netmask:   "255.255.255.0"
36             local_mac:   "90:e2:ba:77:ce:68"
37         xe1:  # logical name from topology.yaml and vnfd.yaml
38             vpci:      "0000:03:00.1"
39             driver:    ixgbe
40             dpdk_port_num: 1
41             local_ip: "152.16.100.21"
42             netmask:   "255.255.255.0"
43             local_mac:   "90:e2:ba:77:ce:69"
44 -
45     name: ovs
46     role: Ovsdpdk
47     ip: 10.223.197.222
48     auth_type: ssh_key
49     user: root
50     ssh_port: 22
51     key_filename: /root/.ssh/id_rsa
52     vpath: "/usr/local/"
53     vports:
54      - dpdkvhostuser0
55      - dpdkvhostuser1
56     vports_mac:
57      - "00:00:00:00:00:03"
58      - "00:00:00:00:00:04"
59     phy_ports: # Physical ports to configure ovs
60      - "0000:06:00.0"
61      - "0000:06:00.1"
62     flow:
63      - ovs-ofctl add-flow br0 in_port=1,action=output:3
64      - ovs-ofctl add-flow br0 in_port=3,action=output:1
65      - ovs-ofctl add-flow br0 in_port=4,action=output:2
66      - ovs-ofctl add-flow br0 in_port=2,action=output:4
67     phy_driver:    i40e # kernel driver
68     images: "/var/lib/libvirt/images/ubuntu1.img"
69