Fix incorrect OVSDB class names
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / PhysicalSwitch.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.Set;
13
14 import org.opendaylight.ovsdb.lib.notation.Column;
15 import org.opendaylight.ovsdb.lib.notation.UUID;
16 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
17 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
21
22 @TypedTable(name="Physical_Switch", database="hardware_vtep", fromVersion="1.0.0")
23 public interface PhysicalSwitch extends TypedBaseTable<GenericTableSchema> {
24     @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
25     public Column<GenericTableSchema, String> getNameColumn();
26
27     @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
28     public String getName();
29
30     @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
31     public void setName(String name);
32
33
34     @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
35     public Column<GenericTableSchema, String> getDescriptionColumn();
36
37     @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
38     public String getDescription();
39
40     @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
41     public void setDescription(String description);
42
43
44     @TypedColumn(name="ports", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
45     public Column<GenericTableSchema, Set<UUID>> getPortsColumn();
46
47     @TypedColumn(name="ports", method=MethodType.SETDATA, fromVersion="1.0.0")
48     public void setPorts(Set<UUID> ports);
49
50
51     @TypedColumn(name="management_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
52     public Column<GenericTableSchema, Set<String>> getManagementIpsColumn();
53
54     @TypedColumn(name="management_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
55     public void setManagementIps(Set<String> managementIps);
56
57
58     @TypedColumn(name="tunnel_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
59     public Column<GenericTableSchema, Set<String>> getTunnelIpsColumn();
60
61     @TypedColumn(name="tunnel_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
62     public void setTunnelIps(Set<String> tunnelIps);
63
64
65     @TypedColumn(name="tunnels", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
66     public Column<GenericTableSchema, Set<UUID>> getTunnels();
67
68     @TypedColumn(name="tunnels", method=MethodType.SETDATA, fromVersion="1.3.0")
69     public void setTunnels(Set<UUID> tunnels);
70
71     @TypedColumn(name="switch_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
72     public Column<GenericTableSchema, Set<String>> getSwitchFaultStatusColumn();
73
74     @TypedColumn(name="switch_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
75     public void setSwitchFaultStatus(Set<String> switchFaultStatus);
76 }