requestPorts();
requestGroupFeatures();
requestMeterFeatures();
- } else if (version == OFConstants.OFP_VERSION_1_0) {
- // Because the GetFeaturesOutput contains information about the port
- // in OF1.0 (that we would otherwise get from the PortDesc) we have to pass
- // it up for parsing to convert into a NodeConnectorUpdate
- enqueueMessage(featureOutput);
}
requestDesc();
protected void postHandshakeBasic(GetFeaturesOutput featureOutput,
Short negotiatedVersion) {
version = negotiatedVersion;
+ if (version == OFConstants.OFP_VERSION_1_0) {
+ // Because the GetFeaturesOutput contains information about the port
+ // in OF1.0 (that we would otherwise get from the PortDesc) we have to pass
+ // it up for parsing to convert into a NodeConnectorUpdate
+ //
+ // BUG-1988 - this must be the first item in queue in order not to get behind link-up message
+ enqueueMessage(featureOutput);
+ }
+
OFSessionUtil.registerSession(this, featureOutput, negotiatedVersion);
hsPool.shutdown();
hsPool.purge();