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;
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;
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();
27 @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
28 public String getName();
30 @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
31 public void setName(String name);
34 @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
35 public Column<GenericTableSchema, String> getDescriptionColumn();
37 @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
38 public String getDescription();
40 @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
41 public void setDescription(String description);
44 @TypedColumn(name="ports", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
45 public Column<GenericTableSchema, Set<UUID>> getPortsColumn();
47 @TypedColumn(name="ports", method=MethodType.SETDATA, fromVersion="1.0.0")
48 public void setPorts(Set<UUID> ports);
51 @TypedColumn(name="management_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
52 public Column<GenericTableSchema, Set<String>> getManagementIpsColumn();
54 @TypedColumn(name="management_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
55 public void setManagementIps(Set<String> managementIps);
58 @TypedColumn(name="tunnel_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
59 public Column<GenericTableSchema, Set<String>> getTunnelIpsColumn();
61 @TypedColumn(name="tunnel_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
62 public void setTunnelIps(Set<String> tunnelIps);
65 @TypedColumn(name="tunnels", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
66 public Column<GenericTableSchema, Set<UUID>> getTunnels();
68 @TypedColumn(name="tunnels", method=MethodType.SETDATA, fromVersion="1.3.0")
69 public void setTunnels(Set<UUID> tunnels);
71 @TypedColumn(name="switch_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
72 public Column<GenericTableSchema, Set<String>> getSwitchFaultStatusColumn();
74 @TypedColumn(name="switch_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
75 public void setSwitchFaultStatus(Set<String> switchFaultStatus);