use of org.openkilda.floodlight.api.request.rulemanager.InstallSpeakerCommandsRequest in project open-kilda by telstra.
the class UpdateYFlowRulesAction method buildYFlowInstallRequest.
protected InstallSpeakerCommandsRequest buildYFlowInstallRequest(SwitchId switchId, PathId pathId, CommandContext context) {
List<OfCommand> ofCommands = buildYFlowOfCommands(switchId, pathId);
UUID commandId = commandIdGenerator.generate();
MessageContext messageContext = new MessageContext(commandId.toString(), context.getCorrelationId());
return new InstallSpeakerCommandsRequest(messageContext, switchId, commandId, ofCommands);
}
Aggregations