org.projectfloodlight.openflow.protocol.ver14.OFInstructionsVer14 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openflowj Show documentation
Show all versions of openflowj Show documentation
OpenFlowJ API supporting OpenFlow versions 1.0 through 1.5.1, generated by LoxiGen
The newest version!
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the source distribution
// Automatically generated by LOXI from template of_factory_class.java
// Do not modify
package org.projectfloodlight.openflow.protocol.ver14;
import org.projectfloodlight.openflow.protocol.*;
import org.projectfloodlight.openflow.protocol.action.*;
import org.projectfloodlight.openflow.protocol.actionid.*;
import org.projectfloodlight.openflow.protocol.bsntlv.*;
import org.projectfloodlight.openflow.protocol.errormsg.*;
import org.projectfloodlight.openflow.protocol.meterband.*;
import org.projectfloodlight.openflow.protocol.instruction.*;
import org.projectfloodlight.openflow.protocol.instructionid.*;
import org.projectfloodlight.openflow.protocol.match.*;
import org.projectfloodlight.openflow.protocol.stat.*;
import org.projectfloodlight.openflow.protocol.oxm.*;
import org.projectfloodlight.openflow.protocol.oxs.*;
import org.projectfloodlight.openflow.protocol.queueprop.*;
import org.projectfloodlight.openflow.types.*;
import org.projectfloodlight.openflow.util.*;
import org.projectfloodlight.openflow.exceptions.*;
import java.util.List;
import java.util.Set;
public class OFInstructionsVer14 implements OFInstructions {
public final static OFInstructionsVer14 INSTANCE = new OFInstructionsVer14();
public OFInstructionApplyActions.Builder buildApplyActions() {
return new OFInstructionApplyActionsVer14.Builder();
}
public OFInstructionApplyActions applyActions(List actions) {
return new OFInstructionApplyActionsVer14(
actions
);
}
public OFInstructionClearActions clearActions() {
return OFInstructionClearActionsVer14.INSTANCE;
}
public OFInstructionGotoTable.Builder buildGotoTable() {
return new OFInstructionGotoTableVer14.Builder();
}
public OFInstructionGotoTable gotoTable(TableId tableId) {
return new OFInstructionGotoTableVer14(
tableId
);
}
public OFInstructionWriteActions.Builder buildWriteActions() {
return new OFInstructionWriteActionsVer14.Builder();
}
public OFInstructionWriteActions writeActions(List actions) {
return new OFInstructionWriteActionsVer14(
actions
);
}
public OFInstructionWriteMetadata.Builder buildWriteMetadata() {
return new OFInstructionWriteMetadataVer14.Builder();
}
public OFInstructionWriteMetadata writeMetadata(U64 metadata, U64 metadataMask) {
return new OFInstructionWriteMetadataVer14(
metadata,
metadataMask
);
}
public OFInstructionBsnArpOffload bsnArpOffload() {
return OFInstructionBsnArpOffloadVer14.INSTANCE;
}
public OFInstructionBsnAutoNegotiation bsnAutoNegotiation() {
return OFInstructionBsnAutoNegotiationVer14.INSTANCE;
}
public OFInstructionBsnDeny bsnDeny() {
return OFInstructionBsnDenyVer14.INSTANCE;
}
public OFInstructionBsnDhcpOffload bsnDhcpOffload() {
return OFInstructionBsnDhcpOffloadVer14.INSTANCE;
}
public OFInstructionBsnDirectedBroadcast bsnDirectedBroadcast() {
return OFInstructionBsnDirectedBroadcastVer14.INSTANCE;
}
public OFInstructionBsnDisableL3 bsnDisableL3() {
return OFInstructionBsnDisableL3Ver14.INSTANCE;
}
public OFInstructionBsnDisableSplitHorizonCheck bsnDisableSplitHorizonCheck() {
throw new UnsupportedOperationException("OFInstructionBsnDisableSplitHorizonCheck not supported in version 1.4");
}
public OFInstructionBsnDisableSrcMacCheck bsnDisableSrcMacCheck() {
return OFInstructionBsnDisableSrcMacCheckVer14.INSTANCE;
}
public OFInstructionBsnDisableVlanCounters bsnDisableVlanCounters() {
return OFInstructionBsnDisableVlanCountersVer14.INSTANCE;
}
public OFInstructionBsnHashSelect.Builder buildBsnHashSelect() {
return new OFInstructionBsnHashSelectVer14.Builder();
}
public OFInstructionBsnHashSelect bsnHashSelect(Set flags) {
return new OFInstructionBsnHashSelectVer14(
flags
);
}
public OFInstructionBsnInternalPriority.Builder buildBsnInternalPriority() {
return new OFInstructionBsnInternalPriorityVer14.Builder();
}
public OFInstructionBsnInternalPriority bsnInternalPriority(long value) {
return new OFInstructionBsnInternalPriorityVer14(
value
);
}
public OFInstructionBsnNdpOffload bsnNdpOffload() {
return OFInstructionBsnNdpOffloadVer14.INSTANCE;
}
public OFInstructionBsnPacketOfDeath bsnPacketOfDeath() {
return OFInstructionBsnPacketOfDeathVer14.INSTANCE;
}
public OFInstructionBsnPermit bsnPermit() {
return OFInstructionBsnPermitVer14.INSTANCE;
}
public OFInstructionBsnPrioritizePdus bsnPrioritizePdus() {
return OFInstructionBsnPrioritizePdusVer14.INSTANCE;
}
public OFInstructionBsnRequireVlanXlate bsnRequireVlanXlate() {
return OFInstructionBsnRequireVlanXlateVer14.INSTANCE;
}
public OFInstructionBsnSpanDestination bsnSpanDestination() {
return OFInstructionBsnSpanDestinationVer14.INSTANCE;
}
public OFInstructionMeter.Builder buildMeter() {
return new OFInstructionMeterVer14.Builder();
}
public OFInstructionMeter meter(long meterId) {
return new OFInstructionMeterVer14(
meterId
);
}
public OFInstructionStatTrigger.Builder buildStatTrigger() {
throw new UnsupportedOperationException("OFInstructionStatTrigger not supported in version 1.4");
}
public OFInstructionStatTrigger statTrigger(Set flags, OFOxsList thresholds) {
throw new UnsupportedOperationException("OFInstructionStatTrigger not supported in version 1.4");
}
public OFMessageReader getReader() {
return OFInstructionVer14.READER;
}
public OFVersion getVersion() {
return OFVersion.OF_14;
}
}