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 at 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 at 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 at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo
ovs-ofctl add-flow system at s1
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=output:2
namnx at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo
ovs-ofctl add-flow system at s1
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=3,actions=output:2
namnx at 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 at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$
Post by NGUYEN Xuan NamHello,
I am using Open Vswitch 1.9 and I would like to change the OpenFlow
flow table limit to 1000
However, I see the flow_table is null.
I cannot add an entry using ovs-vsctl (console output below)
Did I forget something?
Thanks
Nam
*namnx at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo
ovs-vsctl add flow_table s1 flow_limit 1000
ovs-vsctl: no row "s1" in table Flow_Table
*
*namnx at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo
ovs-vsctl list bridge*
_uuid : b3bcdd28-523d-4f31-b257-7c9668fa277b
controller : [3b7bb795-6764-417f-9f3f-143ed21ed1a9]
datapath_id : "0000000000000002"
datapath_type : ""
external_ids : {}
fail_mode : secure
flood_vlans : []
flow_tables : {}
mirrors : []
name : "s2"
netflow : []
other_config : {datapath-id="0000000000000002"}
ports : [08400634-c64f-47d0-ad02-ded3c8bb49dd,
717f2ac6-30e7-4a5f-b5d2-9ec2fe85ddd6,
dbc1db80-4887-4d77-ac71-0a16f17f5508]
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
_uuid : 76a0d196-fd56-4549-94ca-85d37f40f37f
controller : [6ab8fc85-1ed5-4a47-be30-3774281aeeb6]
datapath_id : "0000000000000001"
datapath_type : ""
external_ids : {}
fail_mode : secure
flood_vlans : []
flow_tables : {}
mirrors : []
name : "s1"
netflow : []
other_config : {datapath-id="0000000000000001"}
ports : [8a740629-08ea-45c0-9003-bb69da01a875,
ae3d238f-c702-47a6-b8da-e9073a403c5e,
d015f828-fa1f-47da-9b1c-2a78d1f766c4]
sflow : []
status : {}
stp_enable : false
*namnx at namnx-HP-Z400-Workstation:~/Downloads/openvswitch-1.9.0$ sudo
ovs-ofctl **dump-flows s1*
cookie=0x0, duration=76.917s, table=0, n_packets=77, n_bytes=7546,
idle_timeout=60, idle_age=0,
priority=0,icmp,in_port=1,vlan_tci=0x0000,dl_src=86:10:75:ee:07:65,dl_dst=06:d6:83:b9:aa:87,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,icmp_type=8,icmp_code=0
actions=output:2
cookie=0x0, duration=76.916s, table=0, n_packets=77, n_bytes=7546,
idle_timeout=60, idle_age=0,
priority=0,icmp,in_port=2,vlan_tci=0x0000,dl_src=06:d6:83:b9:aa:87,dl_dst=86:10:75:ee:07:65,nw_src=10.0.0.2,nw_dst=10.0.0.1,nw_tos=0,icmp_type=0,icmp_code=0
actions=output:1
cookie=0x0, duration=71.906s, table=0, n_packets=4, n_bytes=168,
idle_timeout=60, idle_age=5,
priority=0,arp,in_port=1,vlan_tci=0x0000,dl_src=86:10:75:ee:07:65,dl_dst=06:d6:83:b9:aa:87,arp_spa=10.0.0.1,arp_tpa=10.0.0.2,arp_op=2
actions=output:2
cookie=0x0, duration=71.906s, table=0, n_packets=4, n_bytes=168,
idle_timeout=60, idle_age=5,
priority=0,arp,in_port=2,vlan_tci=0x0000,dl_src=06:d6:83:b9:aa:87,dl_dst=86:10:75:ee:07:65,arp_spa=10.0.0.2,arp_tpa=10.0.0.1,arp_op=1
actions=output:1
Post by Amit TewariHi ,
In 1.4.3 this setting for flow limitation is not supported.
*Flow_table* has been introduced by which we can limit flow table
entries size. you can verify from *man ovs-vswitchd.conf.db* in 1.4.3
to see if this Flow_table exists or not.
In *1.7.1 Flow_table * do exists.
*Amit Tewari*
*Module Lead*
On Thu, Jan 24, 2013 at 9:42 PM, NGUYEN Xuan Nam
Hello,
I am working with OpenFlow and OVSwitch version 1.4.3. I read
somewhere said that OVSwitch's flow table supports up to 10^6
flow entries.
Is it possible to change this limitations (for example, 1000 flow entries)?
If yes, how to do that ?
Thanks.
Nam
_______________________________________________
discuss mailing list
discuss at openvswitch.org <mailto:discuss at openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss at openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20130314/d97e39d1/attachment.htm>