Merge "Improve "get_server" function in Kubernetes context"
[yardstick.git] / yardstick / tests / unit / benchmark / contexts / nodes_duplicate_sample_ovs.yaml
1 # Copyright (c) 2016 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 nodes:
15 -
16     name: ovs
17     role: test 
18     ip: 10.223.197.222
19     user: root
20     auth_type: password
21     password: intel123
22     vpath: "/usr/local/"
23     vports:
24      - dpdkvhostuser0
25      - dpdkvhostuser1
26     vports_mac:
27      - "00:00:00:00:00:03"
28      - "00:00:00:00:00:04"
29     phy_ports: # Physical ports to configure ovs
30      - "0000:06:00.0"
31      - "0000:06:00.1"
32     flow:
33      - ovs-ofctl add-flow br0 in_port=1,action=output:3
34      - ovs-ofctl add-flow br0 in_port=3,action=output:1
35      - ovs-ofctl add-flow br0 in_port=4,action=output:2
36      - ovs-ofctl add-flow br0 in_port=2,action=output:4
37     phy_driver:    i40e # kernel driver
38     images: "/var/lib/libvirt/images/ubuntu1.img"
39 -
40     name: ovs
41     role: test
42     ip: 10.223.197.112
43     user: root
44     auth_type: password
45     password: intel123
46     vpath: "/usr/local/"
47     vports:
48      - dpdkvhostuser0
49      - dpdkvhostuser1
50     vports_mac:
51      - "00:00:00:00:00:03"
52      - "00:00:00:00:00:04"
53     phy_ports: # Physical ports to configure ovs
54      - "0000:06:00.0"
55      - "0000:06:00.1"
56     flow:
57      - ovs-ofctl add-flow br0 in_port=1,action=output:3
58      - ovs-ofctl add-flow br0 in_port=3,action=output:1
59      - ovs-ofctl add-flow br0 in_port=4,action=output:2
60      - ovs-ofctl add-flow br0 in_port=2,action=output:4
61     phy_driver:    i40e # kernel driver
62     images: "/var/lib/libvirt/images/ubuntu1.img"
63