On Fri, 28 Mar 2014 13:23:35 +0900
Yuichi Ito <[email protected]> wrote:

> This set is after OFPMeterMod patches and continuously packet-sending patches:
> https://www.mail-archive.com/[email protected]/msg06274.html
> https://www.mail-archive.com/[email protected]/msg06277.html
> 
> The switch test tool is now enabled to analyze throughput as follows:
> 
>         "tests":[
>             {
>                 "ingress":{
>                     "packets":{
>                         "data":[
>                             "ethernet(ethertype=2048)",
>                             "ipv4(proto=6)",
>                             "tcp()",
>                             "str(\"\\x11\" * (1500 - 54))"
>                         ],
>                         "pktps":1000,
>                         "duration_time":30
>                     }
>                 },
>                 "egress":{
>                     "throughput":[
>                         {
>                             "OFPMatch":{
>                                 "oxm_fields":[
>                                     {
>                                         "OXMTlv":{
>                                             "field":"in_port",
>                                             "value":2
>                                         }
>                                     }
>                                 ]
>                             },
>                             "kbps":1000
>                         }
>                     ]
>                 }
>             }
>         ]
> 
> 'throughput' is a list of OFPMatch and expected throughput.
> 'OFPMatch' is a match condition installed in tester_sw.
> The switch test tool counts packets that match to the condition during 
> receiving packets to calculate throughput.
> Expected throughput is one of the following:
>   - 'kbps':  the throughput in kilobits per second.
>   - 'pktps': the throughput in packets per second.
> The tool reports errors when the throughput is outside of the range of plus 
> or minus 10 % of the expected throughput.
> For example, the throughput that is over 1100Kbps causes an error when "kbps" 
> is 1000.
> 
> 
> Yuichi Ito (6):
>   sw test tool: Enable parsing a new 'egress' format
>   sw test tool: Add support for deletion of flows for throughput analysis
>   sw test tool: Add support for installation of flows for throughput analysis
>   sw test tool: Add support for getting throughput
>   sw test tool: Enable throughput analysis
>   sw test tool: Add support for throughput analysis
> 
>  ryu/tests/switch/tester.py |  196 
> +++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 177 insertions(+), 19 deletions(-)

Applied the all patches, thanks a lot!

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to