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;
15 import org.opendaylight.ovsdb.lib.notation.Column;
16 import org.opendaylight.ovsdb.lib.notation.UUID;
17 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
18 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
21 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
23 @TypedTable(name="Physical_Port", database="hardware_vtep", fromVersion="1.0.0")
24 public interface PhysicalPort extends TypedBaseTable {
25 @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
26 public Column<GenericTableSchema, String> getNameColumn();
28 @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
29 public String getName();
31 @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
32 public void setName(String name);
35 @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
36 public Column<GenericTableSchema, String> getDescriptionColumn();
38 @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
39 public String getDescription();
41 @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
42 public void setDescription(String description);
45 @TypedColumn(name="vlan_bindings", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
46 public Column<GenericTableSchema, Map<Integer, UUID>> getVlanBindingsColumn();
48 @TypedColumn(name="vlan_bindings", method=MethodType.SETDATA, fromVersion="1.0.0")
49 public void setVlanBindings(Map<Integer, UUID> vlanBindings);
52 @TypedColumn(name="vlan_stats", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
53 public Column<GenericTableSchema, Map<Integer, UUID>> getVlanStatsColumn();
55 @TypedColumn(name="vlan_stats", method=MethodType.SETDATA, fromVersion="1.0.0")
56 public void setVlanStats(Map<Integer, UUID> vlanStats);
59 @TypedColumn(name="port_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
60 public Column<GenericTableSchema, Set<String>> getPortFaultStatusColumn();
62 @TypedColumn(name="port_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
63 public void setPortFaultStatus(Set<String> portFaultStatus);