HI Sir,
yes!
after change timeout to 5s, i can get all flows.
Thanks for great help
Mark
On 8/5/15 5:34 PM, Yi Tseng wrote:
Hello
I think it spent too much time to reply flow status(about 6.5
seconds), and
default timeout is 1 second in ofctl.
https://github.com/osrg/ryu/blob/master/ryu/lib/ofctl_v1_3.py#L29
--
Yi
2015-08-05 14:20 GMT+08:00 mark <[email protected]
<mailto:[email protected]>>:
Dear All,
i'm using RYU v3.19 to test Noviflow switch in lab.
*[ something i did ]*
1. push 21,000 flow through RYU to Novi switch.
2. using curl to query those 21,000 flow.
during my test,
install/get 18000 entry is OK, but with 21,000 flow, ryu can't get
all 21,000 entry.
tcpdump on RYU,
can see Novi send much MultiPart_Reply to RYU.
looks like ryu didn't return results to CURL client.
i got empty list, below.
*mark@Ryu-1:~$ ./get_flow.py 10.1.9.51 8080 49
['http://10.1.9.51:8080/stats/flow/49']
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 10 100 10 0 0 9 0 0:00:01 0:00:01
--:--:-- 9
###############################################################################
{
"49": []
}
###############################################################################
mark@Ryu-1:~$ curl -X GET http://10.1.9.51:8080/stats/flow/49
{"49": []}mark@Ryu-1:~$**
*
*[ here are my test env. and log ]*
1. ryu_ip: 10.1.9.51 / Novi_ip: 10.1.25.23
2. Novi switch flow entry below:
*Table 0 (21000 entries)*
[FLOW_ENTRIES]
[FLOW_ENTRIES1]
Timestamp = Wed Aug 5 13:49:44 2015
ofp_version = 4
Priority = 9500
Idle_timeout = 0
Hard_timeout = 0
Packet_count = 0
Byte_count = 0
Cookie = 251c
Send_flow_rem = false
[MATCHFIELDS]
OFPXMT_OFB_IN_PORT = 13
OFPXMT_OFB_ETH_TYPE = 0x806
OFPXMT_OFB_VLAN_VID = 506(OFPVID_PRESENT=1)
OFPXMT_OFB_ARP_SPA = 11.0.0.1 & 255.255.255.255
OFPXMT_OFB_ARP_TPA = 20.0.1.244 & 255.255.255.255
OFPXMT_OFB_ARP_SHA = 11:00:00:00:00:01
OFPXMT_OFB_ARP_THA = 20:00:00:00:01:f4
[INSTRUCTIONS]
[OFPIT_APPLY_ACTIONS]
[ACTIONS]
[OFPAT_SET_FIELD]
OFPXMT_OFB_VLAN_VID = 507(OFPVID_PRESENT=0)
[OFPAT_OUTPUT]
port = 14
[FLOW_ENTRIES2]
Timestamp = Wed Aug 5 13:49:44 2015
ofp_version = 4
Priority = 9500
Idle_timeout = 0
Hard_timeout = 0
Packet_count = 0
Byte_count = 0
Cookie = 251c
Send_flow_rem = false
[MATCHFIELDS]
>>>
3. ryu debug log as attached "0805_ryu+21000.txt"
4. attached pcap file i capture on RYU, as "0805_21000.pcap"
Please kindly help to verify this issue.
BR,
Mark
====================================================================================
This message may contain information which is private, privileged
or confidential of INNO-Tech Network & Service Inc.
If you are not the intended recipient of this message, please
notify the sender and destroy/delete the message.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon this information,
by persons or entities other than the intended recipient is
prohibited.
====================================================================================
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
====================================================================================
This message may contain information which is private, privileged or confidential of INNO-Tech Network & Service Inc.
If you are not the intended recipient of this message, please notify the sender and destroy/delete the message.
Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information,
by persons or entities other than the intended recipient is prohibited.
====================================================================================
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel