Hi,

On 2016年01月14日 20:23, zeng mark wrote:
> Dears, I meet some error in my test scenario.
> I will very appreciate if someone can give me any advice.
> 
> My target is to add some fields in OFP_PORT_STATS.

Are you trying to change the message structure from that of OpenFlow Spec?
If so, Ryu will try to parse the packet as OpenFlow Spec structure,
then Ryu may assume it malformed.

If you want to parse your original structured packets,
you need to modify the following class.
  
https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3_parser.py#L4184-L4195

or...

Your implementation is diverged from OpenFlow Spec,
I think it better to use "Experimenter Multipart" messages instead.

Thanks,
Iwase

> I implement ofsoftswitch13 firmware at TP-Link 1043 and successfully connect 
> to Ryu.
> Also, I add a new field in  OFP_PORT_STATS at switch.
> When ryu sends the requested OFP_PORT_STATS message, switch can successfully 
> reply the message.
> 
> But, when ryu receive the replyed OFP_PORT_STATS, it can't correctly parse 
> the packet.
> it seems that errors occur by the buffer size. 
> I have tried some methods but it was not solved. 
> 
> 
> Thanks for your help.
> 
> 
>  
>  
> 
>  
>  
> 
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to