Once the meter is configured, it's identified by the ID you set before. You have to update the instruction set, something like this:
inst_meter = ofp_parser.OFPInstructionMeter(1) Then add the inst_meter to the instructions-set as you would do it for a ofp_parser.OFPInstructionActions that is documented here https://github.com/osrg/ryu/wiki/OpenFlowV1.3-in-Ryu in the chapter: Modify Flow Entry Message. g *pae 2013/7/15 Abhimanyu singh <[email protected]>: > The Patch seems to be working fine for OFPMeterBandDrop() messages . Cannot > test for Dscp remark as it is not supported by the Switch that am using . > Is the support for meters added in the Actions field too ? Cannot find a > OFPAction class for processing Flows with meters . > > > On Fri, Jul 12, 2013 at 2:41 PM, Isaku Yamahata <[email protected]> > wrote: >> >> Can you please check the patch I sent out? >> http://thread.gmane.org/gmane.network.ryu.devel/3467 >> >> On Fri, Jul 12, 2013 at 06:48:09AM +0000, Abhimanyu wrote: >> > Does the current ryu code support OFPMeterMod() messages ? >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > See everything from the browser to the database with AppDynamics >> > Get end-to-end visibility with application monitoring from AppDynamics >> > Isolate bottlenecks and diagnose root cause in seconds. >> > Start your free trial of AppDynamics Pro today! >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Ryu-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/ryu-devel >> > >> >> -- >> yamahata > > -- Philipp Aeschlimann General-Wille-Strasse 147 8706 Meilen Tel. +41 (0)44 556 72 47 mailto:[email protected] ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
