/** * Compares flows by priority */ @Override public boolean areObjectsEqual(final Flow statsFlow, final Flow storedFlow) { if (storedFlow.getPriority() == null) { if (statsFlow.getPriority() != null && statsFlow.getPriority() != 0x8000) { return false; } } else if (!statsFlow.getPriority().equals(storedFlow.getPriority())) { return false; } return true; } };
private static void salToOFFlowPriority(Flow flow, FlowModInputBuilder flowMod) { if (flow.getPriority() != null) { flowMod.setPriority(flow.getPriority()); } else { flowMod.setPriority(DEFAULT_PRIORITY); } }
/** * Determine whether the given MD-SAL flow entry is identical to this * instance or not. * * @param flow The MD-SAL flow entry to be compared. * @return {@code true} if identical. Otherwise {@code false}. */ public boolean equalsFlow( org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow flow) { return (tableId == getInteger(flow.getTableId(), FIELD_TABLE_ID) && priority == getInteger(flow.getPriority(), FIELD_PRIORITY) && flowMatch.equals(flow.getMatch())); }
public FlowAddedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlowAddedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlowUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlowUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public GetFlowStatisticsFromFlowTableInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); }
public BatchRemoveFlowsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public BatchRemoveFlowsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public AddFlowInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public AddFlowInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlowAndStatisticsMapListBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); }
public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._barrier = arg.isBarrier(); this._bufferId = arg.getBufferId(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._instructions = arg.getInstructions(); this._match = arg.getMatch(); this._outGroup = arg.getOutGroup(); this._outPort = arg.getOutPort(); this._strict = arg.isStrict(); this._cookie = arg.getCookie(); this._hardTimeout = arg.getHardTimeout(); this._idleTimeout = arg.getIdleTimeout(); this._priority = arg.getPriority(); this._tableId = arg.getTableId(); }
public UpdatedBatchedFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public UpdatedBatchedFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlatBatchAddFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlatBatchAddFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public OriginalBatchedFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public OriginalBatchedFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public StaleFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public StaleFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlatBatchRemoveFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlatBatchRemoveFlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public RemoveFlowInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public RemoveFlowInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public VtnFlowEntryBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public VtnFlowEntryBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); } public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
public GetAggregateFlowStatisticsFromFlowTableForGivenMatchInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) { this._match = arg.getMatch(); this._instructions = arg.getInstructions(); this._containerName = arg.getContainerName(); this._cookieMask = arg.getCookieMask(); this._bufferId = arg.getBufferId(); this._outPort = arg.getOutPort(); this._outGroup = arg.getOutGroup(); this._flags = arg.getFlags(); this._flowName = arg.getFlowName(); this._installHw = arg.isInstallHw(); this._barrier = arg.isBarrier(); this._strict = arg.isStrict(); this._priority = arg.getPriority(); this._idleTimeout = arg.getIdleTimeout(); this._hardTimeout = arg.getHardTimeout(); this._cookie = arg.getCookie(); this._tableId = arg.getTableId(); }