- private OFConstants() {
- throw new UnsupportedOperationException("OF plugin Constants holder class");
- }
-
- /** enum ofp_port_no, reserved port: process with normal L2/L3 switching */
- public static final short OFPP_NORMAL = ((short)0xfffa);
- /** enum ofp_port_no, reserved port: all physical ports except input port */
- public static final short OFPP_ALL = ((short)0xfffc);
- /** enum ofp_port_no, reserved port: local openflow port */
- public static final short OFPP_LOCAL = ((short)0xfffe);
-
- /** openflow protocol 1.0 - version identifier */
- public static final short OFP_VERSION_1_0 = 0x01;
- /** openflow protocol 1.3 - version identifier */
- public static final short OFP_VERSION_1_3 = 0x04;
+ /** openflow protocol 1.0 - version identifier. */
+ public static final Uint8 OFP_VERSION_1_0 = Uint8.ONE;
+ /** openflow protocol 1.3 - version identifier. */
+ public static final Uint8 OFP_VERSION_1_3 = Uint8.valueOf(0x04);