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
8 package org.opendaylight.ovsdb.schema.hardwarevtep;
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;
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();
24 @TypedColumn(name = "sequence", method = MethodType.SETDATA, fromVersion = "1.4.0")
25 void setSequence(Long sequence);
28 @TypedColumn(name = "source_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
29 Column<GenericTableSchema, Set<String>> getSourceMacColumn();
31 @TypedColumn(name = "source_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
32 void setSourceMac(Set<String> sourceMac);
35 @TypedColumn(name = "dest_mac", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
36 Column<GenericTableSchema, Set<String>> getDestMacColumn();
38 @TypedColumn(name = "dest_mac", method = MethodType.SETDATA, fromVersion = "1.4.0")
39 void setDestMac(Set<String> destMac);
42 @TypedColumn(name = "ethertype", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
43 Column<GenericTableSchema, Set<String>> getEtherTypeColumn();
45 @TypedColumn(name = "ethertype", method = MethodType.SETDATA, fromVersion = "1.4.0")
46 void setEtherType(Set<String> etherType);
49 @TypedColumn(name = "source_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
50 Column<GenericTableSchema, Set<String>> getSourceIpColumn();
52 @TypedColumn(name = "source_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
53 void setSourceIp(Set<String> sourceIp);
56 @TypedColumn(name = "source_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
57 Column<GenericTableSchema, Set<String>> getSourceMaskColumn();
59 @TypedColumn(name = "source_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
60 void setSourceMask(Set<String> sourceMask);
63 @TypedColumn(name = "dest_ip", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
64 Column<GenericTableSchema, Set<String>> getDestIpColumn();
66 @TypedColumn(name = "dest_ip", method = MethodType.SETDATA, fromVersion = "1.4.0")
67 void setDestIp(Set<String> destIp);
70 @TypedColumn(name = "dest_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
71 Column<GenericTableSchema, Set<String>> getDestMaskColumn();
73 @TypedColumn(name = "dest_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
74 void setDestMask(Set<String> destMask);
77 @TypedColumn(name = "protocol", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
78 Column<GenericTableSchema, Set<Long>> getProtocolColumn();
80 @TypedColumn(name = "protocol", method = MethodType.SETDATA, fromVersion = "1.4.0")
81 void setProtocol(Set<Long> protocol);
84 @TypedColumn(name = "source_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
85 Column<GenericTableSchema, Set<Long>> getSourcePortMinColumn();
87 @TypedColumn(name = "source_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
88 void setSourcePortMin(Set<Long> sourcePortMin);
91 @TypedColumn(name = "source_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
92 Column<GenericTableSchema, Set<Long>> getSourcePortMaxColumn();
94 @TypedColumn(name = "source_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
95 void setSourcePortMax(Set<Long> sourcePortMax);
98 @TypedColumn(name = "dest_port_min", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
99 Column<GenericTableSchema, Set<Long>> getDestPortMinColumn();
101 @TypedColumn(name = "dest_port_min", method = MethodType.SETDATA, fromVersion = "1.4.0")
102 void setDestPortMin(Set<Long> destPortMin);
105 @TypedColumn(name = "dest_port_max", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
106 Column<GenericTableSchema, Set<Long>> getDestPortMaxColumn();
108 @TypedColumn(name = "dest_port_max", method = MethodType.SETDATA, fromVersion = "1.4.0")
109 void setDestPortMax(Set<Long> destPortMax);
112 @TypedColumn(name = "tcp_flags", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
113 Column<GenericTableSchema, Set<Long>> getTcpFlagsColumn();
115 @TypedColumn(name = "tcp_flags", method = MethodType.SETDATA, fromVersion = "1.4.0")
116 void setTcpFlags(Set<Long> tcpFlags);
119 @TypedColumn(name = "tcp_flags_mask", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
120 Column<GenericTableSchema, Set<Long>> getTcpFlagsMaskColumn();
122 @TypedColumn(name = "tcp_flags_mask", method = MethodType.SETDATA, fromVersion = "1.4.0")
123 void setTcpFlagsMask(Set<Long> tcpFlagsMask);
126 @TypedColumn(name = "icmp_code", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
127 Column<GenericTableSchema, Set<Long>> getIcmpCodeColumn();
129 @TypedColumn(name = "icmp_code", method = MethodType.SETDATA, fromVersion = "1.4.0")
130 void setIcmpCode(Set<Long> icmpCode);
133 @TypedColumn(name = "icmp_type", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
134 Column<GenericTableSchema, Set<Long>> getIcmpTypeColumn();
136 @TypedColumn(name = "icmp_type", method = MethodType.SETDATA, fromVersion = "1.4.0")
137 void setIcmpType(Set<Long> icmpType);
140 @TypedColumn(name = "direction", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
141 Column<GenericTableSchema, Set<String>> getDirectionColumn();
143 @TypedColumn(name = "direction", method = MethodType.SETDATA, fromVersion = "1.4.0")
144 void setDirection(Set<String> direction);
147 @TypedColumn(name = "action", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
148 Column<GenericTableSchema, Set<String>> getActionColumn();
150 @TypedColumn(name = "action", method = MethodType.SETDATA, fromVersion = "1.4.0")
151 void setAction(Set<String> action);
153 @TypedColumn(name = "acle_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
154 Column<GenericTableSchema, Map<String, String>> getAcleFaultStatusColumn();
156 @TypedColumn(name = "acle_fault_status", method = MethodType.SETDATA, fromVersion = "1.4.0")
157 void setAcleFaultStatus(Map<String, String> acleFaultStatus);