Added ArpSourcesLocal, ArpSourcesRemote and Tunnel to be inline with version 1.3... 75/8275/1
authorMadhu Venugopal <mavenugo@gmail.com>
Tue, 24 Jun 2014 04:25:55 +0000 (21:25 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Tue, 24 Jun 2014 04:25:55 +0000 (21:25 -0700)
Change-Id: I060b1a9805557de2735a0746bf82ea0d96fd23e5
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesLocal.java [new file with mode: 0644]
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesRemote.java [new file with mode: 0644]
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocator.java
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalSwitch.java
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java [new file with mode: 0644]

diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesLocal.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesLocal.java
new file mode 100644 (file)
index 0000000..232c704
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * 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 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="Arp_Sources_Local", database="hardware_vtep", fromVersion="1.2.0")
+public interface ArpSourcesLocal extends TypedBaseTable {
+    @TypedColumn(name="src_mac", method=MethodType.GETCOLUMN, fromVersion="1.2.0")
+    public Column<GenericTableSchema, String> getSrcMacColumn();
+
+    @TypedColumn(name="src_mac", method=MethodType.GETDATA, fromVersion="1.2.0")
+    public String getSrcMac();
+
+    @TypedColumn(name="src_mac", method=MethodType.SETDATA, fromVersion="1.2.0")
+    public void setSrcMac(String srcMac);
+
+    @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.2.0")
+    public Column<GenericTableSchema, UUID> getLocatorColumn();
+
+    @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.2.0")
+    public void setLocator(UUID locator);
+}
diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesRemote.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/ArpSourcesRemote.java
new file mode 100644 (file)
index 0000000..f6d45d3
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * 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 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="Arp_Sources_Remote", database="hardware_vtep", fromVersion="1.2.0")
+public interface ArpSourcesRemote extends TypedBaseTable {
+    @TypedColumn(name="src_mac", method=MethodType.GETCOLUMN, fromVersion="1.2.0")
+    public Column<GenericTableSchema, String> getSrcMacColumn();
+
+    @TypedColumn(name="src_mac", method=MethodType.GETDATA, fromVersion="1.2.0")
+    public String getSrcMac();
+
+    @TypedColumn(name="src_mac", method=MethodType.SETDATA, fromVersion="1.2.0")
+    public void setSrcMac(String srcMac);
+
+    @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.2.0")
+    public Column<GenericTableSchema, UUID> getLocatorColumn();
+
+    @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.2.0")
+    public void setLocator(UUID locator);
+}
index 32d50c9d553cec9df5301e90382003ff6bb94d95..20ee90614fc709eb1caa98933dce2c426819a78f 100644 (file)
@@ -32,15 +32,15 @@ public interface PhysicalLocator extends TypedBaseTable {
     @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")
+    @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="1.2.0")
     public Column<GenericTableSchema, Map<String, String>> getBfdColumn();
 
-    @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="1.0.0")
+    @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="1.2.0")
     public void setBfd(Map<String, String> bfd);
 
-    @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="1.2.0")
     public Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
 
-    @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.0.0")
+    @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="1.2.0")
     public void setBfdStatus(Map<String, String> bfdStatus);
 }
\ No newline at end of file
index 958c93d617d7a57af0d53a3cb5a7f4bebe00b229..61c3afabf6f17b11226979687489f1eb07bb4881 100644 (file)
@@ -62,6 +62,12 @@ public interface PhysicalSwitch extends TypedBaseTable {
     public void setTunnelIps(Set<String> tunnelIps);
 
 
+    @TypedColumn(name="tunnels", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, Set<UUID>> getTunnels();
+
+    @TypedColumn(name="tunnels", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setTunnels(Set<UUID> tunnels);
+
     @TypedColumn(name="switch_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")
     public Column<GenericTableSchema, Set<String>> getSwitchFaultStatusColumn();
 
diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java
new file mode 100644 (file)
index 0000000..0e6ea7a
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * 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.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="Tunnel", database="hardware_vtep", fromVersion="1.3.0")
+public interface Tunnel extends TypedBaseTable {
+    @TypedColumn(name="local", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, UUID> getLocalColumn();
+
+    @TypedColumn(name="local", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setLocal(UUID local);
+
+    @TypedColumn(name="remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, UUID> getRemoteColumn();
+
+    @TypedColumn(name="remote", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setRemote(UUID remote);
+
+    @TypedColumn(name="bfd_config_local", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, Map<String, String>> getBfdConfigLocalColumn();
+
+    @TypedColumn(name="bfd_config_local", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setBfdConfigLocal(Map<String, String> bfdConfigLocal);
+
+    @TypedColumn(name="bfd_config_remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, Map<String, String>> getBfdConfigRemoteColumn();
+
+    @TypedColumn(name="bfd_config_remote", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setBfdConfigRemote(Map<String, String> bfdConfigRemote);
+
+    @TypedColumn(name="bfd_params", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, Map<String, String>> getBfdParamsColumn();
+
+    @TypedColumn(name="bfd_params", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setBfdParams(Map<String, String> bfdParams);
+
+    @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.3.0")
+    public Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
+
+    @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.3.0")
+    public void setBfdStatus(Map<String, String> bfdStatus);
+}