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