2 * Copyright (C) 2014 Red Hat, Inc.
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
8 * Authors : Madhu Venugopal
10 package org.opendaylight.ovsdb.schema.hardwarevtep;
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;
20 @TypedTable(name="Ucast_Macs_Local", database="hardware_vtep", fromVersion="1.0.0")
21 public interface UcastMacsLocal extends TypedBaseTable {
22 @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
23 public Column<GenericTableSchema, String> getMacColumn();
25 @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
26 public String getMac();
28 @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
29 public void setMac(String mac);
32 @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
33 public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
35 @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
36 public void setLogicalSwitch(UUID logicalSwitch);
38 @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
39 public Column<GenericTableSchema, UUID> getLocatorColumn();
41 @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0")
42 public void setLocator(UUID locator);
45 @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
46 public Column<GenericTableSchema, String> getIpAddrColumn();
48 @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
49 public String getIpAddr();
51 @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
52 public void setIpAddress(String ipAddr);