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;
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;
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();
24 @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0")
27 @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0")
28 void setMac(String mac);
30 @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
31 Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
33 @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0")
34 void setLogicalSwitch(UUID logicalSwitch);
36 @TypedColumn(name = "locator", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
37 Column<GenericTableSchema, UUID> getLocatorColumn();
39 @TypedColumn(name = "locator", method = MethodType.SETDATA, fromVersion = "1.0.0")
40 void setLocator(UUID locator);
42 @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
43 Column<GenericTableSchema, String> getIpAddrColumn();
45 @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0")
48 @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0")
49 void setIpAddress(String ipAddr);