of12: fix InstructionWriteMetadata json decoder
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
44e9a47fce
commit
c6343de851
@ -993,7 +993,7 @@ class OFPInstructionWriteMetadata(OFPInstruction):
|
||||
metadata_mask Metadata write bitmask
|
||||
================ ======================================================
|
||||
"""
|
||||
def __init__(self, metadata, metadata_mask, len_=None):
|
||||
def __init__(self, metadata, metadata_mask, type_=None, len_=None):
|
||||
super(OFPInstructionWriteMetadata, self).__init__()
|
||||
self.type = ofproto.OFPIT_WRITE_METADATA
|
||||
self.len = ofproto.OFP_INSTRUCTION_WRITE_METADATA_SIZE
|
||||
|
Loading…
Reference in New Issue
Block a user