2 * Copyright (c) 2014, 2015 Red Hat, Inc. 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.notation.UUID;
16 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
17 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
22 @TypedTable(name = "Global", database = "hardware_vtep", fromVersion = "1.0.0")
23 public interface Global extends TypedBaseTable<GenericTableSchema> {
25 @TypedColumn(name = "managers", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
26 Column<GenericTableSchema, Set<UUID>> getManagersColumn();
28 @TypedColumn(name = "managers", method = MethodType.SETDATA, fromVersion = "1.0.0")
29 void setManagers(Set<UUID> managers);
31 @TypedColumn(name = "switches", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
32 Column<GenericTableSchema, Set<UUID>> getSwitchesColumn();
34 @TypedColumn(name = "switches", method = MethodType.SETDATA, fromVersion = "1.0.0")
35 void setSwitches(Set<UUID> switches);
38 @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.7.0")
39 Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
41 @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.7.0")
42 void setOtherConfig(Map<String, String> otherConfig);