ScenarioFactory.appendPostHandshakeScenario(handshakeScenario, true);
WaitForMessageEvent flowModEvent = new WaitForMessageEvent(ByteBufUtils
.hexStringToBytes(
- "04 0e 00 58 00 00 00 05 00 00 00 00 00 00 00 0a "
+ "04 0e 00 58 00 00 00 03 00 00 00 00 00 00 00 0a "
+ "00 00 00 00 00 00 00 0a 00 00 00 00 00 00 80 00 "
+ "ff ff ff ff ff ff ff ff ff ff ff ff 00 01 00 00 "
+ "00 01 00 16 80 00 0a 02 08 00 80 00 19 08 0a 00 "
* @param switchVersionBitmap
* @param auxId
* @param pluginVersionBitmap
- * @param addSleep if true - then add final sleep {@link #DEFAULT_SCENARIO_SLEEP}
+ * @param addSleep if true - then add final sleep {@link #DEFAULT_SCENARIO_SLEEP}
* @return stack filled with Handshake messages
*/
public static Deque<ClientEvent> createHandshakeScenarioVBM(
+ "00 01 02 03 04 05 06 07 " + "00 01 02 03 01 "
+ Integer.toHexString(auxId)
+ " 00 00 00 01 02 03 00 01 02 03")));
-
+
if (addSleep) {
addSleep(stack);
}
-
+
return stack;
}
-
+
/**
* @param stack
* @param addSleep if true - then add final sleep {@link #DEFAULT_SCENARIO_SLEEP}
"00 0d 00 00 00 00 00 00" )));
stack.addFirst(new WaitForMessageEvent(ByteBufUtils
.hexStringToBytes("04 12 00 10 00 00 00 02 "+
- "00 08 00 00 00 00 00 00" )));
- stack.addFirst(new WaitForMessageEvent(ByteBufUtils
- .hexStringToBytes("04 12 00 10 00 00 00 03 "+
- "00 0b 00 00 00 00 00 00" )));
- stack.addFirst(new WaitForMessageEvent(ByteBufUtils
- .hexStringToBytes("04 12 00 10 00 00 00 04 "+
"00 00 00 00 00 00 00 00" )));
-
+
if (addSleep) {
addSleep(stack);
}
-
+
return stack;
}
-
+
/**
* @param stack
*/
// post-handshake actions
if (version == OFConstants.OFP_VERSION_1_3) {
requestPorts();
- requestGroupFeatures();
- requestMeterFeatures();
}
requestDesc();
int i = 1;
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
executeNow();
Assert.assertEquals(ConnectionConductor.CONDUCTOR_STATE.WORKING,
int i = 1;
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(i++, "multipartRequestInput"));
executeNow();