use of org.projectfloodlight.openflow.protocol.OFGroupMod in project open-kilda by telstra.
the class GroupInstallCommand method makeExecutePlan.
@Override
protected CompletableFuture<GroupInstallReport> makeExecutePlan(SpeakerCommandProcessor commandProcessor) throws UnsupportedSwitchOperationException, InvalidGroupIdException {
this.commandProcessor = commandProcessor;
ensureSwitchSupportGroups();
ensureGroupIdValid();
OFGroupMod groupMod = makeGroupAddOfMessage();
return writeSwitchRequest(groupMod).thenApply(ignore -> makeSuccessReport());
}
use of org.projectfloodlight.openflow.protocol.OFGroupMod in project open-kilda by telstra.
the class GroupModifyCommand method makeExecutePlan.
@Override
protected CompletableFuture<GroupInstallReport> makeExecutePlan(SpeakerCommandProcessor commandProcessor) throws UnsupportedSwitchOperationException, InvalidGroupIdException {
this.commandProcessor = commandProcessor;
ensureSwitchSupportGroups();
ensureGroupIdValid();
OFGroupMod groupMod = makeGroupModifyOfMessage();
return writeSwitchRequest(groupMod).thenApply(ignore -> makeSuccessReport());
}
Aggregations