9135abf7a8263b7f4e80c4155f61bc826ff093d7
[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
9 package org.opendaylight.ovsdb.schema.hardwarevtep;
10
11 import java.util.Map;
12 import java.util.Set;
13
14 import org.opendaylight.ovsdb.lib.notation.Column;
15 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
16 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
20
21 @TypedTable(name = "ACL_entry", database = "hardware_vtep", fromVersion = "1.4.0")
22 public interface ACLEntry extends TypedBaseTable<GenericTableSchema> {
23     @TypedColumn(name = "sequence", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
24     Column<GenericTableSchema, Long> getSequenceColumn();
25
26     @TypedColumn(name = "sequence", method = MethodType.SETDATA, fromVersion = "1.4.0")
27     void setSequence(Long sequence);
28
29
30     @TypedColumn(name = "source_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
31     Column<GenericTableSchema, Set<String>> getSourceMacColumn();
32
33     @TypedColumn(name = "source_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
34     void setSourceMac(Set<String> sourceMac);
35
36
37     @TypedColumn(name = "dest_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
38     Column<GenericTableSchema, Set<String>> getDestMacColumn();
39
40     @TypedColumn(name = "dest_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
41     void setDestMac(Set<String> destMac);
42
43
44     @TypedColumn(name = "ethertype", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
45     Column<GenericTableSchema, Set<String>> getEtherTypeColumn();
46
47     @TypedColumn(name = "ethertype", method = MethodType.SETDATA, fromVersion = "1.4.0")
48     void setEtherType(Set<String> etherType);
49
50
51     @TypedColumn(name = "source_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
52     Column<GenericTableSchema, Set<String>> getSourceIpColumn();
53
54     @TypedColumn(name = "source_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
55     void setSourceIp(Set<String> sourceIp);
56
57
58     @TypedColumn(name = "source_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
59     Column<GenericTableSchema, Set<String>> getSourceMaskColumn();
60
61     @TypedColumn(name = "source_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
62     void setSourceMask(Set<String> sourceMask);
63
64
65     @TypedColumn(name = "dest_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
66     Column<GenericTableSchema, Set<String>> getDestIpColumn();
67
68     @TypedColumn(name = "dest_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
69     void setDestIp(Set<String> destIp);
70
71
72     @TypedColumn(name = "dest_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
73     Column<GenericTableSchema, Set<String>> getDestMaskColumn();
74
75     @TypedColumn(name = "dest_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
76     void setDestMask(Set<String> destMask);
77
78
79     @TypedColumn(name = "protocol", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
80     Column<GenericTableSchema, Set<Long>> getProtocolColumn();
81
82     @TypedColumn(name = "protocol", method = MethodType.SETDATA, fromVersion = "1.4.0")
83     void setProtocol(Set<Long> protocol);
84
85
86     @TypedColumn(name = "source_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
87     Column<GenericTableSchema, Set<Long>> getSourcePortMinColumn();
88
89     @TypedColumn(name = "source_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
90     void setSourcePortMin(Set<Long> sourcePortMin);
91
92
93     @TypedColumn(name = "source_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
94     Column<GenericTableSchema, Set<Long>> getSourcePortMaxColumn();
95
96     @TypedColumn(name = "source_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
97     void setSourcePortMax(Set<Long> sourcePortMax);
98
99
100     @TypedColumn(name = "dest_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
101     Column<GenericTableSchema, Set<Long>> getDestPortMinColumn();
102
103     @TypedColumn(name = "dest_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
104     void setDestPortMin(Set<Long> destPortMin);
105
106
107     @TypedColumn(name = "dest_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
108     Column<GenericTableSchema, Set<Long>> getDestPortMaxColumn();
109
110     @TypedColumn(name = "dest_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
111     void setDestPortMax(Set<Long> destPortMax);
112
113
114     @TypedColumn(name = "tcp_flags", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
115     Column<GenericTableSchema, Set<Long>> getTcpFlagsColumn();
116
117     @TypedColumn(name = "tcp_flags", method = MethodType.SETDATA, fromVersion = "1.4.0")
118     void setTcpFlags(Set<Long> tcpFlags);
119
120
121     @TypedColumn(name = "tcp_flags_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
122     Column<GenericTableSchema, Set<Long>> getTcpFlagsMaskColumn();
123
124     @TypedColumn(name = "tcp_flags_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
125     void setTcpFlagsMask(Set<Long> tcpFlagsMask);
126
127
128     @TypedColumn(name = "icmp_code", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
129     Column<GenericTableSchema, Set<Long>> getIcmpCodeColumn();
130
131     @TypedColumn(name = "icmp_code", method = MethodType.SETDATA, fromVersion = "1.4.0")
132     void setIcmpCode(Set<Long> icmpCode);
133
134
135     @TypedColumn(name = "icmp_type", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
136     Column<GenericTableSchema, Set<Long>> getIcmpTypeColumn();
137
138     @TypedColumn(name = "icmp_type", method = MethodType.SETDATA, fromVersion = "1.4.0")
139     void setIcmpType(Set<Long> icmpType);
140
141
142     @TypedColumn(name = "direction", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
143     Column<GenericTableSchema, Set<String>> getDirectionColumn();
144
145     @TypedColumn(name = "direction", method = MethodType.SETDATA, fromVersion = "1.4.0")
146     void setDirection(Set<String> direction);
147
148
149     @TypedColumn(name = "action", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
150     Column<GenericTableSchema, Set<String>> getActionColumn();
151
152     @TypedColumn(name = "action", method = MethodType.SETDATA, fromVersion = "1.4.0")
153     void setAction(Set<String> action);
154
155     @TypedColumn(name = "acle_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
156     Column<GenericTableSchema, Map<String, String>> getAcleFaultStatusColumn();
157
158     @TypedColumn(name = "acle_fault_status", method = MethodType.SETDATA, fromVersion = "1.4.0")
159     void setAcleFaultStatus(Map<String, String> acleFaultStatus);
160 }