IT cases will be added once the hardware_vtep emulator setup is in place.
Change-Id: I6f2b284d2d63755425023c59d0ad85429d14ec3a
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
--- /dev/null
+/*
+ * Copyright (C) 2014 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Authors : Madhu Venugopal
+ */
+package org.opendaylight.ovsdb.schema.hardwarevtep;
+
+import java.util.Map;
+
+import org.opendaylight.ovsdb.lib.notation.Column;
+import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
+import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
+
+@TypedTable(name="Physical_Locator", database="hardware_vtep", fromVersion="1.0.0")
+public interface PhysicalLocator extends TypedBaseTable {
+ @TypedColumn(name="encapsulation_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getEncapsulationTypeColumn();
+
+ @TypedColumn(name="encapsulation_type", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setEncapsulationType(String encapsulationType);
+
+ @TypedColumn(name="dst_ip", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getDstIpColumn();
+
+ @TypedColumn(name="dst_ip", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setDstIp(String dstIp);
+
+ @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Map<String, String>> getBfdColumn();
+
+ @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setBfd(Map<String, String> bfd);
+
+ @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
+
+ @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setBfdStatus(Map<String, String> bfdStatus);
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (C) 2014 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Authors : Madhu Venugopal
+ */
+package org.opendaylight.ovsdb.schema.hardwarevtep;
+
+import java.util.Set;
+
+import org.opendaylight.ovsdb.lib.notation.Column;
+import org.opendaylight.ovsdb.lib.notation.UUID;
+import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
+import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
+
+@TypedTable(name="Physical_Locator_Set", database="hardware_vtep", fromVersion="1.0.0")
+public interface PhysicalLocatorSet extends TypedBaseTable {
+ @TypedColumn(name="locators", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Set<UUID>> getLocatorsColumn();
+
+ @TypedColumn(name="locators", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setLocators(Set<UUID> locators);
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (C) 2014 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Authors : Madhu Venugopal
+ */
+package org.opendaylight.ovsdb.schema.hardwarevtep;
+
+import java.util.Map;
+import java.util.Set;
+
+import org.opendaylight.ovsdb.lib.notation.Column;
+import org.opendaylight.ovsdb.lib.notation.UUID;
+import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
+import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
+
+@TypedTable(name="Physical_Port", database="hardware_vtep", fromVersion="1.0.0")
+public interface PhysicalPort extends TypedBaseTable {
+ @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getNameColumn();
+
+ @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
+ public String getName();
+
+ @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setName(String name);
+
+
+ @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getDescriptionColumn();
+
+ @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
+ public String getDescription();
+
+ @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setDescription(String description);
+
+
+ @TypedColumn(name="vlan_bindings", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Map<Integer, UUID>> getVlanBindingsColumn();
+
+ @TypedColumn(name="vlan_bindings", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setVlanBindings(Map<Integer, UUID> vlanBindings);
+
+
+ @TypedColumn(name="vlan_stats", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Map<Integer, UUID>> getVlanStatsColumn();
+
+ @TypedColumn(name="vlan_stats", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setVlanStats(Map<Integer, UUID> vlanStats);
+
+
+ @TypedColumn(name="port_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
+ public Column<GenericTableSchema, Set<String>> getPortFaultStatusColumn();
+
+ @TypedColumn(name="port_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
+ public void setPortFaultStatus(Set<String> portFaultStatus);
+}
--- /dev/null
+/*
+ * Copyright (C) 2014 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Authors : Madhu Venugopal
+ */
+package org.opendaylight.ovsdb.schema.hardwarevtep;
+
+import java.util.Set;
+
+import org.opendaylight.ovsdb.lib.notation.Column;
+import org.opendaylight.ovsdb.lib.notation.UUID;
+import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
+import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
+import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
+
+@TypedTable(name="Physical_Switch", database="hardware_vtep", fromVersion="1.0.0")
+public interface PhysicalSwitch extends TypedBaseTable {
+ @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getNameColumn();
+
+ @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
+ public String getName();
+
+ @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setName(String name);
+
+
+ @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, String> getDescriptionColumn();
+
+ @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
+ public String getDescription();
+
+ @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setDescription(String description);
+
+
+ @TypedColumn(name="ports", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Set<UUID>> getPortsColumn();
+
+ @TypedColumn(name="ports", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setPorts(Set<UUID> ports);
+
+
+ @TypedColumn(name="management_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Set<String>> getManagementIpsColumn();
+
+ @TypedColumn(name="management_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setManagementIps(Set<String> managementIps);
+
+
+ @TypedColumn(name="tunnel_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+ public Column<GenericTableSchema, Set<String>> getTunnelIpsColumn();
+
+ @TypedColumn(name="tunnel_ips", method=MethodType.SETDATA, fromVersion="1.0.0")
+ public void setTunnelIps(Set<String> tunnelIps);
+
+
+ @TypedColumn(name="switch_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
+ public Column<GenericTableSchema, Set<String>> getSwitchFaultStatusColumn();
+
+ @TypedColumn(name="switch_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0")
+ public void setSwitchFaultStatus(Set<String> switchFaultStatus);
+}