/* * 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 java.util.Set; import org.opendaylight.ovsdb.lib.notation.Column; 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="Logical_Switch", database="hardware_vtep", fromVersion="1.0.0") public interface LogicalSwitch extends TypedBaseTable { @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getNameColumn(); @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") public String getName(); @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") public void setName(String name); @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getDescriptionColumn(); @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0") public String getDescription(); @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0") public void setDescription(String description); @TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getTunnelKeyColumn(); @TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.0.0") public void setTunnelKey(Set tunnelKey); }