mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-29 20:42:09 +01:00
Merge pull request #20 from nttmcl/apgw-fix-modify-meter-regression
Apgw fix modify meter regression
This commit is contained in:
commit
8e25cdb4f8
@ -541,9 +541,9 @@ class RpcOFPManager(app_manager.RyuApp):
|
||||
elif (ofmsg.command is dp.ofproto.OFPMC_DELETE and
|
||||
ofmsg.meter_id in self.monitored_meters):
|
||||
del self.monitored_meters[ofmsg.meter_id]
|
||||
elif (ofmsg.command is dp.ofproto.OFPMC_MODIFY and
|
||||
contexts is not None):
|
||||
raise RPCError('METER_MOD with contexts is not supported')
|
||||
elif ofmsg.command is dp.ofproto.OFPMC_MODIFY:
|
||||
if contexts is not None:
|
||||
raise RPCError('METER_MOD with contexts is not supported')
|
||||
else:
|
||||
raise RPCError('unknown meter_mod command')
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user