[ovs-discuss] Openflow rules for openvswitch

Justin Pettit jpettit at ovn.org
Wed May 11 18:56:08 UTC 2016


> On May 11, 2016, at 7:04 AM, Владислав Гришин <vlad_grishin at hotmail.com> wrote:
> 
> Hello.
> 
> Create the following topology:
>                   ovs4
>                      |
>                      |
>                      |
>                      |
> ovs3 -------ovs1--------ovs2 
>                          
> To switch to an external ovs1 interface. The rest of the switches are connected using type = patch.
> The Flow entery in openflow must specify the output port, but switches ovs2, ovs3, ovs4 not connected to an external interface.
> 
> How to use openflow open access to tcp port - 80?
> ovs-ofctl add-flow -O OpenFlow13 ovs2 idle_timeout=0,tcp,dl_type=0x0800,nw_proto=6,tp_dst=80,action=??????

If I understand correctly, you need a flow that outputs to the patch port that connects to ovs1. Then, in ovs1 you'll need a flow that outputs to the physical port. 

--Justin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160511/0b2d284b/attachment-0002.html>


More information about the discuss mailing list