2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.schema.hardwarevtep;
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;
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();
26 @TypedColumn(name = "sequence", method = MethodType.SETDATA, fromVersion = "1.4.0")
27 void setSequence(Long sequence);
30 @TypedColumn(name = "source_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
31 Column<GenericTableSchema, Set<String>> getSourceMacColumn();
33 @TypedColumn(name = "source_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
34 void setSourceMac(Set<String> sourceMac);
37 @TypedColumn(name = "dest_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
38 Column<GenericTableSchema, Set<String>> getDestMacColumn();
40 @TypedColumn(name = "dest_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
41 void setDestMac(Set<String> destMac);
44 @TypedColumn(name = "ethertype", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
45 Column<GenericTableSchema, Set<String>> getEtherTypeColumn();
47 @TypedColumn(name = "ethertype", method = MethodType.SETDATA, fromVersion = "1.4.0")
48 void setEtherType(Set<String> etherType);
51 @TypedColumn(name = "source_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
52 Column<GenericTableSchema, Set<String>> getSourceIpColumn();
54 @TypedColumn(name = "source_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
55 void setSourceIp(Set<String> sourceIp);
58 @TypedColumn(name = "source_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
59 Column<GenericTableSchema, Set<String>> getSourceMaskColumn();
61 @TypedColumn(name = "source_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
62 void setSourceMask(Set<String> sourceMask);
65 @TypedColumn(name = "dest_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
66 Column<GenericTableSchema, Set<String>> getDestIpColumn();
68 @TypedColumn(name = "dest_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
69 void setDestIp(Set<String> destIp);
72 @TypedColumn(name = "dest_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
73 Column<GenericTableSchema, Set<String>> getDestMaskColumn();
75 @TypedColumn(name = "dest_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
76 void setDestMask(Set<String> destMask);
79 @TypedColumn(name = "protocol", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
80 Column<GenericTableSchema, Set<Long>> getProtocolColumn();
82 @TypedColumn(name = "protocol", method = MethodType.SETDATA, fromVersion = "1.4.0")
83 void setProtocol(Set<Long> protocol);
86 @TypedColumn(name = "source_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
87 Column<GenericTableSchema, Set<Long>> getSourcePortMinColumn();
89 @TypedColumn(name = "source_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
90 void setSourcePortMin(Set<Long> sourcePortMin);
93 @TypedColumn(name = "source_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
94 Column<GenericTableSchema, Set<Long>> getSourcePortMaxColumn();
96 @TypedColumn(name = "source_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
97 void setSourcePortMax(Set<Long> sourcePortMax);
100 @TypedColumn(name = "dest_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
101 Column<GenericTableSchema, Set<Long>> getDestPortMinColumn();
103 @TypedColumn(name = "dest_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
104 void setDestPortMin(Set<Long> destPortMin);
107 @TypedColumn(name = "dest_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
108 Column<GenericTableSchema, Set<Long>> getDestPortMaxColumn();
110 @TypedColumn(name = "dest_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
111 void setDestPortMax(Set<Long> destPortMax);
114 @TypedColumn(name = "tcp_flags", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
115 Column<GenericTableSchema, Set<Long>> getTcpFlagsColumn();
117 @TypedColumn(name = "tcp_flags", method = MethodType.SETDATA, fromVersion = "1.4.0")
118 void setTcpFlags(Set<Long> tcpFlags);
121 @TypedColumn(name = "tcp_flags_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
122 Column<GenericTableSchema, Set<Long>> getTcpFlagsMaskColumn();
124 @TypedColumn(name = "tcp_flags_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
125 void setTcpFlagsMask(Set<Long> tcpFlagsMask);
128 @TypedColumn(name = "icmp_code", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
129 Column<GenericTableSchema, Set<Long>> getIcmpCodeColumn();
131 @TypedColumn(name = "icmp_code", method = MethodType.SETDATA, fromVersion = "1.4.0")
132 void setIcmpCode(Set<Long> icmpCode);
135 @TypedColumn(name = "icmp_type", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
136 Column<GenericTableSchema, Set<Long>> getIcmpTypeColumn();
138 @TypedColumn(name = "icmp_type", method = MethodType.SETDATA, fromVersion = "1.4.0")
139 void setIcmpType(Set<Long> icmpType);
142 @TypedColumn(name = "direction", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
143 Column<GenericTableSchema, Set<String>> getDirectionColumn();
145 @TypedColumn(name = "direction", method = MethodType.SETDATA, fromVersion = "1.4.0")
146 void setDirection(Set<String> direction);
149 @TypedColumn(name = "action", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
150 Column<GenericTableSchema, Set<String>> getActionColumn();
152 @TypedColumn(name = "action", method = MethodType.SETDATA, fromVersion = "1.4.0")
153 void setAction(Set<String> action);
155 @TypedColumn(name = "acle_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
156 Column<GenericTableSchema, Map<String, String>> getAcleFaultStatusColumn();
158 @TypedColumn(name = "acle_fault_status", method = MethodType.SETDATA, fromVersion = "1.4.0")
159 void setAcleFaultStatus(Map<String, String> acleFaultStatus);