hi,

the "body" attribute is a list of OFPTableFeaturesStats (Line 4806)
which has the "properties" attribute you are interested in.

ryu/tests/unit/ofproto/json/of13/4-56-ofp_table_features_reply.packet.json
is an example of a message.

YAMAMOTO Takashi

> Fujita-san,
> 
> To quote from the code:
> 
> Line 5222:
> 
> 
> class OFPTableFeaturesStatsReply(OFPMultipartReply):
>     """
>     Table features statistics reply message
> 
>     The switch responds with this message to a table features statistics
>     request.
> 
>     This implmentation is still incomplete.
>     Namely, this implementation does not parse ``properties`` list and
>     always reports it empty.
> 
>     ================ 
> ======================================================
>     Attribute        Description
>     ================ 
> ======================================================
>     body             List of ``OFPTableFeaturesStats`` instance
>     ================ 
> ======================================================
>     """
>     def __init__(self, datapath, type_=None, **kwargs):
>         super(OFPTableFeaturesStatsReply, self).__init__(datapath, 
> **kwargs)
> 
> I would say, this is not entirely useful, don't you think? ;) I think what 
> we really want is that properties list being parsed.
> 
> Best Regards!
> Arne Goetje (葵憶仇)
> 
> 
> 
> From:   FUJITA Tomonori <fujita.tomon...@lab.ntt.co.jp>
> To:     arne_goe...@accton.com, 
> Cc:     ryu-devel@lists.sourceforge.net
> Date:   07/28/2014 07:59 PM
> Subject:        Re: [Ryu-devel] TableFeatureStats not implemented yet
> 
> 
> 
> Hi,
> 
> On Fri, 25 Jul 2014 18:00:02 +0800
> arne_goetje <arne_goe...@accton.com> wrote:
> 
>> OFPTableFeatureStats are not implemented yet in ofproto_v1_3_parser.py 
> and 
>> ofproto_v1_4_parser.py.
> 
> I thought that there are:
> 
> https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3_parser.py#L5193
> 
> 
> Please let us know if the code doesn't work as you expect.
> 
> Thanks,
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> 
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to