hardware_vtep Ucast/Mcast remote/local mac tables (Ucast_Macs_Local, Ucast_Macs_Remot... 25/8225/2
authorMadhu Venugopal <mavenugo@gmail.com>
Sun, 22 Jun 2014 15:24:01 +0000 (08:24 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Mon, 23 Jun 2014 17:37:38 +0000 (10:37 -0700)
Change-Id: Ia3520231eafc3f135d159f9e97e58835b979f81f
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java [new file with mode: 0644]
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java [new file with mode: 0644]
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java [new file with mode: 0644]
schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java [new file with mode: 0644]

diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java
new file mode 100644 (file)
index 0000000..bc4f842
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * 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="Mcast_Macs_Local", database="hardware_vtep", fromVersion="1.0.0")
+public interface McastMacsLocal extends TypedBaseTable {
+    @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getMacColumn();
+
+    @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getMac();
+
+    @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setMac(String mac);
+
+
+    @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
+
+    @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLogicalSwitch(UUID logicalSwitch);
+
+    @TypedColumn(name="locator_set", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLocatorSetColumn();
+
+    @TypedColumn(name="locator_set", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLocatorSet(UUID locatorSet);
+
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getIpAddrColumn();
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getIpAddr();
+
+    @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setIpAddress(String ipAddr);
+}
diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java
new file mode 100644 (file)
index 0000000..dedec6b
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * 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="Mcast_Macs_Remote", database="hardware_vtep", fromVersion="1.0.0")
+public interface McastMacsRemote extends TypedBaseTable {
+    @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getMacColumn();
+
+    @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getMac();
+
+    @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setMac(String mac);
+
+
+    @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
+
+    @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLogicalSwitch(UUID logicalSwitch);
+
+    @TypedColumn(name="locator_set", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLocatorSetColumn();
+
+    @TypedColumn(name="locator_set", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLocatorSet(UUID locatorSet);
+
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getIpAddrColumn();
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getIpAddr();
+
+    @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setIpAddress(String ipAddr);
+}
diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java
new file mode 100644 (file)
index 0000000..db1a2b9
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * 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="Ucast_Macs_Local", database="hardware_vtep", fromVersion="1.0.0")
+public interface UcastMacsLocal extends TypedBaseTable {
+    @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getMacColumn();
+
+    @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getMac();
+
+    @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setMac(String mac);
+
+
+    @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
+
+    @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLogicalSwitch(UUID logicalSwitch);
+
+    @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLocatorColumn();
+
+    @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLocator(UUID locator);
+
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getIpAddrColumn();
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getIpAddr();
+
+    @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setIpAddress(String ipAddr);
+}
diff --git a/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java b/schemas/hardware_vtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java
new file mode 100644 (file)
index 0000000..b79c895
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * 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="Ucast_Macs_Remote", database="hardware_vtep", fromVersion="1.0.0")
+public interface UcastMacsRemote extends TypedBaseTable {
+    @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getMacColumn();
+
+    @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getMac();
+
+    @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setMac(String mac);
+
+
+    @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
+
+    @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLogicalSwitch(UUID logicalSwitch);
+
+    @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, UUID> getLocatorColumn();
+
+    @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setLocator(UUID locator);
+
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
+    public Column<GenericTableSchema, String> getIpAddrColumn();
+
+    @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
+    public String getIpAddr();
+
+    @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
+    public void setIpAddress(String ipAddr);
+}