Merge 'origin/topic/schema' branch into merge-branch
[ovsdb.git] / schemas / openvswitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / Mirror.java
1 /*
2  * Copyright (C) 2013 Red Hat, Inc.
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  * Authors : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.schema.openvswitch;
11
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.notation.UUID;
14 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
15 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
19
20 import java.util.Map;
21 import java.util.Set;
22
23 /**
24  * This class is a typed interface to the Mirror Table
25  */
26 @TypedTable (name="Mirror", database="Open_vSwitch", fromVersion="1.0.0")
27 public interface Mirror extends TypedBaseTable<GenericTableSchema> {
28
29     @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
30     public Column<GenericTableSchema, String> getNameColumn();
31
32     @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
33     public void setName(Set<String> name);
34
35     @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
36     public Set<String> getName();
37
38     @TypedColumn(name="select_src_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
39     public Column<GenericTableSchema, Set<UUID>> getSelectSrcPortColumn();
40
41     @TypedColumn(name="select_src_port", method=MethodType.SETDATA, fromVersion="1.0.0")
42     public void setSelectSrcPort(Set<UUID> selectSrcPort);
43
44     @TypedColumn(name="select_dst_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
45     public Column<GenericTableSchema, Set<UUID>> getSelectDstPortColumn();
46
47     @TypedColumn(name="select_dst_port", method=MethodType.SETDATA, fromVersion="1.0.0")
48     public void setSelectDstPort(Set<UUID> selectDstPrt);
49
50     @TypedColumn(name="select_vlan", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
51     public Column<GenericTableSchema, Set<Long>> getSelectVlanColumn();
52
53     @TypedColumn(name="select_vlan", method=MethodType.SETDATA, fromVersion="1.0.0")
54     public void setSelectVlan(Set<Long> selectVlan);
55
56     @TypedColumn(name="output_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
57     public Column<GenericTableSchema, Set<UUID>> getOutputPortColumn();
58
59     @TypedColumn(name="output_port", method=MethodType.SETDATA, fromVersion="1.0.0")
60     public void setOutputPort(Set<UUID> outputPort);
61
62     @TypedColumn (name="output_vlan", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
63     public Column<GenericTableSchema, Set<Long>> getOutputVlanColumn();
64
65     @TypedColumn (name="output_vlan", method= MethodType.SETDATA, fromVersion="1.0.0")
66     public void setOutputVlan(Set<Long> outputVlan);
67
68     @TypedColumn (name="statistics", method= MethodType.GETCOLUMN, fromVersion="6.4.0")
69     public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
70
71     @TypedColumn (name="statistics", method= MethodType.SETDATA, fromVersion="6.4.0")
72     public void setStatistics(Map<String, Long> statistics);
73
74     @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
75     public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
76
77     @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0")
78     public void setExternalIds(Map<String, String> externalIds);
79
80     @TypedColumn (name="select_all", method= MethodType.GETCOLUMN, fromVersion="6.2.0")
81     public Column<GenericTableSchema, Boolean> getSelectAllColumn();
82
83     @TypedColumn (name="select_all", method= MethodType.SETDATA, fromVersion="6.2.0")
84     public void setSelectAll(Boolean selectAll);
85 }