Update MRI projects for Aluminium
[ovsdb.git] / schemas / openvswitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / Bridge.java
1 /*
2  * Copyright (c) 2014, 2015 Red Hat, Inc. 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.openvswitch;
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.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 /**
21  * This class is a typed interface to the Bridge Table.
22  */
23 @TypedTable(name = "Bridge", database = "Open_vSwitch", fromVersion = "1.0.0")
24 public interface Bridge extends TypedBaseTable<GenericTableSchema> {
25
26     @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
27     Column<GenericTableSchema, String> getNameColumn();
28
29     @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0")
30     String getName();
31
32     @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0")
33     void setName(String name);
34
35     @TypedColumn(name = "datapath_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
36     Column<GenericTableSchema, String> getDatapathTypeColumn();
37
38     @TypedColumn(name = "datapath_type", method = MethodType.SETDATA, fromVersion = "1.0.0")
39     void setDatapathType(String datapathType);
40
41     @TypedColumn(name = "datapath_id", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
42     Column<GenericTableSchema, Set<String>> getDatapathIdColumn();
43
44     @TypedColumn(name = "datapath_id", method = MethodType.SETDATA, fromVersion = "1.0.0")
45     void setDatapathId(Set<String> datapathId);
46
47     @TypedColumn(name = "stp_enable", method = MethodType.GETCOLUMN, fromVersion = "6.2.0")
48     Column<GenericTableSchema, Boolean> getStpEnableColumn();
49
50     @TypedColumn(name = "stp_enable", method = MethodType.SETDATA, fromVersion = "6.2.0")
51     void setStpEnable(Boolean stpEnable);
52
53     @TypedColumn(name = "ports", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
54     Column<GenericTableSchema, Set<UUID>> getPortsColumn();
55
56     @TypedColumn(name = "ports", method = MethodType.SETDATA, fromVersion = "1.0.0")
57     void setPorts(Set<UUID> ports);
58
59     @TypedColumn(name = "mirrors", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
60     Column<GenericTableSchema, Set<UUID>> getMirrorsColumn();
61
62     @TypedColumn(name = "mirrors", method = MethodType.SETDATA, fromVersion = "1.0.0")
63     void setMirrors(Set<UUID> mirrors);
64
65     @TypedColumn(name = "netflow", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
66     Column<GenericTableSchema, Set<UUID>> getNetflowColumn();
67
68     @TypedColumn(name = "netflow", method = MethodType.SETDATA, fromVersion = "1.0.0")
69     void setNetflow(Set<UUID> netflow);
70
71     @TypedColumn(name = "sflow", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
72     Column<GenericTableSchema, Set<UUID>> getSflowColumn();
73
74     @TypedColumn(name = "sflow", method = MethodType.SETDATA, fromVersion = "1.0.0")
75     void setSflow(Set<UUID> sflow);
76
77     @TypedColumn(name = "ipfix", method = MethodType.GETCOLUMN, fromVersion = "7.1.0")
78     Column<GenericTableSchema, Set<UUID>> getIpfixColumn();
79
80     @TypedColumn(name = "ipfix", method = MethodType.SETDATA, fromVersion = "7.1.0")
81     void setIpfix(Set<UUID> ipfix);
82
83     @TypedColumn(name = "controller", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
84     Column<GenericTableSchema, Set<UUID>> getControllerColumn();
85
86     @TypedColumn(name = "controller", method = MethodType.SETDATA, fromVersion = "1.0.0")
87     void setController(Set<UUID> controller);
88
89     @TypedColumn(name = "protocols", method = MethodType.GETCOLUMN, fromVersion = "6.11.1")
90     Column<GenericTableSchema, Set<String>> getProtocolsColumn();
91
92     @TypedColumn(name = "protocols", method = MethodType.SETDATA, fromVersion = "6.11.1")
93     void setProtocols(Set<String> protocols);
94
95     @TypedColumn(name = "fail_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
96     Column<GenericTableSchema, Set<String>> getFailModeColumn();
97
98     @TypedColumn(name = "fail_mode", method = MethodType.SETDATA, fromVersion = "1.0.0")
99     void setFailMode(Set<String> failMode);
100
101     @TypedColumn(name = "status", method = MethodType.GETCOLUMN, fromVersion = "6.2.0")
102     Column<GenericTableSchema, Map<String, String>> getStatusColumn();
103
104     @TypedColumn(name = "status", method = MethodType.SETDATA, fromVersion = "6.2.0")
105     void setStatus(Map<String, String> status);
106
107     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
108     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
109
110     @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0")
111     void setOtherConfig(Map<String, String> otherConfig);
112
113     @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
114     Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
115
116     @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0")
117     void setExternalIds(Map<String, String> externalIds);
118
119     @TypedColumn(name = "flood_vlans", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
120     Column<GenericTableSchema, Set<Long>> getFloodVlansColumn();
121
122     @TypedColumn(name = "flood_vlans", method = MethodType.SETDATA, fromVersion = "1.0.0")
123     void setFloodVlans(Set<Long> vlans);
124
125     @TypedColumn(name = "flow_tables", method = MethodType.GETCOLUMN, fromVersion = "6.5.0")
126     Column<GenericTableSchema, Map<Long, UUID>> getFlowTablesColumn();
127
128     @TypedColumn(name = "flow_tables", method = MethodType.SETDATA, fromVersion = "6.5.0")
129     void setFlowTables(Map<Long, UUID> flowTables);
130
131     @TypedColumn(name = "auto_attach", method = MethodType.GETCOLUMN, fromVersion = "7.11.2")
132     Column<GenericTableSchema, Set<UUID>> getAutoAttachColumn();
133
134     @TypedColumn(name = "auto_attach", method = MethodType.SETDATA, fromVersion = "7.11.2")
135     void setAutoAttach(Set<UUID> autoAttach);
136 }