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;
13 import org.opendaylight.ovsdb.lib.notation.Column;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
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="Tunnel", database="hardware_vtep", fromVersion="1.3.0")
22 public interface Tunnel extends TypedBaseTable<GenericTableSchema> {
23 @TypedColumn(name="local", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
24 Column<GenericTableSchema, UUID> getLocalColumn();
26 @TypedColumn(name="local", method=MethodType.SETDATA, fromVersion="1.3.0")
27 void setLocal(UUID local);
29 @TypedColumn(name="remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
30 Column<GenericTableSchema, UUID> getRemoteColumn();
32 @TypedColumn(name="remote", method=MethodType.SETDATA, fromVersion="1.3.0")
33 void setRemote(UUID remote);
35 @TypedColumn(name="bfd_config_local", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
36 Column<GenericTableSchema, Map<String, String>> getBfdConfigLocalColumn();
38 @TypedColumn(name="bfd_config_local", method=MethodType.SETDATA, fromVersion="1.3.0")
39 void setBfdConfigLocal(Map<String, String> bfdConfigLocal);
41 @TypedColumn(name="bfd_config_remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
42 Column<GenericTableSchema, Map<String, String>> getBfdConfigRemoteColumn();
44 @TypedColumn(name="bfd_config_remote", method=MethodType.SETDATA, fromVersion="1.3.0")
45 void setBfdConfigRemote(Map<String, String> bfdConfigRemote);
47 @TypedColumn(name="bfd_params", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
48 Column<GenericTableSchema, Map<String, String>> getBfdParamsColumn();
50 @TypedColumn(name="bfd_params", method=MethodType.SETDATA, fromVersion="1.3.0")
51 void setBfdParams(Map<String, String> bfdParams);
53 @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
54 Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
56 @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.3.0")
57 void setBfdStatus(Map<String, String> bfdStatus);