of: Fix Enum Name for Bad Instruction Code Corrected Reset Count enum name
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
fad987254d
commit
33ecedd81e
@ -349,7 +349,7 @@ OFPFC_DELETE_STRICT = 4 # Strictly match wildcards and priority.
|
||||
OFPFF_SEND_FLOW_REM = 1 << 0 # Send flow removed message when flow
|
||||
# expires or is deleted.
|
||||
OFPFF_CHECK_OVERLAP = 1 << 1 # Check for overlapping entries first.
|
||||
OFPFF_RESET_COUNT = 1 << 2 # Reset flow packet and byte counts.
|
||||
OFPFF_RESET_COUNTS = 1 << 2 # Reset flow packet and byte counts.
|
||||
|
||||
# struct ofp_group_mod
|
||||
OFP_GROUP_MOD_PACK_STR = '!HBxI'
|
||||
|
@ -368,7 +368,7 @@ OFP_DEFAULT_PRIORITY = 0x8000
|
||||
OFPFF_SEND_FLOW_REM = 1 << 0 # Send flow removed message when flow
|
||||
# expires or is deleted.
|
||||
OFPFF_CHECK_OVERLAP = 1 << 1 # Check for overlapping entries first.
|
||||
OFPFF_RESET_COUNT = 1 << 2 # Reset flow packet and byte counts.
|
||||
OFPFF_RESET_COUNTS = 1 << 2 # Reset flow packet and byte counts.
|
||||
OFPFF_NO_PKT_COUNTS = 1 << 3 # Don't keep track of packet count.
|
||||
OFPFF_NO_BYT_COUNTS = 1 << 4 # Don't keep track of byte count.
|
||||
|
||||
|
@ -536,7 +536,7 @@ OFP_DEFAULT_PRIORITY = 0x8000
|
||||
OFPFF_SEND_FLOW_REM = 1 << 0 # Send flow removed message when flow
|
||||
# expires or is deleted.
|
||||
OFPFF_CHECK_OVERLAP = 1 << 1 # Check for overlapping entries first.
|
||||
OFPFF_RESET_COUNT = 1 << 2 # Reset flow packet and byte counts.
|
||||
OFPFF_RESET_COUNTS = 1 << 2 # Reset flow packet and byte counts.
|
||||
OFPFF_NO_PKT_COUNTS = 1 << 3 # Don't keep track of packet count.
|
||||
OFPFF_NO_BYT_COUNTS = 1 << 4 # Don't keep track of byte count.
|
||||
|
||||
|
@ -323,7 +323,7 @@ class TestOfprot12(unittest.TestCase):
|
||||
def test_enum_ofp_flow_mod_flags(self):
|
||||
eq_(OFPFF_SEND_FLOW_REM, 1 << 0)
|
||||
eq_(OFPFF_CHECK_OVERLAP, 1 << 1)
|
||||
eq_(OFPFF_RESET_COUNT, 1 << 2)
|
||||
eq_(OFPFF_RESET_COUNTS, 1 << 2)
|
||||
|
||||
def test_struct_ofp_group_mod(self):
|
||||
eq_(OFP_GROUP_MOD_PACK_STR, '!HBxI')
|
||||
|
Loading…
Reference in New Issue
Block a user