blob: f96b112fca76a21059a14933bc1969e57c58a55d [file] [log] [blame]
alshabib86ac11c2014-08-14 16:14:41 -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.ver13;
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.Set;
27
28
29public class OFActionsVer13 implements OFActions {
30 public final static OFActionsVer13 INSTANCE = new OFActionsVer13();
31
32
33
34
35 public OFActionBsnChecksum.Builder buildBsnChecksum() {
36 return new OFActionBsnChecksumVer13.Builder();
37 }
38 public OFActionBsnChecksum bsnChecksum(U128 checksum) {
39 return new OFActionBsnChecksumVer13(
40 checksum
41 );
42 }
43
44 public OFActionBsnMirror.Builder buildBsnMirror() {
45 return new OFActionBsnMirrorVer13.Builder();
46 }
47
48 public OFActionBsnSetTunnelDst.Builder buildBsnSetTunnelDst() {
49 return new OFActionBsnSetTunnelDstVer13.Builder();
50 }
51 public OFActionBsnSetTunnelDst bsnSetTunnelDst(long dst) {
52 return new OFActionBsnSetTunnelDstVer13(
53 dst
54 );
55 }
56
57 public OFActionEnqueue.Builder buildEnqueue() {
58 throw new UnsupportedOperationException("OFActionEnqueue not supported in version 1.3");
59 }
60 public OFActionEnqueue enqueue(OFPort port, long queueId) {
61 throw new UnsupportedOperationException("OFActionEnqueue not supported in version 1.3");
62 }
63
64 public OFActionNiciraDecTtl niciraDecTtl() {
65 return OFActionNiciraDecTtlVer13.INSTANCE;
66 }
67
68 public OFActionOutput.Builder buildOutput() {
69 return new OFActionOutputVer13.Builder();
70 }
71 public OFActionOutput output(OFPort port, int maxLen) {
72 return new OFActionOutputVer13(
73 port,
74 maxLen
75 );
76 }
77
78 public OFActionSetDlDst.Builder buildSetDlDst() {
79 throw new UnsupportedOperationException("OFActionSetDlDst not supported in version 1.3");
80 }
81 public OFActionSetDlDst setDlDst(MacAddress dlAddr) {
82 throw new UnsupportedOperationException("OFActionSetDlDst not supported in version 1.3");
83 }
84
85 public OFActionSetDlSrc.Builder buildSetDlSrc() {
86 throw new UnsupportedOperationException("OFActionSetDlSrc not supported in version 1.3");
87 }
88 public OFActionSetDlSrc setDlSrc(MacAddress dlAddr) {
89 throw new UnsupportedOperationException("OFActionSetDlSrc not supported in version 1.3");
90 }
91
92 public OFActionSetNwDst.Builder buildSetNwDst() {
93 throw new UnsupportedOperationException("OFActionSetNwDst not supported in version 1.3");
94 }
95 public OFActionSetNwDst setNwDst(IPv4Address nwAddr) {
96 throw new UnsupportedOperationException("OFActionSetNwDst not supported in version 1.3");
97 }
98
99 public OFActionSetNwSrc.Builder buildSetNwSrc() {
100 throw new UnsupportedOperationException("OFActionSetNwSrc not supported in version 1.3");
101 }
102 public OFActionSetNwSrc setNwSrc(IPv4Address nwAddr) {
103 throw new UnsupportedOperationException("OFActionSetNwSrc not supported in version 1.3");
104 }
105
106 public OFActionSetNwTos.Builder buildSetNwTos() {
107 throw new UnsupportedOperationException("OFActionSetNwTos not supported in version 1.3");
108 }
109 public OFActionSetNwTos setNwTos(short nwTos) {
110 throw new UnsupportedOperationException("OFActionSetNwTos not supported in version 1.3");
111 }
112
113 public OFActionSetTpDst.Builder buildSetTpDst() {
114 throw new UnsupportedOperationException("OFActionSetTpDst not supported in version 1.3");
115 }
116 public OFActionSetTpDst setTpDst(TransportPort tpPort) {
117 throw new UnsupportedOperationException("OFActionSetTpDst not supported in version 1.3");
118 }
119
120 public OFActionSetTpSrc.Builder buildSetTpSrc() {
121 throw new UnsupportedOperationException("OFActionSetTpSrc not supported in version 1.3");
122 }
123 public OFActionSetTpSrc setTpSrc(TransportPort tpPort) {
124 throw new UnsupportedOperationException("OFActionSetTpSrc not supported in version 1.3");
125 }
126
127 public OFActionSetVlanPcp.Builder buildSetVlanPcp() {
128 throw new UnsupportedOperationException("OFActionSetVlanPcp not supported in version 1.3");
129 }
130 public OFActionSetVlanPcp setVlanPcp(VlanPcp vlanPcp) {
131 throw new UnsupportedOperationException("OFActionSetVlanPcp not supported in version 1.3");
132 }
133
134 public OFActionSetVlanVid.Builder buildSetVlanVid() {
135 throw new UnsupportedOperationException("OFActionSetVlanVid not supported in version 1.3");
136 }
137 public OFActionSetVlanVid setVlanVid(VlanVid vlanVid) {
138 throw new UnsupportedOperationException("OFActionSetVlanVid not supported in version 1.3");
139 }
140
141 public OFActionStripVlan stripVlan() {
142 throw new UnsupportedOperationException("OFActionStripVlan not supported in version 1.3");
143 }
144
145 public OFActionCopyTtlIn copyTtlIn() {
146 return OFActionCopyTtlInVer13.INSTANCE;
147 }
148
149 public OFActionCopyTtlOut copyTtlOut() {
150 return OFActionCopyTtlOutVer13.INSTANCE;
151 }
152
153 public OFActionDecMplsTtl decMplsTtl() {
154 return OFActionDecMplsTtlVer13.INSTANCE;
155 }
156
157 public OFActionDecNwTtl decNwTtl() {
158 return OFActionDecNwTtlVer13.INSTANCE;
159 }
160
161 public OFActionGroup.Builder buildGroup() {
162 return new OFActionGroupVer13.Builder();
163 }
164 public OFActionGroup group(OFGroup group) {
165 return new OFActionGroupVer13(
166 group
167 );
168 }
169
170 public OFActionPopMpls.Builder buildPopMpls() {
171 return new OFActionPopMplsVer13.Builder();
172 }
173 public OFActionPopMpls popMpls(EthType ethertype) {
174 return new OFActionPopMplsVer13(
175 ethertype
176 );
177 }
178
179 public OFActionPopVlan popVlan() {
180 return OFActionPopVlanVer13.INSTANCE;
181 }
182
183 public OFActionPushMpls.Builder buildPushMpls() {
184 return new OFActionPushMplsVer13.Builder();
185 }
186 public OFActionPushMpls pushMpls(EthType ethertype) {
187 return new OFActionPushMplsVer13(
188 ethertype
189 );
190 }
191
192 public OFActionPushVlan.Builder buildPushVlan() {
193 return new OFActionPushVlanVer13.Builder();
194 }
195 public OFActionPushVlan pushVlan(EthType ethertype) {
196 return new OFActionPushVlanVer13(
197 ethertype
198 );
199 }
200
201 public OFActionSetMplsLabel.Builder buildSetMplsLabel() {
202 throw new UnsupportedOperationException("OFActionSetMplsLabel not supported in version 1.3");
203 }
204 public OFActionSetMplsLabel setMplsLabel(long mplsLabel) {
205 throw new UnsupportedOperationException("OFActionSetMplsLabel not supported in version 1.3");
206 }
207
208 public OFActionSetMplsTc.Builder buildSetMplsTc() {
209 throw new UnsupportedOperationException("OFActionSetMplsTc not supported in version 1.3");
210 }
211 public OFActionSetMplsTc setMplsTc(short mplsTc) {
212 throw new UnsupportedOperationException("OFActionSetMplsTc not supported in version 1.3");
213 }
214
215 public OFActionSetMplsTtl.Builder buildSetMplsTtl() {
216 return new OFActionSetMplsTtlVer13.Builder();
217 }
218 public OFActionSetMplsTtl setMplsTtl(short mplsTtl) {
219 return new OFActionSetMplsTtlVer13(
220 mplsTtl
221 );
222 }
223
224 public OFActionSetNwEcn.Builder buildSetNwEcn() {
225 throw new UnsupportedOperationException("OFActionSetNwEcn not supported in version 1.3");
226 }
227 public OFActionSetNwEcn setNwEcn(IpEcn nwEcn) {
228 throw new UnsupportedOperationException("OFActionSetNwEcn not supported in version 1.3");
229 }
230
231 public OFActionSetNwTtl.Builder buildSetNwTtl() {
232 return new OFActionSetNwTtlVer13.Builder();
233 }
234 public OFActionSetNwTtl setNwTtl(short nwTtl) {
235 return new OFActionSetNwTtlVer13(
236 nwTtl
237 );
238 }
239
240 public OFActionSetQueue.Builder buildSetQueue() {
241 return new OFActionSetQueueVer13.Builder();
242 }
243 public OFActionSetQueue setQueue(long queueId) {
244 return new OFActionSetQueueVer13(
245 queueId
246 );
247 }
248
249 public OFActionSetField.Builder buildSetField() {
250 return new OFActionSetFieldVer13.Builder();
251 }
252 public OFActionSetField setField(OFOxm<?> field) {
253 return new OFActionSetFieldVer13(
254 field
255 );
256 }
257
258 public OFActionPopPbb popPbb() {
259 return OFActionPopPbbVer13.INSTANCE;
260 }
261
262 public OFActionPushPbb.Builder buildPushPbb() {
263 return new OFActionPushPbbVer13.Builder();
264 }
265 public OFActionPushPbb pushPbb(EthType ethertype) {
266 return new OFActionPushPbbVer13(
267 ethertype
268 );
269 }
270
271 public OFMessageReader<OFAction> getReader() {
272 return OFActionVer13.READER;
273 }
274
275
276 public OFVersion getVersion() {
277 return OFVersion.OF_13;
278 }
279}