2013/3/21 jian lee <[email protected]>:
> Thanks for your help!
> I have being looking for NXST_FLOW and nx_flow_stats_request which you
> mentioned last time all the day,and only find them in open vswitch's
> nicira-ext.h,but in ryu I found nothing.And you know if you want to find a

Hi, I've implemented nx_flow_stats_request before. I'll send a patch
later. The patch doesn't have all field parser, but I think it would
help you.

> ipv4 flow table,you can use OFPFlowStatsRequest() in ryu's
> ofproto_v1_0_parser.py
> -------------------code--------------------------------------------------------------------------------------------------
>
> @_set_msg_reply(OFPFlowStatsReply)
>
> @_set_stats_type(ofproto_v1_0.OFPST_FLOW, OFPFlowStats)
>
> @_set_msg_type(ofproto_v1_0.OFPT_STATS_REQUEST)
>
> class OFPFlowStatsRequest(OFPFlowStatsRequestBase):
>
>     def __init__(self, datapath, flags, match, table_id, out_port):
>
>         super(OFPFlowStatsRequest, self).__init__(
>
>             datapath, flags, match, table_id, out_port)
>
> -----------------------------------------------------------------------
>
> and in ofproto_v1_0.py, you have defined OFPT_STATS_REQUEST,but for nicira
> extention there are only
> --------------------------------------------------------------
>
> # enum nicira_type (abridged)
> NXT_ROLE_REQUEST = 10
>
> NXT_ROLE_REPLY = 11
>
> NXT_SET_FLOW_FORMAT = 12
>
> NXT_FLOW_MOD = 13
>
> NXT_FLOW_REMOVED = 14
>
> NXT_FLOW_MOD_TABLE_ID = 15
>
> NXT_SET_PACKET_IN_FORMAT = 16
>
> NXT_PACKET_IN = 17
>
> NXT_FLOW_AGE = 18
>
> NXT_SET_ASYNC_CONFIG = 19
>
>  NXT_SET_CONTROLLER_ID = 20
> ----------------------------------------------
> so I can't find NXST_FLOW,if I want to send a request in NXST_FLOW form from
> the controller,what should I do?Should I define the NXST_FLOW label first?
> Best Regards!
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to