Oops, Ryu misses the definitions. They needs to be added.
Patches are welcome. (Or wait until I or someone else find the time to
address it).

thanks,

On Thu, Mar 21, 2013 at 08:46:44AM +0800, jian lee wrote:
> 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 
> 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!

-- 
yamahata

------------------------------------------------------------------------------
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

Reply via email to