This set is after OFPMeterMod patches:
https://www.mail-archive.com/[email protected]/msg06274.html
The switch test tool is now enabled to send packets continuously as follows:
"tests":[
{
"ingress":{
"packets":{
"data":[
"ethernet(ethertype=2048)",
"ipv4(proto=6)",
"tcp()",
"str(\"\\x11\" * (1500 - 54))"
],
"pktps":1000,
"duration_time":30
}
},
"egress":[
"ethernet(ethertype=2048)",
"ipv4(proto=6)",
"tcp()",
"str(\"\\x11\" * (1500 - 54))"
]
}
]
'data' is a packet that is sent continuously.
'pktps' is the number of packets that is sent per second (default: 1000).
'duration_time' is the number of seconds to which the tool continues sending
packets (default: 30).
Yuichi Ito (5):
sw test tool: Enable parsing a new 'ingress' format
sw test tool: Add support for sending packets continuously
sw test tool: Refactor packet sending processes
sw test tool: Rename STATE_UNMATCH_PKT_SEND to STATE_SEND_BARRIER
sw test tool: Enable sending packets continuously
ryu/tests/switch/tester.py | 150 ++++++++++++++++++++++++++++++++++++--------
1 file changed, 125 insertions(+), 25 deletions(-)
--
1.7.10.4
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel