Update MRI projects for Aluminium
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / Global.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.hardwarevtep;
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 @TypedTable(name = "Global", database = "hardware_vtep", fromVersion = "1.0.0")
21 public interface Global extends TypedBaseTable<GenericTableSchema> {
22
23     @TypedColumn(name = "managers", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
24     Column<GenericTableSchema, Set<UUID>> getManagersColumn();
25
26     @TypedColumn(name = "managers", method = MethodType.SETDATA, fromVersion = "1.0.0")
27     void setManagers(Set<UUID> managers);
28
29     @TypedColumn(name = "switches", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
30     Column<GenericTableSchema, Set<UUID>> getSwitchesColumn();
31
32     @TypedColumn(name = "switches", method = MethodType.SETDATA, fromVersion = "1.0.0")
33     void setSwitches(Set<UUID> switches);
34
35
36     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.7.0")
37     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
38
39     @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.7.0")
40     void setOtherConfig(Map<String, String> otherConfig);
41 }