Search in sources :

Example 1 with OFGroupMod

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());
}
Also used : OFGroupMod(org.projectfloodlight.openflow.protocol.OFGroupMod)

Example 2 with OFGroupMod

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());
}
Also used : OFGroupMod(org.projectfloodlight.openflow.protocol.OFGroupMod)

Aggregations

OFGroupMod (org.projectfloodlight.openflow.protocol.OFGroupMod)2