deb-ryu/ryu/ofproto
FUJITA Tomonori b5592b08ea Kill parser_stats_body_array method in OFPFlowStats class
OFPStatsReply needs to handle variable-length bodys so having two
parsers (parser_stats_body_array and parser_stats_body) doesn't make
sense. Just kill parser_stats_body_array().

cls_stats_body_cls_size is also pointless since OFPStatsReply needs to
handle variable-length bodys. OFPStatsReply class needs to know if a
stats class is array or not. So register_stats_type takes
'body_single_struct' instead of body_cls_size. We need to change this
scheme if we need to handle VendorStats in the same way (both array
and single struct). But currently we don't even have any VendorStats
implementation so let's invent something more complicated when it
becomes necessary.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Isaku Yamahata <yamahata@valinux.co.jp>
2012-05-20 12:29:21 +09:00
..
__init__.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
nx_match.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
ofproto_parser.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
ofproto_v1_0_parser.py Kill parser_stats_body_array method in OFPFlowStats class 2012-05-20 12:29:21 +09:00
ofproto_v1_0.py add Nicira Extension NXAST_OUTPUT_REG support 2012-05-14 13:53:25 +09:00
ofproto_v1_2_parser.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
ofproto_v1_2.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00