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.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 = "Physical_Locator", database = "hardware_vtep", fromVersion = "1.0.0")
21 public interface PhysicalLocator extends TypedBaseTable<GenericTableSchema> {
22 @TypedColumn(name = "encapsulation_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
23 Column<GenericTableSchema, String> getEncapsulationTypeColumn();
25 @TypedColumn(name = "encapsulation_type", method = MethodType.SETDATA, fromVersion = "1.0.0")
26 void setEncapsulationType(String encapsulationType);
28 @TypedColumn(name = "dst_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
29 Column<GenericTableSchema, String> getDstIpColumn();
31 @TypedColumn(name = "dst_ip", method = MethodType.SETDATA, fromVersion = "1.0.0")
32 void setDstIp(String dstIp);
34 @TypedColumn(name = "bfd", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0")
35 Column<GenericTableSchema, Map<String, String>> getBfdColumn();
37 @TypedColumn(name = "bfd", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0")
38 void setBfd(Map<String, String> bfd);
40 @TypedColumn(name = "bfd_status", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0")
41 Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
43 @TypedColumn(name = "bfd_status", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0")
44 void setBfdStatus(Map<String, String> bfdStatus);
46 @TypedColumn(name = "tunnel_key", method = MethodType.GETCOLUMN, fromVersion = "1.5.0")
47 Column<GenericTableSchema, Set<Long>> getTunnelKeyColumn();
49 @TypedColumn(name = "tunnel_key", method = MethodType.SETDATA, fromVersion = "1.5.0")
50 void setTunnelKey(Set<Long> tunnelKey);