Bump versions by x.(y+1).z
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / PhysicalSwitch.java
1 /*
2  * Copyright (c) 2014, 2015 Red Hat, Inc. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.schema.hardwarevtep;
10
11 import java.util.Map;
12 import java.util.Set;
13 import org.opendaylight.ovsdb.lib.notation.Column;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
16 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
20
21 @TypedTable(name = "Physical_Switch", database = "hardware_vtep", fromVersion = "1.0.0")
22 public interface PhysicalSwitch extends TypedBaseTable<GenericTableSchema> {
23     @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
24     Column<GenericTableSchema, String> getNameColumn();
25
26     @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0")
27     String getName();
28
29     @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0")
30     void setName(String name);
31
32     @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
33     Column<GenericTableSchema, String> getDescriptionColumn();
34
35     @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0")
36     String getDescription();
37
38     @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0")
39     void setDescription(String description);
40
41     @TypedColumn(name = "ports", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
42     Column<GenericTableSchema, Set<UUID>> getPortsColumn();
43
44     @TypedColumn(name = "ports", method = MethodType.SETDATA, fromVersion = "1.0.0")
45     void setPorts(Set<UUID> ports);
46
47     @TypedColumn(name = "management_ips", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
48     Column<GenericTableSchema, Set<String>> getManagementIpsColumn();
49
50     @TypedColumn(name = "management_ips", method = MethodType.SETDATA, fromVersion = "1.0.0")
51     void setManagementIps(Set<String> managementIps);
52
53     @TypedColumn(name = "tunnel_ips", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
54     Column<GenericTableSchema, Set<String>> getTunnelIpsColumn();
55
56     @TypedColumn(name = "tunnel_ips", method = MethodType.SETDATA, fromVersion = "1.0.0")
57     void setTunnelIps(Set<String> tunnelIps);
58
59     @TypedColumn(name = "tunnels", method = MethodType.GETCOLUMN, fromVersion = "1.3.0")
60     Column<GenericTableSchema, Set<UUID>> getTunnels();
61
62     @TypedColumn(name = "tunnels", method = MethodType.SETDATA, fromVersion = "1.3.0")
63     void setTunnels(Set<UUID> tunnels);
64
65     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1")
66     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
67
68     @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1")
69     void setOtherConfig(Map<String, String> otherConfig);
70
71     @TypedColumn(name = "switch_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
72     Column<GenericTableSchema, Set<String>> getSwitchFaultStatusColumn();
73
74     @TypedColumn(name = "switch_fault_status", method = MethodType.SETDATA, fromVersion = "1.1.0")
75     void setSwitchFaultStatus(Set<String> switchFaultStatus);
76 }