Update MRI projects for Aluminium
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / ACLEntry.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.ovsdb.schema.hardwarevtep;
9
10 import java.util.Map;
11 import java.util.Set;
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
14 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
15 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
18
19 @TypedTable(name = "ACL_entry", database = "hardware_vtep", fromVersion = "1.4.0")
20 public interface ACLEntry extends TypedBaseTable<GenericTableSchema> {
21     @TypedColumn(name = "sequence", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
22     Column<GenericTableSchema, Long> getSequenceColumn();
23
24     @TypedColumn(name = "sequence", method = MethodType.SETDATA, fromVersion = "1.4.0")
25     void setSequence(Long sequence);
26
27
28     @TypedColumn(name = "source_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
29     Column<GenericTableSchema, Set<String>> getSourceMacColumn();
30
31     @TypedColumn(name = "source_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
32     void setSourceMac(Set<String> sourceMac);
33
34
35     @TypedColumn(name = "dest_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
36     Column<GenericTableSchema, Set<String>> getDestMacColumn();
37
38     @TypedColumn(name = "dest_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
39     void setDestMac(Set<String> destMac);
40
41
42     @TypedColumn(name = "ethertype", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
43     Column<GenericTableSchema, Set<String>> getEtherTypeColumn();
44
45     @TypedColumn(name = "ethertype", method = MethodType.SETDATA, fromVersion = "1.4.0")
46     void setEtherType(Set<String> etherType);
47
48
49     @TypedColumn(name = "source_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
50     Column<GenericTableSchema, Set<String>> getSourceIpColumn();
51
52     @TypedColumn(name = "source_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
53     void setSourceIp(Set<String> sourceIp);
54
55
56     @TypedColumn(name = "source_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
57     Column<GenericTableSchema, Set<String>> getSourceMaskColumn();
58
59     @TypedColumn(name = "source_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
60     void setSourceMask(Set<String> sourceMask);
61
62
63     @TypedColumn(name = "dest_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
64     Column<GenericTableSchema, Set<String>> getDestIpColumn();
65
66     @TypedColumn(name = "dest_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
67     void setDestIp(Set<String> destIp);
68
69
70     @TypedColumn(name = "dest_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
71     Column<GenericTableSchema, Set<String>> getDestMaskColumn();
72
73     @TypedColumn(name = "dest_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
74     void setDestMask(Set<String> destMask);
75
76
77     @TypedColumn(name = "protocol", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
78     Column<GenericTableSchema, Set<Long>> getProtocolColumn();
79
80     @TypedColumn(name = "protocol", method = MethodType.SETDATA, fromVersion = "1.4.0")
81     void setProtocol(Set<Long> protocol);
82
83
84     @TypedColumn(name = "source_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
85     Column<GenericTableSchema, Set<Long>> getSourcePortMinColumn();
86
87     @TypedColumn(name = "source_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
88     void setSourcePortMin(Set<Long> sourcePortMin);
89
90
91     @TypedColumn(name = "source_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
92     Column<GenericTableSchema, Set<Long>> getSourcePortMaxColumn();
93
94     @TypedColumn(name = "source_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
95     void setSourcePortMax(Set<Long> sourcePortMax);
96
97
98     @TypedColumn(name = "dest_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
99     Column<GenericTableSchema, Set<Long>> getDestPortMinColumn();
100
101     @TypedColumn(name = "dest_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
102     void setDestPortMin(Set<Long> destPortMin);
103
104
105     @TypedColumn(name = "dest_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
106     Column<GenericTableSchema, Set<Long>> getDestPortMaxColumn();
107
108     @TypedColumn(name = "dest_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
109     void setDestPortMax(Set<Long> destPortMax);
110
111
112     @TypedColumn(name = "tcp_flags", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
113     Column<GenericTableSchema, Set<Long>> getTcpFlagsColumn();
114
115     @TypedColumn(name = "tcp_flags", method = MethodType.SETDATA, fromVersion = "1.4.0")
116     void setTcpFlags(Set<Long> tcpFlags);
117
118
119     @TypedColumn(name = "tcp_flags_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
120     Column<GenericTableSchema, Set<Long>> getTcpFlagsMaskColumn();
121
122     @TypedColumn(name = "tcp_flags_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
123     void setTcpFlagsMask(Set<Long> tcpFlagsMask);
124
125
126     @TypedColumn(name = "icmp_code", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
127     Column<GenericTableSchema, Set<Long>> getIcmpCodeColumn();
128
129     @TypedColumn(name = "icmp_code", method = MethodType.SETDATA, fromVersion = "1.4.0")
130     void setIcmpCode(Set<Long> icmpCode);
131
132
133     @TypedColumn(name = "icmp_type", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
134     Column<GenericTableSchema, Set<Long>> getIcmpTypeColumn();
135
136     @TypedColumn(name = "icmp_type", method = MethodType.SETDATA, fromVersion = "1.4.0")
137     void setIcmpType(Set<Long> icmpType);
138
139
140     @TypedColumn(name = "direction", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
141     Column<GenericTableSchema, Set<String>> getDirectionColumn();
142
143     @TypedColumn(name = "direction", method = MethodType.SETDATA, fromVersion = "1.4.0")
144     void setDirection(Set<String> direction);
145
146
147     @TypedColumn(name = "action", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
148     Column<GenericTableSchema, Set<String>> getActionColumn();
149
150     @TypedColumn(name = "action", method = MethodType.SETDATA, fromVersion = "1.4.0")
151     void setAction(Set<String> action);
152
153     @TypedColumn(name = "acle_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
154     Column<GenericTableSchema, Map<String, String>> getAcleFaultStatusColumn();
155
156     @TypedColumn(name = "acle_fault_status", method = MethodType.SETDATA, fromVersion = "1.4.0")
157     void setAcleFaultStatus(Map<String, String> acleFaultStatus);
158 }