[ovs-discuss] writing a flow rule in OF15

Ben Warren ben at skyportsystems.com
Mon Oct 26 00:17:41 UTC 2015


Hi Anees,

Everything from “priority” on has to be a single argument according to your shell: quote it properly and don’t use any spaces.

—Ben

> On Oct 25, 2015, at 5:12 PM, Anees Mohsin Hadi Al-Najjar <a.alnajjar1 at uq.edu.au> wrote:
> 
> Dear all,
>  
> I am trying to write rules in latest OVS version, 2.4, and using OpenFlow 1.5. I am facing a problem with that.
>  
> Could you possibly tell me how to fix it?
>  
> Thanks.
>  
> My rule is:
>  
> ovs-ofctl -O OpenFlow15 add-flow br0 priority=4000, idle_time_out=0, hard_timeout=0, eth_type=0x0806, arp_op=1, eth_src="00:00:00:00:01:02", actions= set_field:2->arp_op, set_field:"00:00:00:00:01:02”->arp_tha
>  
> ovs-ofctl: 'add-flow' command takes at most 2 arguments
>  
>  
>  
> Anees
>  
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org <mailto:discuss at openvswitch.org>
> http://openvswitch.org/mailman/listinfo/discuss <http://openvswitch.org/mailman/listinfo/discuss>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151025/e7ee88e5/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3583 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151025/e7ee88e5/attachment.p7s>


More information about the discuss mailing list