On Thu, Mar 14, 2013 at 7:13 AM, NGUYEN Xuan Nam <xuan-nam.ngu...@inria.fr> wrote: > Hello, > > I found the way to configure the flow limit, however, the flow limit seems > not work. I am still able to insert more than the limitation. Did I forget > something ? > > Nam > > sudo ovs-vsctl add bridge s1 flow_tables 1=@nam1 -- --id=@nam1 create > flow_table flow_limit=1 > > > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo > ovs-vsctl list bridge > _uuid : 2ca85b58-a002-4239-8fc0-f2bb9963789d > controller : [048c4dce-6e05-4337-8d7e-5a12072d6c76] > > datapath_id : "0000000000000001" > datapath_type : "" > external_ids : {} > fail_mode : secure > flood_vlans : [] > flow_tables : {1=a2359008-da54-43ea-80fe-10580c4b7d09} > > mirrors : [] > name : "s1" > netflow : [] > other_config : {datapath-id="0000000000000001"} > ports : [20124670-1666-4268-820f-d993441d1300, > 63a4f5d2-80f9-49f2-881a-d94d7d49c2c7, 82f6b83d-4932-4816-a5b3-5762b3fd7633, > a1bf57bb-2b2e-430a-90f3-97911b496428] > > sflow : [] > status : {} > stp_enable : false > > _uuid : 244fd892-57c0-4bf0-a94b-6f1f51683591 > controller : [12c6369d-f810-436f-9306-0edcb154774c] > datapath_id : "000092d84f24f04b" > datapath_type : "" > external_ids : {} > fail_mode : [] > flood_vlans : [] > flow_tables : {} > mirrors : [] > name : br-int > netflow : [] > other_config : {} > ports : [04add379-539d-40b7-9aa3-9474699ef112, > 51267413-0cbc-42dc-8dce-99faf7d6fa23, e335a241-a1a3-4606-9816-c7fc499d587e] > sflow : [] > status : {} > stp_enable : false > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo > ovs-vsctl list flow_table > _uuid : a2359008-da54-43ea-80fe-10580c4b7d09 > flow_limit : 1 > groups : [] > name : [] > overflow_policy : [] > > > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo > ovs-ofctl add-flow system@s1 > priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=output:2 > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo > ovs-ofctl add-flow system@s1 > priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=3,actions=output:2 > > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo > ovs-ofctl dump-flows s1 > NXST_FLOW reply (xid=0x4): > cookie=0x0, duration=17.935s, table=0, n_packets=0, n_bytes=0, > idle_timeout=50000, idle_age=17, priority=65535,udp,in_port=1 > actions=output:2 > cookie=0x0, duration=12.927s, table=0, n_packets=0, n_bytes=0, > idle_timeout=50000, idle_age=12, priority=65535,udp,in_port=3 > actions=output:2 > namnx@namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$
You put a limit on table 1 and then inserted in table 0. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss