mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
lib/ofctl_v1_2: Flake8 Fixes
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
b88adadec4
commit
e16faaa79c
@ -104,8 +104,9 @@ def to_actions(dp, acts):
|
||||
else:
|
||||
LOG.error('Unknown action type: %s', action_type)
|
||||
if write_actions:
|
||||
inst.append(parser.OFPInstructionActions(ofp.OFPIT_WRITE_ACTIONS,
|
||||
write_actions))
|
||||
inst.append(
|
||||
parser.OFPInstructionActions(ofp.OFPIT_WRITE_ACTIONS,
|
||||
write_actions))
|
||||
elif action_type == 'CLEAR_ACTIONS':
|
||||
inst.append(parser.OFPInstructionActions(
|
||||
ofp.OFPIT_CLEAR_ACTIONS, []))
|
||||
@ -464,7 +465,6 @@ def get_queue_stats(dp, waiters, port=None, queue_id=None):
|
||||
|
||||
|
||||
def get_queue_config(dp, port, waiters):
|
||||
ofp = dp.ofproto
|
||||
port = UTIL.ofp_port_from_user(port)
|
||||
stats = dp.ofproto_parser.OFPQueueGetConfigRequest(dp, port)
|
||||
msgs = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user