blob: 3e8fbd92569437dc98639cbdda7970c1ba984cac [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
2// Copyright (c) 2011, 2012 Open Networking Foundation
3// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
4// This library was generated by the LoxiGen Compiler.
5// See the file LICENSE.txt which should have been included in the source distribution
6
7// Automatically generated by LOXI from template of_factory_class.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol.ver12;
11
12import org.projectfloodlight.openflow.protocol.*;
13import org.projectfloodlight.openflow.protocol.action.*;
14import org.projectfloodlight.openflow.protocol.actionid.*;
15import org.projectfloodlight.openflow.protocol.bsntlv.*;
16import org.projectfloodlight.openflow.protocol.errormsg.*;
17import org.projectfloodlight.openflow.protocol.meterband.*;
18import org.projectfloodlight.openflow.protocol.instruction.*;
19import org.projectfloodlight.openflow.protocol.instructionid.*;
20import org.projectfloodlight.openflow.protocol.match.*;
21import org.projectfloodlight.openflow.protocol.oxm.*;
22import org.projectfloodlight.openflow.protocol.queueprop.*;
23import org.projectfloodlight.openflow.types.*;
24import org.projectfloodlight.openflow.util.*;
25import org.projectfloodlight.openflow.exceptions.*;
26import java.util.List;
27
28
29public class OFInstructionsVer12 implements OFInstructions {
30 public final static OFInstructionsVer12 INSTANCE = new OFInstructionsVer12();
31
32
33
34
35 public OFInstructionApplyActions.Builder buildApplyActions() {
36 return new OFInstructionApplyActionsVer12.Builder();
37 }
38 public OFInstructionApplyActions applyActions(List<OFAction> actions) {
39 return new OFInstructionApplyActionsVer12(
40 actions
41 );
42 }
43
44 public OFInstructionClearActions clearActions() {
45 return OFInstructionClearActionsVer12.INSTANCE;
46 }
47
48 public OFInstructionGotoTable.Builder buildGotoTable() {
49 return new OFInstructionGotoTableVer12.Builder();
50 }
51 public OFInstructionGotoTable gotoTable(TableId tableId) {
52 return new OFInstructionGotoTableVer12(
53 tableId
54 );
55 }
56
57 public OFInstructionWriteActions.Builder buildWriteActions() {
58 return new OFInstructionWriteActionsVer12.Builder();
59 }
60 public OFInstructionWriteActions writeActions(List<OFAction> actions) {
61 return new OFInstructionWriteActionsVer12(
62 actions
63 );
64 }
65
66 public OFInstructionWriteMetadata.Builder buildWriteMetadata() {
67 return new OFInstructionWriteMetadataVer12.Builder();
68 }
69 public OFInstructionWriteMetadata writeMetadata(U64 metadata, U64 metadataMask) {
70 return new OFInstructionWriteMetadataVer12(
71 metadata,
72 metadataMask
73 );
74 }
75
76 public OFInstructionBsnArpOffload bsnArpOffload() {
77 throw new UnsupportedOperationException("OFInstructionBsnArpOffload not supported in version 1.2");
78 }
79
80 public OFInstructionBsnDeny bsnDeny() {
81 throw new UnsupportedOperationException("OFInstructionBsnDeny not supported in version 1.2");
82 }
83
84 public OFInstructionBsnDhcpOffload bsnDhcpOffload() {
85 throw new UnsupportedOperationException("OFInstructionBsnDhcpOffload not supported in version 1.2");
86 }
87
88 public OFInstructionBsnDisableSplitHorizonCheck bsnDisableSplitHorizonCheck() {
89 throw new UnsupportedOperationException("OFInstructionBsnDisableSplitHorizonCheck not supported in version 1.2");
90 }
91
92 public OFInstructionBsnDisableSrcMacCheck bsnDisableSrcMacCheck() {
93 throw new UnsupportedOperationException("OFInstructionBsnDisableSrcMacCheck not supported in version 1.2");
94 }
95
96 public OFInstructionBsnDisableVlanCounters bsnDisableVlanCounters() {
97 throw new UnsupportedOperationException("OFInstructionBsnDisableVlanCounters not supported in version 1.2");
98 }
99
100 public OFInstructionBsnPacketOfDeath bsnPacketOfDeath() {
101 throw new UnsupportedOperationException("OFInstructionBsnPacketOfDeath not supported in version 1.2");
102 }
103
104 public OFInstructionBsnPermit bsnPermit() {
105 throw new UnsupportedOperationException("OFInstructionBsnPermit not supported in version 1.2");
106 }
107
108 public OFInstructionBsnPrioritizePdus bsnPrioritizePdus() {
109 throw new UnsupportedOperationException("OFInstructionBsnPrioritizePdus not supported in version 1.2");
110 }
111
112 public OFInstructionBsnRequireVlanXlate bsnRequireVlanXlate() {
113 throw new UnsupportedOperationException("OFInstructionBsnRequireVlanXlate not supported in version 1.2");
114 }
115
116 public OFInstructionMeter.Builder buildMeter() {
117 throw new UnsupportedOperationException("OFInstructionMeter not supported in version 1.2");
118 }
119 public OFInstructionMeter meter(long meterId) {
120 throw new UnsupportedOperationException("OFInstructionMeter not supported in version 1.2");
121 }
122
123 public OFMessageReader<OFInstruction> getReader() {
124 return OFInstructionVer12.READER;
125 }
126
127
128 public OFVersion getVersion() {
129 return OFVersion.OF_12;
130 }
131}