Re: [Ryu-devel] Draft OFPMeterMod messages

2013-05-28 Thread Isaku Yamahata
On Tue, May 28, 2013 at 06:39:51PM +0200, Philipp Aeschlimann wrote: > Great, thanks, will tweak the code and propose a patch soon. > > > And OFPMeterBandHader should have serialize method, not parser method. > > Yes, I agree. I think the parser method is from > OFPMeterConfigStats(object): to pa

Re: [Ryu-devel] Draft OFPMeterMod messages

2013-05-28 Thread Philipp Aeschlimann
Great, thanks, will tweak the code and propose a patch soon. > And OFPMeterBandHader should have serialize method, not parser method. Yes, I agree. I think the parser method is from OFPMeterConfigStats(object): to parse the response? If yes, both is needed > >> Snippet from ofproto_v1_3_parser.p

Re: [Ryu-devel] Draft OFPMeterMod messages

2013-05-28 Thread Isaku Yamahata
On Tue, May 28, 2013 at 11:45:55AM +0200, Philipp Aeschlimann wrote: > Hey there > > See the code below. I have a proposal/first-draft for OFPMeterMod > messages but I have a problem with the understanding of the > OF-switch-spec 1.3.0 and also with the calculation of the "len" > attribute in RYU

[Ryu-devel] Draft OFPMeterMod messages

2013-05-28 Thread Philipp Aeschlimann
Hey there See the code below. I have a proposal/first-draft for OFPMeterMod messages but I have a problem with the understanding of the OF-switch-spec 1.3.0 and also with the calculation of the "len" attribute in RYU for OFPMeterBandHeader: - Can you send multiple meter-bands in one OFPMeterMod m