Most of the priority definitions don't look wrong, but here are a few things:
- You can't specify a priority over 65535 (I see a 65536 in there),
since it's expecting a 16-bit value.
- Your dl_type won't work with your nw_src and nw_dst definitions,
since it's not an IP ethertype.
- I'm not sure it's in your file, but you can't put numbers before your
flow definitions.
- I'd use "ovs-ofctl add-flows <file>", since that's closer to what you
want to do.
--Justin
On Apr 26, 2013, at 8:45 PM, Prashant Chougule <[email protected]> wrote:
> hi,
>
> I am trying to add file with 1000 rules, it will give me unknown keyword
> priority as a error if push individual flow it is working,
> some of the rules from the file
>
>
> 1
> priority=65536,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.109,nw_dst=249.145.51.3,actions=output:2
> 2
> priority=60001,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.62,nw_dst=74.104.165.223,actions=output:2
> 3
> priority=60002,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.43,nw_dst=249.145.51.3,actions=output:2
> 4
> priority=60003,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.34,nw_dst=249.145.51.3,actions=output:2
> 5
> priority=60004,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.13,nw_dst=45.128.3.166,actions=output:2
> 6
> priority=60005,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=81.110.124.0,nw_dst=249.145.51.3,actions=output:2
> 7
> priority=60006,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=82.129.237.14,nw_dst=249.142.21.146,actions=output:2
> 8
> priority=60007,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=82.129.237.25,nw_dst=249.142.21.146,actions=output:2
> 9
> priority=60008,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=82.129.237.58,nw_dst=249.142.21.146,actions=output:2
> 10
> priority=60009,idle_timeout=50000,dl_type=0x060,in_port=ANY,nw_src=82.129.237.181,nw_dst=45.128.3.166,actions=output:2
> it is standard rule set i put it in openflow format,
> try with ./ovs-ofctl add-flow br0 -<file it show me ovs-ofctl: unknown
> keyword priority. is their any wrong in my syntax?
>
> --
> Thanks &Regards,
> Prashant Chougule.
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss