Hello guys,
Please disregard my thread. It was a typo error (I used
set_ev_cls(ofp_event.EventOFPTableFeaturesStats, MAIN_DISPATCHER) instead
of set_ev_cls(ofp_event.EventOFPTableFeaturesStatsReply, MAIN_DISPATCHER) )
Regards,
--
Túlio Albuquerque Pascoal
<https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69>
<http://lattes.cnpq.br/3973060880564786>
On 2 October 2016 at 19:58, Túlio Pascoal <[email protected]> wrote:
> Hello all,
>
> I am trying to get the 'max_entries' field from the swtich tables.
>
> First I tried by OFPTableStats and EventOFPTableStatsReply, however
> 'max_entries' is just returned by these request/reply in OpenFlow 1.2 (I am
> using 1.3).
>
> I am just able to get:
>
> OFPTableStats(table_id,active_count,lookup_count,matched_count)
>
>
> So, I went to OFPTableFeaturesStats (from [1] I can get 'max_entries' from
> this). Nevertheless, I am not able to get the reply of the table features
> stats message. I tried: set_ev_cls(ofp_event.EventOFPTableFeaturesStats,
> MAIN_DISPATCHER), but it is not defined in Ryu.
>
> How can I get TableFeaturesStats reply without using ofctl_rest?
>
>
> [1] - http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#
> get-table-features
>
>
>
> Regards,
>
> --
> Túlio Albuquerque Pascoal
> <https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69>
> <http://lattes.cnpq.br/3973060880564786>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel