/* * Copyright (C) 2014 Red Hat, Inc. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Madhu Venugopal */ package org.opendaylight.ovsdb.schema.hardwarevtep; import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.notation.UUID; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; @TypedTable(name="Ucast_Macs_Local", database="hardware_vtep", fromVersion="1.0.0") public interface UcastMacsLocal extends TypedBaseTable { @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getMacColumn(); @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0") public String getMac(); @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0") public void setMac(String mac); @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getLogicalSwitchColumn(); @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0") public void setLogicalSwitch(UUID logicalSwitch); @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getLocatorColumn(); @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0") public void setLocator(UUID locator); @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getIpAddrColumn(); @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0") public String getIpAddr(); @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0") public void setIpAddress(String ipAddr); }