On Fri, 28 Mar 2014 11:15:24 -0700 cheers <[email protected]> wrote: > According to OF 1.3 spec, > > The flags field may include a combination of following flags: > > /* Meter configuration flags */ > enum ofp_meter_flags { > }; > > OFPMF_KBPS > OFPMF_PKTPS > OFPMF_BURST > OFPMF_STATS > = 1 << 0, /* Rate value in kb/s (kilo-bit per second). */ = 1 << 1, /* Rate > value in packet/sec. */ > =1<<2, /*Doburstsize.*/ > = 1 << 3, /* Collect statistics. */ > > so, my question is whether and how i can specify multiples flags in one > meter_mod messages?
How about: OFPMeterMod(datapath=datapath, flags=OFPMF_KBPS|OFPMF_BURST, ...) ? ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
