-/*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.openflowjava.protocol.impl.util;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public final class InstructionConstants {\r
-\r
- /** Openflow v1.3 OFPIT_GOTO_TABLE code */\r
- public static final byte GOTO_TABLE_TYPE = 1;\r
- /** Openflow v1.3 OFPIT_WRITE_METADATA code */\r
- public static final byte WRITE_METADATA_TYPE = 2;\r
- /** Openflow v1.3 OFPIT_WRITE_ACTIONS code */\r
- public static final byte WRITE_ACTIONS_TYPE = 3;\r
- /** Openflow v1.3 OFPIT_APPLY_ACTIONS code */\r
- public static final byte APPLY_ACTIONS_TYPE = 4;\r
- /** Openflow v1.3 OFPIT_CLEAR_ACTIONS code */\r
- public static final byte CLEAR_ACTIONS_TYPE = 5;\r
- /** Openflow v1.3 OFPIT_METER code */\r
- public static final byte METER_TYPE = 6;\r
-\r
- /** PADDING in OFPIT_GOTO_TABLE */\r
- public static final byte PADDING_IN_GOTO_TABLE = 3;\r
- /** PADDING in OFPIT_WRITE_METADATA */\r
- public static final byte PADDING_IN_WRITE_METADATA = 4;\r
- /** PADDING in OFPIT_WRITE_ACTIONS, OFPIT_APPLY_ACTIONS\r
- * and OFPIT_CLEAR_ACTIONS */\r
- public static final byte PADDING_IN_ACTIONS_INSTRUCTION = 4;\r
-\r
- /** Openflow v1.3 header length (padded) */\r
- public static final byte STANDARD_INSTRUCTION_LENGTH = 8;\r
- /** Openflow v1.3 OFPIT_WRITE_METADATA length */\r
- public static final byte WRITE_METADATA_LENGTH = 24;\r
- /** Openflow v1.3 header length (only type and length fields) */\r
- public static final byte INSTRUCTION_IDS_LENGTH = 4;\r
-\r
- private InstructionConstants() {\r
- throw new UnsupportedOperationException("Utility class shouldn't be instantiated");\r
- }\r
-}\r
+/*
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.openflowjava.protocol.impl.util;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public final class InstructionConstants {
+
+ /** Openflow v1.3 OFPIT_GOTO_TABLE code */
+ public static final byte GOTO_TABLE_TYPE = 1;
+ /** Openflow v1.3 OFPIT_WRITE_METADATA code */
+ public static final byte WRITE_METADATA_TYPE = 2;
+ /** Openflow v1.3 OFPIT_WRITE_ACTIONS code */
+ public static final byte WRITE_ACTIONS_TYPE = 3;
+ /** Openflow v1.3 OFPIT_APPLY_ACTIONS code */
+ public static final byte APPLY_ACTIONS_TYPE = 4;
+ /** Openflow v1.3 OFPIT_CLEAR_ACTIONS code */
+ public static final byte CLEAR_ACTIONS_TYPE = 5;
+ /** Openflow v1.3 OFPIT_METER code */
+ public static final byte METER_TYPE = 6;
+
+ /** PADDING in OFPIT_GOTO_TABLE */
+ public static final byte PADDING_IN_GOTO_TABLE = 3;
+ /** PADDING in OFPIT_WRITE_METADATA */
+ public static final byte PADDING_IN_WRITE_METADATA = 4;
+ /** PADDING in OFPIT_WRITE_ACTIONS, OFPIT_APPLY_ACTIONS
+ * and OFPIT_CLEAR_ACTIONS */
+ public static final byte PADDING_IN_ACTIONS_INSTRUCTION = 4;
+
+ /** Openflow v1.3 header length (padded) */
+ public static final byte STANDARD_INSTRUCTION_LENGTH = 8;
+ /** Openflow v1.3 OFPIT_WRITE_METADATA length */
+ public static final byte WRITE_METADATA_LENGTH = 24;
+ /** Openflow v1.3 header length (only type and length fields) */
+ public static final byte INSTRUCTION_IDS_LENGTH = 4;
+
+ private InstructionConstants() {
+ throw new UnsupportedOperationException("Utility class shouldn't be instantiated");
+ }
+}