Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-29 Thread Wenqin SHAO
Hi Ben, Thank you very much for explaining all that. It's crystal clear for me now. Regards, Wenqin On Tue, Jul 29, 2014 at 6:55 PM, Ben Pfaff wrote: > On Mon, Jul 28, 2014 at 12:02:22PM +0200, Wenqin SHAO wrote: > > Second issues comes with the use of set_filed option while formulating > > a

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-29 Thread Ben Pfaff
On Mon, Jul 28, 2014 at 12:02:22PM +0200, Wenqin SHAO wrote: > Second issues comes with the use of set_filed option while formulating > actions: > > sudo ovs-ofctl -O OpenFlow13 add-flow s1 > actions=set_field:01:02:03:04:05:06->dl_dst,output:1 > ovs-ofctl: 01:02:03:04:05:06-: missing `->' > > I

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-29 Thread Ben Pfaff
On Mon, Jul 28, 2014 at 12:02:22PM +0200, Wenqin SHAO wrote: > Hi list, > > New to here, and I encountered some seem-to-be-very-basic problems > concerning flow installation. Here it goes: > > First, it's about matching normalisation, I tried to install a rule > manually via ovs-ofctl. > > sudo

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Kmindg G
On Mon, Jul 28, 2014 at 6:14 PM, Wenqin SHAO wrote: > match normalisation resolved: > > checked OF norms again, now working, the right way of formulating rules > should be: > > sudo ovs-ofctl -O OpenFlow13 add-flow s1 > ip,tcp,dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00:00:00,nw_src=192.168.0.1,n

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Wenqin SHAO
match normalisation resolved: checked OF norms again, now working, the right way of formulating rules should be: sudo ovs-ofctl -O OpenFlow13 add-flow s1 ip,tcp,dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00:00:00,nw_src=192.168.0.1,nw_dst=8.8.8.8,tp_src=7788,actions=output:1 On Mon, Jul 28, 2014

[ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Wenqin SHAO
Hi list, New to here, and I encountered some seem-to-be-very-basic problems concerning flow installation. Here it goes: First, it's about matching normalisation, I tried to install a rule manually via ovs-ofctl. sudo ovs-ofctl -O OpenFlow13 add-flow s1 dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00