java_gen: Declare fragmentation flags in OFConfigFlags as MaskedEnumGroup
diff --git a/java_gen/java_model.py b/java_gen/java_model.py
index 282cf98..76a584c 100644
--- a/java_gen/java_model.py
+++ b/java_gen/java_model.py
@@ -156,7 +156,10 @@
# registry of MaskedEnumGroups (see above).
# map: ${java_enum_name}: tuple(MaskedEnumGroup)
masked_enum_groups = defaultdict(lambda: (),
- OFPortState= (MaskedEnumGroup("stp_flags", mask="STP_MASK", members=set(("STP_LISTEN", "STP_LEARN", "STP_FORWARD", "STP_BLOCK"))), )
+ OFPortState = (MaskedEnumGroup("stp_flags", mask="STP_MASK", members=set(("STP_LISTEN", "STP_LEARN", "STP_FORWARD", "STP_BLOCK"))), ),
+ OFConfigFlags = (
+ MaskedEnumGroup("frag_flags", mask="FRAG_MASK", members=set(("FRAG_NORMAL", "FRAG_DROP", "FRAG_REASM"))),
+ )
)
# represents a metadata property associated with an EnumClass