- private static final int VALUE_LENGTH = 1;
- private static final int NXM_FIELD_CODE = 38;
- public static final MatchEntrySerializerKey<Nxm1Class, NxmNxNsi> SERIALIZER_KEY = new MatchEntrySerializerKey<>(
- EncodeConstants.OF13_VERSION_ID, Nxm1Class.class, NxmNxNsi.class);
- public static final MatchEntryDeserializerKey DESERIALIZER_KEY = new MatchEntryDeserializerKey(
- EncodeConstants.OF13_VERSION_ID, OxmMatchConstants.NXM_1_CLASS, NXM_FIELD_CODE);
+ private static final int VALUE_LENGTH = Byte.BYTES;
+ private static final int NXM_FIELD_CODE = 5;
+ public static final MatchEntrySerializerKey<ExperimenterClass, NxmNxNsi> SERIALIZER_KEY =
+ createSerializerKey(
+ EncodeConstants.OF_VERSION_1_3,
+ NiciraConstants.NX_NSH_VENDOR_ID,
+ NxmNxNsi.class);
+ public static final MatchEntryDeserializerKey DESERIALIZER_KEY =
+ createDeserializerKey(
+ EncodeConstants.OF_VERSION_1_3,
+ NiciraConstants.NX_NSH_VENDOR_ID,
+ NXM_FIELD_CODE);