blob: ee02f195db65c14b8e038aa5b34285dfc215dd9c [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_interface.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol;
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;
27import org.jboss.netty.buffer.ChannelBuffer;
28
29public interface OFTableStatsEntry extends OFObject {
30 TableId getTableId();
31 String getName() throws UnsupportedOperationException;
32 OFMatchBmap getMatch() throws UnsupportedOperationException;
33 int getWildcards() throws UnsupportedOperationException;
34 long getWriteActions() throws UnsupportedOperationException;
35 long getApplyActions() throws UnsupportedOperationException;
36 U64 getWriteSetfields() throws UnsupportedOperationException;
37 U64 getApplySetfields() throws UnsupportedOperationException;
38 U64 getMetadataMatch() throws UnsupportedOperationException;
39 U64 getMetadataWrite() throws UnsupportedOperationException;
40 long getInstructions() throws UnsupportedOperationException;
41 long getConfig() throws UnsupportedOperationException;
42 long getMaxEntries() throws UnsupportedOperationException;
43 long getActiveCount();
44 U64 getLookupCount();
45 U64 getMatchedCount();
46 OFVersion getVersion();
47
48 void writeTo(ChannelBuffer channelBuffer);
49
50 Builder createBuilder();
51 public interface Builder {
52 OFTableStatsEntry build();
53 TableId getTableId();
54 Builder setTableId(TableId tableId);
55 String getName() throws UnsupportedOperationException;
56 Builder setName(String name) throws UnsupportedOperationException;
57 OFMatchBmap getMatch() throws UnsupportedOperationException;
58 Builder setMatch(OFMatchBmap match) throws UnsupportedOperationException;
59 int getWildcards() throws UnsupportedOperationException;
60 Builder setWildcards(int wildcards) throws UnsupportedOperationException;
61 long getWriteActions() throws UnsupportedOperationException;
62 Builder setWriteActions(long writeActions) throws UnsupportedOperationException;
63 long getApplyActions() throws UnsupportedOperationException;
64 Builder setApplyActions(long applyActions) throws UnsupportedOperationException;
65 U64 getWriteSetfields() throws UnsupportedOperationException;
66 Builder setWriteSetfields(U64 writeSetfields) throws UnsupportedOperationException;
67 U64 getApplySetfields() throws UnsupportedOperationException;
68 Builder setApplySetfields(U64 applySetfields) throws UnsupportedOperationException;
69 U64 getMetadataMatch() throws UnsupportedOperationException;
70 Builder setMetadataMatch(U64 metadataMatch) throws UnsupportedOperationException;
71 U64 getMetadataWrite() throws UnsupportedOperationException;
72 Builder setMetadataWrite(U64 metadataWrite) throws UnsupportedOperationException;
73 long getInstructions() throws UnsupportedOperationException;
74 Builder setInstructions(long instructions) throws UnsupportedOperationException;
75 long getConfig() throws UnsupportedOperationException;
76 Builder setConfig(long config) throws UnsupportedOperationException;
77 long getMaxEntries() throws UnsupportedOperationException;
78 Builder setMaxEntries(long maxEntries) throws UnsupportedOperationException;
79 long getActiveCount();
80 Builder setActiveCount(long activeCount);
81 U64 getLookupCount();
82 Builder setLookupCount(U64 lookupCount);
83 U64 getMatchedCount();
84 Builder setMatchedCount(U64 matchedCount);
85 OFVersion getVersion();
86 }
87}