blob: e465ac5f98445d6685bdd1dd2ac582248a9352fc [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_interface.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol.action;
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
28public interface OFActions {
29 // Subfactories
30
31 OFActionBsnChecksum.Builder buildBsnChecksum();
32 OFActionBsnChecksum bsnChecksum(U128 checksum);
33 OFActionBsnMirror.Builder buildBsnMirror();
34 OFActionBsnSetTunnelDst.Builder buildBsnSetTunnelDst();
35 OFActionBsnSetTunnelDst bsnSetTunnelDst(long dst);
36 OFActionEnqueue.Builder buildEnqueue() throws UnsupportedOperationException;
37 OFActionEnqueue enqueue(OFPort port, long queueId);
38 OFActionNiciraDecTtl niciraDecTtl();
39 OFActionOutput.Builder buildOutput();
40 OFActionOutput output(OFPort port, int maxLen);
41 OFActionSetDlDst.Builder buildSetDlDst() throws UnsupportedOperationException;
42 OFActionSetDlDst setDlDst(MacAddress dlAddr);
43 OFActionSetDlSrc.Builder buildSetDlSrc() throws UnsupportedOperationException;
44 OFActionSetDlSrc setDlSrc(MacAddress dlAddr);
45 OFActionSetNwDst.Builder buildSetNwDst() throws UnsupportedOperationException;
46 OFActionSetNwDst setNwDst(IPv4Address nwAddr);
47 OFActionSetNwSrc.Builder buildSetNwSrc() throws UnsupportedOperationException;
48 OFActionSetNwSrc setNwSrc(IPv4Address nwAddr);
49 OFActionSetNwTos.Builder buildSetNwTos() throws UnsupportedOperationException;
50 OFActionSetNwTos setNwTos(short nwTos);
51 OFActionSetTpDst.Builder buildSetTpDst() throws UnsupportedOperationException;
52 OFActionSetTpDst setTpDst(TransportPort tpPort);
53 OFActionSetTpSrc.Builder buildSetTpSrc() throws UnsupportedOperationException;
54 OFActionSetTpSrc setTpSrc(TransportPort tpPort);
55 OFActionSetVlanPcp.Builder buildSetVlanPcp() throws UnsupportedOperationException;
56 OFActionSetVlanPcp setVlanPcp(VlanPcp vlanPcp);
57 OFActionSetVlanVid.Builder buildSetVlanVid() throws UnsupportedOperationException;
58 OFActionSetVlanVid setVlanVid(VlanVid vlanVid);
59 OFActionStripVlan stripVlan();
60 OFActionCopyTtlIn copyTtlIn();
61 OFActionCopyTtlOut copyTtlOut();
62 OFActionDecMplsTtl decMplsTtl();
63 OFActionDecNwTtl decNwTtl();
64 OFActionGroup.Builder buildGroup() throws UnsupportedOperationException;
65 OFActionGroup group(OFGroup group);
66 OFActionPopMpls.Builder buildPopMpls() throws UnsupportedOperationException;
67 OFActionPopMpls popMpls(EthType ethertype);
68 OFActionPopVlan popVlan();
69 OFActionPushMpls.Builder buildPushMpls() throws UnsupportedOperationException;
70 OFActionPushMpls pushMpls(EthType ethertype);
71 OFActionPushVlan.Builder buildPushVlan() throws UnsupportedOperationException;
72 OFActionPushVlan pushVlan(EthType ethertype);
73 OFActionSetMplsLabel.Builder buildSetMplsLabel() throws UnsupportedOperationException;
74 OFActionSetMplsLabel setMplsLabel(long mplsLabel);
75 OFActionSetMplsTc.Builder buildSetMplsTc() throws UnsupportedOperationException;
76 OFActionSetMplsTc setMplsTc(short mplsTc);
77 OFActionSetMplsTtl.Builder buildSetMplsTtl() throws UnsupportedOperationException;
78 OFActionSetMplsTtl setMplsTtl(short mplsTtl);
79 OFActionSetNwEcn.Builder buildSetNwEcn() throws UnsupportedOperationException;
80 OFActionSetNwEcn setNwEcn(IpEcn nwEcn);
81 OFActionSetNwTtl.Builder buildSetNwTtl() throws UnsupportedOperationException;
82 OFActionSetNwTtl setNwTtl(short nwTtl);
83 OFActionSetQueue.Builder buildSetQueue() throws UnsupportedOperationException;
84 OFActionSetQueue setQueue(long queueId);
85 OFActionSetField.Builder buildSetField() throws UnsupportedOperationException;
86 OFActionSetField setField(OFOxm<?> field);
87 OFActionPopPbb popPbb();
88 OFActionPushPbb.Builder buildPushPbb() throws UnsupportedOperationException;
89 OFActionPushPbb pushPbb(EthType ethertype);
90
91 OFMessageReader<OFAction> getReader();
92 OFVersion getVersion();
93}