2 * Copyright (c) 2014, 2016 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;
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.notation.UUID;
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 = "Logical_Router", database = "hardware_vtep", fromVersion = "1.0.0")
21 public interface LogicalRouter extends TypedBaseTable<GenericTableSchema> {
22 @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
23 Column<GenericTableSchema, String> getNameColumn();
25 @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0")
28 @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0")
29 void setName(String name);
31 @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
32 Column<GenericTableSchema, String> getDescriptionColumn();
34 @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0")
35 String getDescription();
37 @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0")
38 void setDescription(String description);
40 @TypedColumn(name = "switch_binding", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
41 Column<GenericTableSchema, Map<String, UUID>> getSwitchBindingColumn();
43 @TypedColumn(name = "switch_binding", method = MethodType.SETDATA, fromVersion = "1.0.0")
44 void setSwitchBinding(Map<String, UUID> switchBinding);
46 @TypedColumn(name = "static_routes", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
47 Column<GenericTableSchema, Map<String, String>> getStaticRoutesColumn();
49 @TypedColumn(name = "static_routes", method = MethodType.SETDATA, fromVersion = "1.0.0")
50 void setStaticRoutes(Map<String, String> staticRoutes);
52 @TypedColumn(name = "acl_binding", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
53 Column<GenericTableSchema, Map<String, UUID>> getAclBindingColumn();
55 @TypedColumn(name = "acl_binding", method = MethodType.SETDATA, fromVersion = "1.4.0")
56 void setAclBinding(Map<String, UUID> aclBinding);
58 @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1")
59 Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
61 @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1")
62 void setOtherConfig(Map<String, String> otherConfig);