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;
14 import org.opendaylight.ovsdb.lib.notation.Column;
15 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
16 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
21 @TypedTable(name="Logical_Switch", database="hardware_vtep", fromVersion="1.0.0")
22 public interface LogicalSwitch extends TypedBaseTable<GenericTableSchema> {
23 @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
24 public Column<GenericTableSchema, String> getNameColumn();
26 @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
27 public String getName();
29 @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
30 public void setName(String name);
33 @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
34 public Column<GenericTableSchema, String> getDescriptionColumn();
36 @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
37 public String getDescription();
39 @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
40 public void setDescription(String description);
43 @TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
44 public Column<GenericTableSchema, Set<Long>> getTunnelKeyColumn();
46 @TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.0.0")
47 public void setTunnelKey(Set<Long> tunnelKey);