1 # Copyright (c) 2016 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
29 phy_ports: # Physical ports to configure ovs
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"
53 phy_ports: # Physical ports to configure ovs
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"