mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-23 09:32:07 +01:00
of13: set the default attributes for OFPMeterMod
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
393e354b97
commit
87fba4e199
@ -3357,7 +3357,8 @@ class OFPMeterMod(MsgBase):
|
||||
OFPMeterBandExperimenter
|
||||
================ ======================================================
|
||||
"""
|
||||
def __init__(self, datapath, command, flags, meter_id, bands):
|
||||
def __init__(self, datapath, command=ofproto_v1_3.OFPMC_ADD,
|
||||
flags=ofproto_v1_3.OFPMF_KBPS, meter_id=1, bands=[]):
|
||||
super(OFPMeterMod, self).__init__(datapath)
|
||||
self.command = command
|
||||
self.flags = flags
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user