Merge branch 'master' into topic/schema
[ovsdb.git] / schemas / hardware_vtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / PhysicalPort.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
3  *
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
7  *
8  * Authors : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.schema.hardwarevtep;
11
12 import java.util.Map;
13 import java.util.Set;
14
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;
22
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();
27
28     @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
29     public String getName();
30
31     @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
32     public void setName(String name);
33
34
35     @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
36     public Column<GenericTableSchema, String> getDescriptionColumn();
37
38     @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
39     public String getDescription();
40
41     @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
42     public void setDescription(String description);
43
44
45     @TypedColumn(name="vlan_bindings", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
46     public Column<GenericTableSchema, Map<Integer, UUID>> getVlanBindingsColumn();
47
48     @TypedColumn(name="vlan_bindings", method=MethodType.SETDATA, fromVersion="1.0.0")
49     public void setVlanBindings(Map<Integer, UUID> vlanBindings);
50
51
52     @TypedColumn(name="vlan_stats", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
53     public Column<GenericTableSchema, Map<Integer, UUID>> getVlanStatsColumn();
54
55     @TypedColumn(name="vlan_stats", method=MethodType.SETDATA, fromVersion="1.0.0")
56     public void setVlanStats(Map<Integer, UUID> vlanStats);
57
58
59     @TypedColumn(name="port_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
60     public Column<GenericTableSchema, Set<String>> getPortFaultStatusColumn();
61
62     @TypedColumn(name="port_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
63     public void setPortFaultStatus(Set<String> portFaultStatus);
64 }