changed order of sigtype and sigid
Conflicts:
java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
index 01a1fa5..9fb3fd4 100644
--- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
+++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
@@ -236,23 +236,23 @@
public final static MatchField<ClassId> BSN_VLAN_XLATE_PORT_GROUP_ID =
new MatchField<ClassId>("bsn_vlan_xlate_port_group_id", MatchFields.BSN_VLAN_XLATE_PORT_GROUP_ID);
-
- public final static MatchField<CircuitSignalID> OCH_SIGID =
- new MatchField<CircuitSignalID>("och_sigid",
- MatchFields.OCH_SIGID);
public final static MatchField<U8> OCH_SIGTYPE =
new MatchField<U8>("och_sigtype",
MatchFields.OCH_SIGTYPE);
-
- public final static MatchField<CircuitSignalID> OCH_SIGID_BASIC =
- new MatchField<CircuitSignalID>("och_sigid_basic",
- MatchFields.OCH_SIGID);
public final static MatchField<U8> OCH_SIGTYPE_BASIC =
new MatchField<U8>("och_sigtype_basic",
MatchFields.OCH_SIGTYPE_BASIC);
-
+
+
+ public final static MatchField<CircuitSignalID> OCH_SIGID =
+ new MatchField<CircuitSignalID>("och_sigid",
+ MatchFields.OCH_SIGID);
+
+ public final static MatchField<CircuitSignalID> OCH_SIGID_BASIC =
+ new MatchField<CircuitSignalID>("och_sigid_basic",
+ MatchFields.OCH_SIGID);
public String getName() {
return name;
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
index ccf56b2..3bf717b 100644
--- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
+++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
@@ -57,9 +57,8 @@
BSN_UDF7,
BSN_TCP_FLAGS,
BSN_VLAN_XLATE_PORT_GROUP_ID,
- OCH_SIGID,
OCH_SIGTYPE,
- OCH_SIGID_BASIC,
OCH_SIGTYPE_BASIC,
-;
+ OCH_SIGID,
+ OCH_SIGID_BASIC,;
}
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java
index f347387..7a304f6 100644
--- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java
+++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java
@@ -37,6 +37,21 @@
return length;
}
+ public byte getGridType() {
+ return gridType;
+ }
+
+ public byte getChannelSpacing() {
+ return channelSpacing;
+ }
+
+ public short getChannelNumber() {
+ return channelNumber;
+ }
+
+ public short getSpectralWidth() {
+ return spectralWidth;
+ }
public void write6Bytes(ChannelBuffer c) {
c.writeByte(gridType);