aea2a272d8f72b46074ad5d986de1e11957fede8
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / UcastMacsRemote.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
9 package org.opendaylight.ovsdb.schema.hardwarevtep;
10
11 import org.opendaylight.ovsdb.lib.notation.Column;
12 import org.opendaylight.ovsdb.lib.notation.UUID;
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;
18
19 @TypedTable(name = "Ucast_Macs_Remote", database = "hardware_vtep", fromVersion = "1.0.0")
20 public interface UcastMacsRemote extends TypedBaseTable<GenericTableSchema> {
21     @TypedColumn(name = "MAC", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
22     Column<GenericTableSchema, String> getMacColumn();
23
24     @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0")
25     String getMac();
26
27     @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0")
28     void setMac(String mac);
29
30     @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
31     Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
32
33     @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0")
34     void setLogicalSwitch(UUID logicalSwitch);
35
36     @TypedColumn(name = "locator", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
37     Column<GenericTableSchema, UUID> getLocatorColumn();
38
39     @TypedColumn(name = "locator", method = MethodType.SETDATA, fromVersion = "1.0.0")
40     void setLocator(UUID locator);
41
42     @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
43     Column<GenericTableSchema, String> getIpAddrColumn();
44
45     @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0")
46     String getIpAddr();
47
48     @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0")
49     void setIpAddress(String ipAddr);
50 }