From 243e905149ef4fe73b96720e52b622a171c1c71d Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Fri, 2 Mar 2018 16:50:05 -0500 Subject: [PATCH] Fix checkstyle violations in schema Change-Id: Ifdfeaeee54a69071758b12762fab8093974a5c6e Signed-off-by: Tom Pantelis --- .../hardwarevtep/LogicalBindingStats.java | 18 +- .../schema/hardwarevtep/LogicalRouter.java | 38 ++-- .../schema/hardwarevtep/LogicalSwitch.java | 33 ++-- .../ovsdb/schema/hardwarevtep/Manager.java | 29 ++- .../schema/hardwarevtep/McastMacsLocal.java | 24 ++- .../schema/hardwarevtep/McastMacsRemote.java | 24 ++- .../schema/hardwarevtep/PhysicalLocator.java | 24 ++- .../hardwarevtep/PhysicalLocatorSet.java | 9 +- .../schema/hardwarevtep/PhysicalPort.java | 41 ++-- .../schema/hardwarevtep/PhysicalSwitch.java | 46 ++--- .../ovsdb/schema/hardwarevtep/Tunnel.java | 27 ++- .../schema/hardwarevtep/UcastMacsLocal.java | 24 ++- .../schema/hardwarevtep/UcastMacsRemote.java | 24 ++- .../schema/hardwarevtep/HardwareVTEPTest.java | 2 +- .../openvswitch/FlowSampleCollectorSet.java | 3 +- .../ovsdb/schema/openvswitch/FlowTable.java | 3 +- .../ovsdb/schema/openvswitch/IPFIX.java | 44 +++-- .../ovsdb/schema/openvswitch/Interface.java | 181 +++++++++++------- .../ovsdb/schema/openvswitch/Manager.java | 45 +++-- .../ovsdb/schema/openvswitch/Mirror.java | 49 +++-- .../ovsdb/schema/openvswitch/NetFlow.java | 34 ++-- .../ovsdb/schema/openvswitch/OpenVSwitch.java | 92 +++++---- .../ovsdb/schema/openvswitch/Port.java | 99 ++++++---- .../ovsdb/schema/openvswitch/Qos.java | 42 ++-- .../ovsdb/schema/openvswitch/Queue.java | 36 ++-- .../ovsdb/schema/openvswitch/SFlow.java | 71 +++---- .../ovsdb/schema/openvswitch/SSL.java | 50 ++--- 27 files changed, 572 insertions(+), 540 deletions(-) diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalBindingStats.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalBindingStats.java index 8be8f5170..a0a0df344 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalBindingStats.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalBindingStats.java @@ -15,30 +15,30 @@ 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="Logical_Binding_Stats", database="hardware_vtep", fromVersion="1.0.0") +@TypedTable(name = "Logical_Binding_Stats", database = "hardware_vtep", fromVersion = "1.0.0") public interface LogicalBindingStats extends TypedBaseTable { - @TypedColumn(name="bytes_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bytes_from_local", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getBytesFromLocalColumn(); - @TypedColumn(name="bytes_from_local", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "bytes_from_local", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBytesFromLocal(Long bytesFromLocal); - @TypedColumn(name="packets_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "packets_from_local", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getPacketsFromLocalColumn(); - @TypedColumn(name="packets_from_local", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "packets_from_local", method = MethodType.SETDATA, fromVersion = "1.0.0") void setPacketsFromLocal(Long packetsFromLocal); - @TypedColumn(name="bytes_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bytes_to_local", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getBytesToLocalColumn(); - @TypedColumn(name="bytes_to_local", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "bytes_to_local", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBytesToLocal(Long bytesToLocal); - @TypedColumn(name="packets_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "packets_to_local", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getPacketsToLocalColumn(); - @TypedColumn(name="packets_to_local", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "packets_to_local", method = MethodType.SETDATA, fromVersion = "1.0.0") void setPacketsToLocal(Long packetsToLocal); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalRouter.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalRouter.java index a5a18ec8e..c99da95cd 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalRouter.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalRouter.java @@ -9,7 +9,6 @@ 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; @@ -18,52 +17,47 @@ 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="Logical_Router", database="hardware_vtep", fromVersion="1.0.0") +@TypedTable(name = "Logical_Router", database = "hardware_vtep", fromVersion = "1.0.0") public interface LogicalRouter extends TypedBaseTable { - @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - - @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getDescriptionColumn(); - @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0") String getDescription(); - @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDescription(String description); - - @TypedColumn(name="switch_binding", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "switch_binding", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSwitchBindingColumn(); - @TypedColumn(name="switch_binding", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "switch_binding", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSwitchBinding(Map switchBinding); - - @TypedColumn(name="static_routes", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "static_routes", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getStaticRoutesColumn(); - @TypedColumn(name="static_routes", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "static_routes", method = MethodType.SETDATA, fromVersion = "1.0.0") void setStaticRoutes(Map staticRoutes); - - @TypedColumn(name="acl_binding", method=MethodType.GETCOLUMN, fromVersion="1.4.0") + @TypedColumn(name = "acl_binding", method = MethodType.GETCOLUMN, fromVersion = "1.4.0") Column> getAclBindingColumn(); - @TypedColumn(name="acl_binding", method=MethodType.SETDATA, fromVersion="1.4.0") + @TypedColumn(name = "acl_binding", method = MethodType.SETDATA, fromVersion = "1.4.0") void setAclBinding(Map aclBinding); - - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1") void setOtherConfig(Map otherConfig); -} \ No newline at end of file +} diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalSwitch.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalSwitch.java index 5b1d62098..3a39231b2 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalSwitch.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/LogicalSwitch.java @@ -10,7 +10,6 @@ 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.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -18,45 +17,41 @@ 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="Logical_Switch", database="hardware_vtep", fromVersion="1.0.0") +@TypedTable(name = "Logical_Switch", database = "hardware_vtep", fromVersion = "1.0.0") public interface LogicalSwitch extends TypedBaseTable { - @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - - @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getDescriptionColumn(); - @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0") String getDescription(); - @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDescription(String description); - - @TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "tunnel_key", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getTunnelKeyColumn(); - @TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "tunnel_key", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTunnelKey(Set tunnelKey); - - @TypedColumn(name="replication_mode", method=MethodType.GETCOLUMN, fromVersion="1.6.0") + @TypedColumn(name = "replication_mode", method = MethodType.GETCOLUMN, fromVersion = "1.6.0") Column> getReplicationModeColumn(); - @TypedColumn(name="replication_mode", method=MethodType.SETDATA, fromVersion="1.6.0") + @TypedColumn(name = "replication_mode", method = MethodType.SETDATA, fromVersion = "1.6.0") void setReplicationMode(Set replicationMode); - - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1") void setOtherConfig(Map otherConfig); -} \ No newline at end of file +} diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Manager.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Manager.java index 37518085b..56dec3388 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Manager.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Manager.java @@ -10,7 +10,6 @@ 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.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -18,42 +17,42 @@ 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="Manager", database="hardware_vtep", fromVersion="1.0.0") +@TypedTable(name = "Manager", database = "hardware_vtep", fromVersion = "1.0.0") public interface Manager extends TypedBaseTable { - @TypedColumn(name="target", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "target", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getTargetColumn(); - @TypedColumn(name="target", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "target", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTarget(String target); - @TypedColumn(name="max_backoff", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getMaxBackoffColumn(); - @TypedColumn(name="max_backoff", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMaxBackoff(Set maxBackoff); - @TypedColumn(name="inactivity_probe", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getInactivityProbeColumn(); - @TypedColumn(name="inactivity_probe", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0") void setInactivityProbe(Set inactivityProbe); - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOtherConfig(Map otherConfig); - @TypedColumn(name="is_connected", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIsConnectedColumn(); - @TypedColumn(name="is_connected", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "is_connected", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIsConnectedColumn(Boolean isConnected); - @TypedColumn(name="status", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getStatusColumn(); - @TypedColumn(name="status", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "status", method = MethodType.SETDATA, fromVersion = "1.0.0") void setStatus(Map status); -} \ No newline at end of file +} diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java index ab5b653f6..01819ec80 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsLocal.java @@ -16,37 +16,35 @@ 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") +@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") + @TypedColumn(name = "MAC", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getMacColumn(); - @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0") String getMac(); - @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(String mac); - - @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLogicalSwitchColumn(); - @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLogicalSwitch(UUID logicalSwitch); - @TypedColumn(name="locator_set", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "locator_set", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLocatorSetColumn(); - @TypedColumn(name="locator_set", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "locator_set", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLocatorSet(UUID locatorSet); - - @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIpAddrColumn(); - @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0") String getIpAddr(); - @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIpAddress(String ipAddr); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java index 4d3e3bfe8..be615d2aa 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/McastMacsRemote.java @@ -16,37 +16,35 @@ 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") +@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") + @TypedColumn(name = "MAC", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getMacColumn(); - @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0") String getMac(); - @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(String mac); - - @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLogicalSwitchColumn(); - @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLogicalSwitch(UUID logicalSwitch); - @TypedColumn(name="locator_set", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "locator_set", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLocatorSetColumn(); - @TypedColumn(name="locator_set", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "locator_set", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLocatorSet(UUID locatorSet); - - @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIpAddrColumn(); - @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0") String getIpAddr(); - @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIpAddress(String ipAddr); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocator.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocator.java index 83fe20e3d..0d7d5758a 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocator.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocator.java @@ -10,7 +10,6 @@ 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.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -18,36 +17,35 @@ 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") +@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") + @TypedColumn(name = "encapsulation_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getEncapsulationTypeColumn(); - @TypedColumn(name="encapsulation_type", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "encapsulation_type", method = MethodType.SETDATA, fromVersion = "1.0.0") void setEncapsulationType(String encapsulationType); - @TypedColumn(name="dst_ip", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "dst_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getDstIpColumn(); - @TypedColumn(name="dst_ip", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "dst_ip", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDstIp(String dstIp); - @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="1.2.0") + @TypedColumn(name = "bfd", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0") Column> getBfdColumn(); - @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="1.2.0") + @TypedColumn(name = "bfd", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0") void setBfd(Map bfd); - @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="1.2.0") + @TypedColumn(name = "bfd_status", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0") Column> getBfdStatusColumn(); - @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="1.2.0") + @TypedColumn(name = "bfd_status", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0") void setBfdStatus(Map bfdStatus); - - @TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.5.0") + @TypedColumn(name = "tunnel_key", method = MethodType.GETCOLUMN, fromVersion = "1.5.0") Column> getTunnelKeyColumn(); - @TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.5.0") + @TypedColumn(name = "tunnel_key", method = MethodType.SETDATA, fromVersion = "1.5.0") void setTunnelKey(Set tunnelKey); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocatorSet.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocatorSet.java index 9978fbe13..3d2baae92 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocatorSet.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalLocatorSet.java @@ -9,7 +9,6 @@ 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; @@ -18,11 +17,11 @@ 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") +@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") + @TypedColumn(name = "locators", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getLocatorsColumn(); - @TypedColumn(name="locators", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "locators", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLocators(Set locators); -} \ No newline at end of file +} diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalPort.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalPort.java index 964b9890c..190f3cb2e 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalPort.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalPort.java @@ -10,7 +10,6 @@ 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; @@ -19,59 +18,53 @@ 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") +@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") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - - @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getDescriptionColumn(); - @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0") String getDescription(); - @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDescription(String description); - - @TypedColumn(name="vlan_bindings", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "vlan_bindings", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getVlanBindingsColumn(); - @TypedColumn(name="vlan_bindings", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "vlan_bindings", method = MethodType.SETDATA, fromVersion = "1.0.0") void setVlanBindings(Map vlanBindings); - - @TypedColumn(name="acl_bindings", method=MethodType.GETCOLUMN, fromVersion="1.4.0") + @TypedColumn(name = "acl_bindings", method = MethodType.GETCOLUMN, fromVersion = "1.4.0") Column> getAclBindingsColumn(); - @TypedColumn(name="acl_bindings", method=MethodType.SETDATA, fromVersion="1.4.0") + @TypedColumn(name = "acl_bindings", method = MethodType.SETDATA, fromVersion = "1.4.0") void setAclBindings(Map aclBindings); - - @TypedColumn(name="vlan_stats", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "vlan_stats", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getVlanStatsColumn(); - @TypedColumn(name="vlan_stats", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "vlan_stats", method = MethodType.SETDATA, fromVersion = "1.0.0") void setVlanStats(Map vlanStats); - - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1") void setOtherConfig(Map otherConfig); - - @TypedColumn(name="port_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0") + @TypedColumn(name = "port_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") Column> getPortFaultStatusColumn(); - @TypedColumn(name="port_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0") + @TypedColumn(name = "port_fault_status", method = MethodType.SETDATA, fromVersion = "1.1.0") void setPortFaultStatus(Set portFaultStatus); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalSwitch.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalSwitch.java index b6bd300e5..c4756673b 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalSwitch.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/PhysicalSwitch.java @@ -10,7 +10,6 @@ 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; @@ -19,66 +18,59 @@ 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") +@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") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - - @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getDescriptionColumn(); - @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0") String getDescription(); - @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDescription(String description); - - @TypedColumn(name="ports", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ports", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getPortsColumn(); - @TypedColumn(name="ports", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ports", method = MethodType.SETDATA, fromVersion = "1.0.0") void setPorts(Set ports); - - @TypedColumn(name="management_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "management_ips", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getManagementIpsColumn(); - @TypedColumn(name="management_ips", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "management_ips", method = MethodType.SETDATA, fromVersion = "1.0.0") void setManagementIps(Set managementIps); - - @TypedColumn(name="tunnel_ips", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "tunnel_ips", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getTunnelIpsColumn(); - @TypedColumn(name="tunnel_ips", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "tunnel_ips", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTunnelIps(Set tunnelIps); - - @TypedColumn(name="tunnels", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "tunnels", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getTunnels(); - @TypedColumn(name="tunnels", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "tunnels", method = MethodType.SETDATA, fromVersion = "1.3.0") void setTunnels(Set tunnels); - - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.5.1") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1") void setOtherConfig(Map otherConfig); - - @TypedColumn(name="switch_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0") + @TypedColumn(name = "switch_fault_status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") Column> getSwitchFaultStatusColumn(); - @TypedColumn(name="switch_fault_status", method=MethodType.SETDATA, fromVersion="1.1.0") + @TypedColumn(name = "switch_fault_status", method = MethodType.SETDATA, fromVersion = "1.1.0") void setSwitchFaultStatus(Set switchFaultStatus); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java index a235fcefa..dd1510317 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/Tunnel.java @@ -9,7 +9,6 @@ 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; @@ -18,41 +17,41 @@ 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") +@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") + @TypedColumn(name = "local", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column getLocalColumn(); - @TypedColumn(name="local", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "local", method = MethodType.SETDATA, fromVersion = "1.3.0") void setLocal(UUID local); - @TypedColumn(name="remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "remote", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column getRemoteColumn(); - @TypedColumn(name="remote", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "remote", method = MethodType.SETDATA, fromVersion = "1.3.0") void setRemote(UUID remote); - @TypedColumn(name="bfd_config_local", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "bfd_config_local", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getBfdConfigLocalColumn(); - @TypedColumn(name="bfd_config_local", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "bfd_config_local", method = MethodType.SETDATA, fromVersion = "1.3.0") void setBfdConfigLocal(Map bfdConfigLocal); - @TypedColumn(name="bfd_config_remote", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "bfd_config_remote", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getBfdConfigRemoteColumn(); - @TypedColumn(name="bfd_config_remote", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "bfd_config_remote", method = MethodType.SETDATA, fromVersion = "1.3.0") void setBfdConfigRemote(Map bfdConfigRemote); - @TypedColumn(name="bfd_params", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "bfd_params", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getBfdParamsColumn(); - @TypedColumn(name="bfd_params", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "bfd_params", method = MethodType.SETDATA, fromVersion = "1.3.0") void setBfdParams(Map bfdParams); - @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "bfd_status", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getBfdStatusColumn(); - @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="1.3.0") + @TypedColumn(name = "bfd_status", method = MethodType.SETDATA, fromVersion = "1.3.0") void setBfdStatus(Map bfdStatus); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java index 5387a94fa..d3e9ea31a 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsLocal.java @@ -16,37 +16,35 @@ 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") +@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") + @TypedColumn(name = "MAC", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getMacColumn(); - @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0") String getMac(); - @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(String mac); - - @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLogicalSwitchColumn(); - @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLogicalSwitch(UUID logicalSwitch); - @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "locator", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLocatorColumn(); - @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "locator", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLocator(UUID locator); - - @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIpAddrColumn(); - @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0") String getIpAddr(); - @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIpAddress(String ipAddr); } diff --git a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java index 3eb94e08d..aea2a272d 100644 --- a/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java +++ b/schemas/hardwarevtep/src/main/java/org/opendaylight/ovsdb/schema/hardwarevtep/UcastMacsRemote.java @@ -16,37 +16,35 @@ 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") +@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") + @TypedColumn(name = "MAC", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getMacColumn(); - @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.GETDATA, fromVersion = "1.0.0") String getMac(); - @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "MAC", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(String mac); - - @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLogicalSwitchColumn(); - @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "logical_switch", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLogicalSwitch(UUID logicalSwitch); - @TypedColumn(name="locator", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "locator", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getLocatorColumn(); - @TypedColumn(name="locator", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "locator", method = MethodType.SETDATA, fromVersion = "1.0.0") void setLocator(UUID locator); - - @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIpAddrColumn(); - @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.GETDATA, fromVersion = "1.0.0") String getIpAddr(); - @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "ipaddr", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIpAddress(String ipAddr); } diff --git a/schemas/hardwarevtep/src/test/java/org/opendaylight/ovsdb/schema/hardwarevtep/HardwareVTEPTest.java b/schemas/hardwarevtep/src/test/java/org/opendaylight/ovsdb/schema/hardwarevtep/HardwareVTEPTest.java index 306454ac7..4333baa9c 100644 --- a/schemas/hardwarevtep/src/test/java/org/opendaylight/ovsdb/schema/hardwarevtep/HardwareVTEPTest.java +++ b/schemas/hardwarevtep/src/test/java/org/opendaylight/ovsdb/schema/hardwarevtep/HardwareVTEPTest.java @@ -13,7 +13,7 @@ import org.junit.Test; public class HardwareVTEPTest { @Test - public void setManagersTest () { + public void setManagersTest() { assertTrue(true); } } diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowSampleCollectorSet.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowSampleCollectorSet.java index 926267319..2d4958fb3 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowSampleCollectorSet.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowSampleCollectorSet.java @@ -9,7 +9,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; 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; @@ -19,7 +18,7 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the Flow_Sample_Collector_Set Table + * This class is a typed interface to the Flow_Sample_Collector_Set Table. */ @TypedTable(name = "Flow_Sample_Collector_Set", database = "Open_vSwitch", fromVersion = "7.1.0") public interface FlowSampleCollectorSet extends TypedBaseTable { diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowTable.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowTable.java index 09b74ce8b..52b11a12d 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowTable.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/FlowTable.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; import java.util.Map; import java.util.Set; - import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -19,7 +18,7 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the Flow_Table Table + * This class is a typed interface to the Flow_Table Table. */ @TypedTable(name = "Flow_Table", database = "Open_vSwitch", fromVersion = "6.5.0") public interface FlowTable extends TypedBaseTable { diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/IPFIX.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/IPFIX.java index a33715932..929757ecd 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/IPFIX.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/IPFIX.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; import java.util.Map; import java.util.Set; - import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -19,43 +18,52 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the IPFIX Table + * This class is a typed interface to the IPFIX Table. */ -@TypedTable(name="IPFIX", database="Open_vSwitch", fromVersion="7.1.0") +@TypedTable(name = "IPFIX", database = "Open_vSwitch", fromVersion = "7.1.0") +@SuppressWarnings("checkstyle:AbbreviationAsWordInName") public interface IPFIX extends TypedBaseTable { - @TypedColumn(name="targets", method=MethodType.GETCOLUMN, fromVersion="7.1.0") + @TypedColumn(name = "targets", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") Column> getTargetsColumn(); - @TypedColumn(name="targets", method=MethodType.SETDATA, fromVersion="7.1.0") + + @TypedColumn(name = "targets", method = MethodType.SETDATA, fromVersion = "7.1.0") void setTargets(Set targets); - @TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="7.1.0") + @TypedColumn(name = "sampling", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") Column> getSamplingColumn(); - @TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="7.1.0") + + @TypedColumn(name = "sampling", method = MethodType.SETDATA, fromVersion = "7.1.0") void setSampling(Set sampling); - @TypedColumn(name="obs_domain_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0") + @TypedColumn(name = "obs_domain_id", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") Column> getObsDomainIdColumn(); - @TypedColumn(name="obs_domain_id", method=MethodType.SETDATA, fromVersion="7.1.0") + + @TypedColumn(name = "obs_domain_id", method = MethodType.SETDATA, fromVersion = "7.1.0") + @SuppressWarnings("checkstyle:ParameterName") void setObsDomainId(Set obs_domain_id); - @TypedColumn(name="obs_point_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0") + @TypedColumn(name = "obs_point_id", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") Column> getObsPointIdColumn(); - @TypedColumn(name="obs_point_id", method=MethodType.SETDATA, fromVersion="7.1.0") + + @TypedColumn(name = "obs_point_id", method = MethodType.SETDATA, fromVersion = "7.1.0") void setObsPointId(Set obsPointId); - @TypedColumn(name="cache_active_timeout", method=MethodType.GETCOLUMN, fromVersion="7.3.0") + @TypedColumn(name = "cache_active_timeout", method = MethodType.GETCOLUMN, fromVersion = "7.3.0") Column> getCacheActiveTimeoutColumn(); - @TypedColumn(name="cache_active_timeout", method=MethodType.SETDATA, fromVersion="7.3.0") + + @TypedColumn(name = "cache_active_timeout", method = MethodType.SETDATA, fromVersion = "7.3.0") void setCacheActiveTimeout(Set cacheActiveTimeout); - @TypedColumn(name="cache_max_flows", method=MethodType.GETCOLUMN, fromVersion="7.3.0") + @TypedColumn(name = "cache_max_flows", method = MethodType.GETCOLUMN, fromVersion = "7.3.0") Column> getCacheMaxFlowsColumn(); - @TypedColumn(name="cache_max_flows", method=MethodType.SETDATA, fromVersion="7.3.0") + + @TypedColumn(name = "cache_max_flows", method = MethodType.SETDATA, fromVersion = "7.3.0") void setCacheMaxFlows(Set cacheMaxFlows); - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="7.1.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") Column> getExternalIdsColumn(); - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="7.1.0") + + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "7.1.0") void setExternalIds(Map externalIds); -} \ No newline at end of file +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Interface.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Interface.java index 114cc06b6..52723cdd2 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Interface.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Interface.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; import java.util.Map; import java.util.Set; - import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -19,181 +18,215 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the Bridge Table + * This class is a typed interface to the Bridge Table. */ -@TypedTable(name="Interface", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "Interface", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Interface extends TypedBaseTable { - @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="type", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getTypeColumn(); - @TypedColumn(name="type", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "type", method = MethodType.SETDATA, fromVersion = "1.0.0") void setType(String type); - @TypedColumn(name="options", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "options", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOptionsColumn(); - @TypedColumn(name="options", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "options", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOptions(Map options); - @TypedColumn(name="ingress_policing_rate", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ingress_policing_rate", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIngressPolicingRateColumn(); - @TypedColumn(name="ingress_policing_rate", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "ingress_policing_rate", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIngressPolicingRate(Long ingressPolicingRate); - @TypedColumn(name="ingress_policing_burst", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ingress_policing_burst", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getIngressPolicingBurstColumn(); - @TypedColumn(name="ingress_policing_burst", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "ingress_policing_burst", method = MethodType.SETDATA, fromVersion = "1.0.0") void setIngressPolicingBurst(Long ingressPolicingBurst); - @TypedColumn(name="mac_in_use", method=MethodType.GETCOLUMN, fromVersion="7.1.0") - Column> getMacInUseColumn(); - @TypedColumn(name="mac_in_use", method=MethodType.SETDATA, fromVersion="7.1.0") + @TypedColumn(name = "mac_in_use", method = MethodType.GETCOLUMN, fromVersion = "7.1.0") + Column> getMacInUseColumn(); + + @TypedColumn(name = "mac_in_use", method = MethodType.SETDATA, fromVersion = "7.1.0") void setMacInUse(Set macInUse); - @TypedColumn(name="mac", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "mac", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getMacColumn(); - @TypedColumn(name="mac", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "mac", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(Set mac); - @TypedColumn(name="ifindex", method=MethodType.GETCOLUMN, fromVersion="7.2.1") + @TypedColumn(name = "ifindex", method = MethodType.GETCOLUMN, fromVersion = "7.2.1") Column> getIfIndexColumn(); - @TypedColumn(name="ifindex", method=MethodType.SETDATA, fromVersion="7.2.1") + + @TypedColumn(name = "ifindex", method = MethodType.SETDATA, fromVersion = "7.2.1") void setIfIndex(Set ifIndex); - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getExternalIdsColumn(); - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); - @TypedColumn(name="ofport", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ofport", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOpenFlowPortColumn(); - @TypedColumn(name="ofport", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "ofport", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOpenFlowPort(Set openFlowPort); - @TypedColumn(name="ofport_request", method=MethodType.GETCOLUMN, fromVersion="6.2.0") + @TypedColumn(name = "ofport_request", method = MethodType.GETCOLUMN, fromVersion = "6.2.0") Column> getOpenFlowPortRequestColumn(); - @TypedColumn(name="ofport_request", method=MethodType.SETDATA, fromVersion="6.2.0") + + @TypedColumn(name = "ofport_request", method = MethodType.SETDATA, fromVersion = "6.2.0") void setOpenFlowPortRequest(Set openFlowPortRequest); - @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="7.2.0") + @TypedColumn(name = "bfd", method = MethodType.GETCOLUMN, fromVersion = "7.2.0") Column> getBfdColumn(); - @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="7.2.0") + + @TypedColumn(name = "bfd", method = MethodType.SETDATA, fromVersion = "7.2.0") void setBfd(Map bfd); - @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="7.2.0") + @TypedColumn(name = "bfd_status", method = MethodType.GETCOLUMN, fromVersion = "7.2.0") Column> getBfdStatusColumn(); - @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="7.2.0") + + @TypedColumn(name = "bfd_status", method = MethodType.SETDATA, fromVersion = "7.2.0") void setBfdStatus(Map bfdStatus); - @TypedColumn(name="monitor", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="3.5.0") + @TypedColumn(name = "monitor", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "3.5.0") Column getMonitorColumn(); - @TypedColumn(name="monitor", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="3.5.0") + + @TypedColumn(name = "monitor", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "3.5.0") void setMonitor(String monitor); - @TypedColumn(name="cfm_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0") + @TypedColumn(name = "cfm_mpid", method = MethodType.GETCOLUMN, fromVersion = "4.0.0") Column> getCfmMpidColumn(); - @TypedColumn(name="cfm_mpid", method=MethodType.SETDATA) + + @TypedColumn(name = "cfm_mpid", method = MethodType.SETDATA) void setCfmMpid(Set cfmMpid); - @TypedColumn(name="cfm_remote_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0", untilVersion="5.2.0") + @TypedColumn(name = "cfm_remote_mpid", method = MethodType.GETCOLUMN, fromVersion = "4.0.0", untilVersion = "5.2.0") Column> getCfmRemoteMpidColumn(); - @TypedColumn(name="cfm_remote_mpid", method=MethodType.SETDATA, fromVersion="4.0.0", untilVersion="5.2.0") + + @TypedColumn(name = "cfm_remote_mpid", method = MethodType.SETDATA, fromVersion = "4.0.0", untilVersion = "5.2.0") void setCfmRemoteMpid(Set cfmRemoteMpid); - @TypedColumn(name="cfm_remote_mpids", method=MethodType.GETCOLUMN, fromVersion="6.0.0") + @TypedColumn(name = "cfm_remote_mpids", method = MethodType.GETCOLUMN, fromVersion = "6.0.0") Column> getCfmRemoteMpidsColumn(); - @TypedColumn(name="cfm_remote_mpids", method=MethodType.SETDATA, fromVersion="6.0.0") + + @TypedColumn(name = "cfm_remote_mpids", method = MethodType.SETDATA, fromVersion = "6.0.0") void setCfmRemoteMpids(Set cfmRemoteMpids); - @TypedColumn(name="cfm_flap_count", method=MethodType.GETCOLUMN, fromVersion="7.3.0") + @TypedColumn(name = "cfm_flap_count", method = MethodType.GETCOLUMN, fromVersion = "7.3.0") Column> getCfmFlapCountColumn(); - @TypedColumn(name="cfm_flap_count", method=MethodType.SETDATA, fromVersion="7.3.0") + + @TypedColumn(name = "cfm_flap_count", method = MethodType.SETDATA, fromVersion = "7.3.0") void setCfmFlapCount(Set cfmFlapCount); - @TypedColumn(name="cfm_fault", method=MethodType.GETCOLUMN, fromVersion="4.0.0") + @TypedColumn(name = "cfm_fault", method = MethodType.GETCOLUMN, fromVersion = "4.0.0") Column> getCfmFaultColumn(); - @TypedColumn(name="cfm_fault", method=MethodType.SETDATA, fromVersion="4.0.0") + + @TypedColumn(name = "cfm_fault", method = MethodType.SETDATA, fromVersion = "4.0.0") void setCfmFault(Set cfmFault); - @TypedColumn(name="cfm_fault_status", method=MethodType.GETCOLUMN, fromVersion="6.6.0") + @TypedColumn(name = "cfm_fault_status", method = MethodType.GETCOLUMN, fromVersion = "6.6.0") Column> getCfmFaultStatusColumn(); - @TypedColumn(name="cfm_fault_status", method=MethodType.SETDATA, fromVersion="6.6.0") + + @TypedColumn(name = "cfm_fault_status", method = MethodType.SETDATA, fromVersion = "6.6.0") void setCfmFaultStatus(Set cfmFaultStatus); - @TypedColumn(name="cfm_remote_opstate", method=MethodType.GETCOLUMN, fromVersion="6.10.0") + @TypedColumn(name = "cfm_remote_opstate", method = MethodType.GETCOLUMN, fromVersion = "6.10.0") Column> getCfmRemoteOpStateColumn(); - @TypedColumn(name="cfm_remote_opstate", method=MethodType.SETDATA, fromVersion="6.10.0") + + @TypedColumn(name = "cfm_remote_opstate", method = MethodType.SETDATA, fromVersion = "6.10.0") void setCfmRemoteOpState(Set cfmRemoteOpState); - @TypedColumn(name="cfm_health", method=MethodType.GETCOLUMN, fromVersion="6.9.0") + @TypedColumn(name = "cfm_health", method = MethodType.GETCOLUMN, fromVersion = "6.9.0") Column> getCfmHealthColumn(); - @TypedColumn(name="cfmHealth", method=MethodType.SETDATA, fromVersion="6.9.0") + + @TypedColumn(name = "cfmHealth", method = MethodType.SETDATA, fromVersion = "6.9.0") void setCfmHealth(Set cfmHealth); - @TypedColumn(name="lacp_current", method=MethodType.GETCOLUMN, fromVersion="3.3.0") + @TypedColumn(name = "lacp_current", method = MethodType.GETCOLUMN, fromVersion = "3.3.0") Column> getLacpCurrentColumn(); - @TypedColumn(name="lacp_current", method=MethodType.SETDATA, fromVersion="3.3.0") + + @TypedColumn(name = "lacp_current", method = MethodType.SETDATA, fromVersion = "3.3.0") void setLacpCurrent(Set lacpCurrent); - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOtherConfig(Map otherConfig); - @TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getStatisticsColumn(); - @TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "statistics", method = MethodType.SETDATA, fromVersion = "1.0.0") void setStatistics(Map statistics); - @TypedColumn(name="status", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getStatusColumn(); - @TypedColumn(name="status", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "status", method = MethodType.SETDATA, fromVersion = "1.0.0") void setStatus(Map status); - @TypedColumn(name="admin_state", method=MethodType.GETCOLUMN, fromVersion="1.0.6") + @TypedColumn(name = "admin_state", method = MethodType.GETCOLUMN, fromVersion = "1.0.6") Column> getAdminStateColumn(); - @TypedColumn(name="admin_state", method=MethodType.SETDATA, fromVersion="1.0.6") + + @TypedColumn(name = "admin_state", method = MethodType.SETDATA, fromVersion = "1.0.6") void setAdminState(Set adminState); - @TypedColumn(name="link_state", method=MethodType.GETCOLUMN, fromVersion="1.0.6") + @TypedColumn(name = "link_state", method = MethodType.GETCOLUMN, fromVersion = "1.0.6") Column> getLinkStateColumn(); - @TypedColumn(name="link_state", method=MethodType.SETDATA, fromVersion="1.0.6") + + @TypedColumn(name = "link_state", method = MethodType.SETDATA, fromVersion = "1.0.6") void setLinkState(Map linkState); - @TypedColumn(name="link_resets", method=MethodType.GETCOLUMN, fromVersion="6.2.0") + @TypedColumn(name = "link_resets", method = MethodType.GETCOLUMN, fromVersion = "6.2.0") Column> getLinkResetsColumn(); - @TypedColumn(name="link_resets", method=MethodType.SETDATA, fromVersion="6.2.0") + + @TypedColumn(name = "link_resets", method = MethodType.SETDATA, fromVersion = "6.2.0") void setLinkResets(Set linkResets); - @TypedColumn(name="link_speed", method=MethodType.GETCOLUMN, fromVersion="1.0.6") + @TypedColumn(name = "link_speed", method = MethodType.GETCOLUMN, fromVersion = "1.0.6") Column> getLinkSpeedColumn(); - @TypedColumn(name="link_speed", method=MethodType.SETDATA, fromVersion="1.0.6") + + @TypedColumn(name = "link_speed", method = MethodType.SETDATA, fromVersion = "1.0.6") void setLinkSpeed(Set linkSpeed); - @TypedColumn(name="duplex", method=MethodType.GETCOLUMN, fromVersion="1.0.6") + @TypedColumn(name = "duplex", method = MethodType.GETCOLUMN, fromVersion = "1.0.6") Column> getDuplexColumn(); - @TypedColumn(name="duplex", method=MethodType.SETDATA, fromVersion="1.0.6") + + @TypedColumn(name = "duplex", method = MethodType.SETDATA, fromVersion = "1.0.6") void setDuplex(Set duplex); - @TypedColumn(name="mtu", method=MethodType.GETCOLUMN, fromVersion="1.0.6") + @TypedColumn(name = "mtu", method = MethodType.GETCOLUMN, fromVersion = "1.0.6") Column> getMtuColumn(); - @TypedColumn(name="mtu", method=MethodType.SETDATA, fromVersion="1.0.6") + + @TypedColumn(name = "mtu", method = MethodType.SETDATA, fromVersion = "1.0.6") void setMtu(Set mtu); - @TypedColumn(name="error", method=MethodType.GETCOLUMN, fromVersion="7.7.0") + @TypedColumn(name = "error", method = MethodType.GETCOLUMN, fromVersion = "7.7.0") Column> getErrorColumn(); - @TypedColumn(name="error", method=MethodType.SETDATA, fromVersion="7.7.0") + + @TypedColumn(name = "error", method = MethodType.SETDATA, fromVersion = "7.7.0") void setError(Set error); - @TypedColumn(name="lldp", method=MethodType.GETCOLUMN, fromVersion="7.11.2") + @TypedColumn(name = "lldp", method = MethodType.GETCOLUMN, fromVersion = "7.11.2") Column> getLldpColumn(); - @TypedColumn(name="lldp", method=MethodType.SETDATA, fromVersion="7.11.2") - void setLldp(Map lldp); + @TypedColumn(name = "lldp", method = MethodType.SETDATA, fromVersion = "7.11.2") + void setLldp(Map lldp); } diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Manager.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Manager.java index fab409aa7..81c98b6d3 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Manager.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Manager.java @@ -8,6 +8,8 @@ package org.opendaylight.ovsdb.schema.openvswitch; +import java.util.Map; +import java.util.Set; import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -15,60 +17,57 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; -import java.util.Map; -import java.util.Set; - /** - * This class is a typed interface to the Manager Table + * This class is a typed interface to the Manager Table. */ -@TypedTable (name="Manager", database="Open_vSwitch", fromVersion = "1.0.0") +@TypedTable(name = "Manager", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Manager extends TypedBaseTable { - @TypedColumn (name="target", method= MethodType.GETCOLUMN, fromVersion = "1.0.0") + @TypedColumn(name = "target", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getTargetColumn(); - @TypedColumn (name="target", method= MethodType.SETDATA, fromVersion = "1.0.0") - void setTarget(String target) ; + @TypedColumn(name = "target", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setTarget(String target); - @TypedColumn (name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") + @TypedColumn(name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") Column getIsConnectedColumn(); - @TypedColumn (name = "is_connected", method = MethodType.SETDATA, fromVersion = "1.1.0") + @TypedColumn(name = "is_connected", method = MethodType.SETDATA, fromVersion = "1.1.0") void setIsConnected(Boolean isConnected); - @TypedColumn (name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "6.8.0") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "6.8.0") Column> getOtherConfigColumn(); - @TypedColumn (name = "other_config", method = MethodType.SETDATA, fromVersion = "6.8.0") + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "6.8.0") void setOtherConfig(Map otherConfig); - @TypedColumn (name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getExternalIdsColumn(); - @TypedColumn (name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); - @TypedColumn (name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + @TypedColumn(name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getMaxBackoffColumn(); - @TypedColumn (name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0") + @TypedColumn(name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMaxBackoff(Set maxBackoff); - @TypedColumn (name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") + @TypedColumn(name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") Column> getStatusColumn(); - @TypedColumn (name = "status", method = MethodType.SETDATA, fromVersion = "1.1.0") + @TypedColumn(name = "status", method = MethodType.SETDATA, fromVersion = "1.1.0") void setStatus(Map status); - @TypedColumn (name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + @TypedColumn(name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getInactivityProbeColumn(); - @TypedColumn (name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0") + @TypedColumn(name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0") void setInactivityProbe(Set inactivityProbe); - @TypedColumn (name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + @TypedColumn(name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getConnectionModeColumn(); - @TypedColumn (name = "connection_mode", method = MethodType.SETDATA, fromVersion = "1.0.0") + @TypedColumn(name = "connection_mode", method = MethodType.SETDATA, fromVersion = "1.0.0") void setConnectionMode(Set connectionMode); -} \ No newline at end of file +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Mirror.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Mirror.java index 289b6dc85..021c39e5c 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Mirror.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Mirror.java @@ -8,6 +8,8 @@ package org.opendaylight.ovsdb.schema.openvswitch; +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; @@ -16,69 +18,66 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; -import java.util.Map; -import java.util.Set; - /** - * This class is a typed interface to the Mirror Table + * This class is a typed interface to the Mirror Table. */ -@TypedTable (name="Mirror", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "Mirror", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Mirror extends TypedBaseTable { - @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(Set name); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") Set getName(); - @TypedColumn(name="select_src_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "select_src_port", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSelectSrcPortColumn(); - @TypedColumn(name="select_src_port", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "select_src_port", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSelectSrcPort(Set selectSrcPort); - @TypedColumn(name="select_dst_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "select_dst_port", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSelectDstPortColumn(); - @TypedColumn(name="select_dst_port", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "select_dst_port", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSelectDstPort(Set selectDstPrt); - @TypedColumn(name="select_vlan", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "select_vlan", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSelectVlanColumn(); - @TypedColumn(name="select_vlan", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "select_vlan", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSelectVlan(Set selectVlan); - @TypedColumn(name="output_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "output_port", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOutputPortColumn(); - @TypedColumn(name="output_port", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "output_port", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOutputPort(Set outputPort); - @TypedColumn (name="output_vlan", method= MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "output_vlan", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOutputVlanColumn(); - @TypedColumn (name="output_vlan", method= MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "output_vlan", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOutputVlan(Set outputVlan); - @TypedColumn (name="statistics", method= MethodType.GETCOLUMN, fromVersion="6.4.0") + @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "6.4.0") Column> getStatisticsColumn(); - @TypedColumn (name="statistics", method= MethodType.SETDATA, fromVersion="6.4.0") + @TypedColumn(name = "statistics", method = MethodType.SETDATA, fromVersion = "6.4.0") void setStatistics(Map statistics); - @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getExternalIdsColumn(); - @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); - @TypedColumn (name="select_all", method= MethodType.GETCOLUMN, fromVersion="6.2.0") + @TypedColumn(name = "select_all", method = MethodType.GETCOLUMN, fromVersion = "6.2.0") Column getSelectAllColumn(); - @TypedColumn (name="select_all", method= MethodType.SETDATA, fromVersion="6.2.0") + @TypedColumn(name = "select_all", method = MethodType.SETDATA, fromVersion = "6.2.0") void setSelectAll(Boolean selectAll); -} \ No newline at end of file +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/NetFlow.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/NetFlow.java index 733078cb8..f10fb0229 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/NetFlow.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/NetFlow.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; import java.util.Map; import java.util.Set; - import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -19,51 +18,50 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the NetFlow Table + * This class is a typed interface to the NetFlow Table. */ -@TypedTable(name="NetFlow", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "NetFlow", database = "Open_vSwitch", fromVersion = "1.0.0") public interface NetFlow extends TypedBaseTable { - @TypedColumn(name="targets", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "targets", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getTargetsColumn(); - @TypedColumn(name="targets", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "targets", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTargets(Set targets); - @TypedColumn(name="active_timeout", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "active_timeout", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getActiveTimeoutColumn(); - @TypedColumn(name="active_timeout", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "active_timeout", method = MethodType.SETDATA, fromVersion = "1.0.0") void setActiveTimeout(Long activeTimeout); - @TypedColumn(name="engine_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "engine_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getEngineTypeColumn(); - @TypedColumn(name="engine_type", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "engine_type", method = MethodType.SETDATA, fromVersion = "1.0.0") void setEngineType(Set engineType); - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getExternalIdsColumn(); - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); - @TypedColumn(name="active_timeout", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "active_timeout", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getActivityTimeoutColumn(); - @TypedColumn(name="active_timeout", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "active_timeout", method = MethodType.SETDATA, fromVersion = "1.0.0") void setActivityTimeout(Set activityTimeout); - @TypedColumn(name="add_id_to_interface", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "add_id_to_interface", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getAddIdToInterfaceColumn(); - @TypedColumn(name="add_id_to_interface", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "add_id_to_interface", method = MethodType.SETDATA, fromVersion = "1.0.0") void setAddIdToInterface(Boolean addIdToInterface); - @TypedColumn(name="engine_id", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "engine_id", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getEngineIdColumn(); - @TypedColumn(name="engine_id", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "engine_id", method = MethodType.SETDATA, fromVersion = "1.0.0") void setEngineId(Set engineId); - } diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/OpenVSwitch.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/OpenVSwitch.java index 07b8e20c9..ac2955f71 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/OpenVSwitch.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/OpenVSwitch.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; 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; @@ -21,89 +20,106 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the Open_vSwitch table + * This class is a typed interface to the Open_vSwitch table. */ -@TypedTable(name="Open_vSwitch", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "Open_vSwitch", database = "Open_vSwitch", fromVersion = "1.0.0") public interface OpenVSwitch extends TypedBaseTable { - @TypedColumn(name="bridges", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bridges", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getBridgesColumn(); - @TypedColumn(name="bridges", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "bridges", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBridges(Set bridges); - @TypedColumn(name="managers", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="2.0.0") + @TypedColumn(name = "managers", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "2.0.0") Column> getManagersColumn(); - @TypedColumn(name="managers", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="2.0.0") + + @TypedColumn(name = "managers", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "2.0.0") void setManagers(Set managers); - @TypedColumn(name="manager_options", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "manager_options", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getManagerOptionsColumn(); - @TypedColumn(name="manager_options", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "manager_options", method = MethodType.SETDATA, fromVersion = "1.0.0") void setManagerOptions(Set managerOptions); - @TypedColumn(name="ssl", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ssl", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSslColumn(); - @TypedColumn(name="ssl", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "ssl", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSsl(Set ssl); - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="5.1.0") - Column> getOtherConfigColumn() ; - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="5.1.0") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "5.1.0") + Column> getOtherConfigColumn(); + + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "5.1.0") void setOtherConfig(Map otherConfig); - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getExternalIdsColumn() ; - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getExternalIdsColumn(); + + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); - @TypedColumn(name="next_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "next_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNextConfigColumn(); - @TypedColumn(name="next_cfg", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "next_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0") void setNextConfig(Long nextConfig); - @TypedColumn(name="cur_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "cur_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getCurrentConfigColumn(); - @TypedColumn(name="cur_cfg", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "cur_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0") void setCurrentConfig(Long currentConfig); - @TypedColumn(name="capabilities", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="6.7.0") + @TypedColumn(name = "capabilities", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "6.7.0") Column> getCapabilitiesColumn(); - @TypedColumn(name="capabilities", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="6.7.0") + + @TypedColumn(name = "capabilities", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "6.7.0") void setCapabilities(Map capabilities); - @TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getStatisticsColumn(); - @TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "statistics", method = MethodType.SETDATA, fromVersion = "1.0.0") void setStatistics(Map statistics); - @TypedColumn(name="ovs_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "ovs_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOvsVersionColumn(); - @TypedColumn(name="ovs_version", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "ovs_version", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOvsVersion(Set ovsVersion); - @TypedColumn(name="db_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "db_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getDbVersionColumn(); - @TypedColumn(name="db_version", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "db_version", method = MethodType.SETDATA, fromVersion = "1.0.0") void setDbVersion(Set dbVersion); - @TypedColumn(name="system_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "system_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSystemTypeColumn(); - @TypedColumn(name="system_type", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "system_type", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSystemType(Set systemType); - @TypedColumn(name="system_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "system_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getSystemVersionColumn(); - @TypedColumn(name="system_version", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "system_version", method = MethodType.SETDATA, fromVersion = "1.0.0") void setSystemVersion(Set systemVersion); - @TypedColumn(name="datapath_types", method=MethodType.GETCOLUMN, fromVersion="7.12.1") + @TypedColumn(name = "datapath_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1") Column> getDatapathTypesColumn(); - @TypedColumn(name="datapath_types", method=MethodType.SETDATA, fromVersion="7.12.1") + + @TypedColumn(name = "datapath_types", method = MethodType.SETDATA, fromVersion = "7.12.1") + @SuppressWarnings("checkstyle:ParameterName") void setDatapathTypes(Set datapath_types); - @TypedColumn(name="iface_types", method=MethodType.GETCOLUMN, fromVersion="7.12.1") + @TypedColumn(name = "iface_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1") Column> getIfaceTypesColumn(); - @TypedColumn(name="iface_types", method=MethodType.SETDATA, fromVersion="7.12.1") - void setIfaceTypes(Set iface_types); + @TypedColumn(name = "iface_types", method = MethodType.SETDATA, fromVersion = "7.12.1") + @SuppressWarnings("checkstyle:ParameterName") + void setIfaceTypes(Set iface_types); } diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Port.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Port.java index e7f92f243..105fafdd4 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Port.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Port.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; 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; @@ -20,101 +19,121 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the Port Table + * This class is a typed interface to the Port Table. */ -@TypedTable(name="Port", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "Port", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Port extends TypedBaseTable { - @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column getNameColumn(); - @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0") void setName(String name); - @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0") String getName(); - @TypedColumn(name="interfaces", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "interfaces", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getInterfacesColumn(); - @TypedColumn(name="interfaces", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "interfaces", method = MethodType.SETDATA, fromVersion = "1.0.0") void setInterfaces(Set interfaces); - @TypedColumn(name="trunks", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "trunks", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getTrunksColumn(); - @TypedColumn(name="trunks", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "trunks", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTrunks(Set trunks); - @TypedColumn(name="tag", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "tag", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getTagColumn(); - @TypedColumn(name="tag", method=MethodType.SETDATA, fromVersion="1.0.0") + @TypedColumn(name = "tag", method = MethodType.SETDATA, fromVersion = "1.0.0") void setTag(Set tag); - @TypedColumn(name="vlan_mode", method=MethodType.GETCOLUMN, fromVersion="6.1.0") + @TypedColumn(name = "vlan_mode", method = MethodType.GETCOLUMN, fromVersion = "6.1.0") Column> getVlanModeColumn(); - @TypedColumn(name="vlan_mode", method=MethodType.SETDATA, fromVersion="6.1.0") + + @TypedColumn(name = "vlan_mode", method = MethodType.SETDATA, fromVersion = "6.1.0") void setVlanMode(Set vlanMode); - @TypedColumn(name="qos", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "qos", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getQosColumn(); - @TypedColumn(name="qos", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "qos", method = MethodType.SETDATA, fromVersion = "1.0.0") void setQos(Set qos); - @TypedColumn(name="mac", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "mac", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getMacColumn(); - @TypedColumn(name="mac", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "mac", method = MethodType.SETDATA, fromVersion = "1.0.0") void setMac(Set mac); - @TypedColumn(name="bond_type", method=MethodType.GETCOLUMN, fromVersion="1.0.2", untilVersion="1.0.3") + @TypedColumn(name = "bond_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.2", untilVersion = "1.0.3") Column> getBondTypeColumn(); - @TypedColumn(name="bond_type", method=MethodType.SETDATA) + + @TypedColumn(name = "bond_type", method = MethodType.SETDATA) + @SuppressWarnings("checkstyle:ParameterName") void setBondType(Set bond_type); - @TypedColumn(name="bond_mode", method=MethodType.GETCOLUMN, fromVersion="1.0.4") + @TypedColumn(name = "bond_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.4") Column> getBondModeColumn(); - @TypedColumn(name="bond_mode", method=MethodType.SETDATA, fromVersion="1.0.4") + + @TypedColumn(name = "bond_mode", method = MethodType.SETDATA, fromVersion = "1.0.4") + @SuppressWarnings("checkstyle:ParameterName") void setBondMode(Set bond_mode); - @TypedColumn(name="lacp", method=MethodType.GETCOLUMN, fromVersion="1.3.0") + @TypedColumn(name = "lacp", method = MethodType.GETCOLUMN, fromVersion = "1.3.0") Column> getLacpColumn(); - @TypedColumn(name="lacp", method=MethodType.SETDATA, fromVersion="1.3.0") + + @TypedColumn(name = "lacp", method = MethodType.SETDATA, fromVersion = "1.3.0") void setLacp(Set lacp); - @TypedColumn(name="bond_updelay", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bond_updelay", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getBondUpDelayColumn(); - @TypedColumn(name="bond_updelay", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "bond_updelay", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBondUpDelay(Set bondUpDelay); - @TypedColumn(name="bond_downdelay", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bond_downdelay", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getBondDownDelayColumn(); - @TypedColumn(name="bond_downdelay", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "bond_downdelay", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBondDownDelay(Set bondDownDelay); - @TypedColumn(name="bond_fake_iface", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "bond_fake_iface", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getBondFakeInterfaceColumn(); - @TypedColumn(name="bond_fake_iface", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "bond_fake_iface", method = MethodType.SETDATA, fromVersion = "1.0.0") void setBondFakeInterface(Set bondFakeInterface); - @TypedColumn(name="fake_bridge", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "fake_bridge", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getFakeBridgeColumn(); - @TypedColumn(name="fake_bridge", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "fake_bridge", method = MethodType.SETDATA, fromVersion = "1.0.0") void setFakeBridge(Set fakeBridge); - @TypedColumn(name="status", method=MethodType.GETCOLUMN, fromVersion="6.2.0") + @TypedColumn(name = "status", method = MethodType.GETCOLUMN, fromVersion = "6.2.0") Column> getStatusColumn(); - @TypedColumn(name="status", method=MethodType.SETDATA, fromVersion="6.2.0") + + @TypedColumn(name = "status", method = MethodType.SETDATA, fromVersion = "6.2.0") void setStatus(Map status); - @TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="6.3.0") + @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "6.3.0") Column> getStatisticsColumn(); - @TypedColumn(name="statistics", method=MethodType.SETDATA) + + @TypedColumn(name = "statistics", method = MethodType.SETDATA) void setStatistics(Map statistics); - @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getOtherConfigColumn(); - @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0") void setOtherConfig(Map otherConfig); - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") Column> getExternalIdsColumn(); - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") + + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") void setExternalIds(Map externalIds); } diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Qos.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Qos.java index 61413e893..f33037e1c 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Qos.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Qos.java @@ -8,7 +8,7 @@ package org.opendaylight.ovsdb.schema.openvswitch; - +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; @@ -17,35 +17,33 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; -import java.util.Map; - /** - * This class is a typed interface to the QoS Table + * This class is a typed interface to the QoS Table. */ -@TypedTable (name="QoS", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "QoS", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Qos extends TypedBaseTable { - @TypedColumn (name="queues", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getQueuesColumn() ; + @TypedColumn(name = "queues", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getQueuesColumn(); - @TypedColumn (name="queues", method= MethodType.SETDATA, fromVersion="1.0.0") - void setQueues(Map queues) ; + @TypedColumn(name = "queues", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setQueues(Map queues); - @TypedColumn (name="type", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column getTypeColumn() ; + @TypedColumn(name = "type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column getTypeColumn(); - @TypedColumn (name="type", method= MethodType.SETDATA, fromVersion="1.0.0") - void setType(String type) ; + @TypedColumn(name = "type", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setType(String type); - @TypedColumn (name="other_config", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getOtherConfigColumn() ; + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getOtherConfigColumn(); - @TypedColumn (name="other_config", method= MethodType.SETDATA, fromVersion="1.0.0") - void setOtherConfig(Map otherConfig) ; + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setOtherConfig(Map otherConfig); - @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getExternalIdsColumn() ; + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getExternalIdsColumn(); - @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0") - void setExternalIds(Map externalIds) ; -} \ No newline at end of file + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setExternalIds(Map externalIds); +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Queue.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Queue.java index 2e32573b4..6c63d6432 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Queue.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Queue.java @@ -8,7 +8,8 @@ package org.opendaylight.ovsdb.schema.openvswitch; - +import java.util.Map; +import java.util.Set; import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -16,30 +17,27 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; -import java.util.Map; -import java.util.Set; - /** - * This class is a typed interface to the Queue Table + * This class is a typed interface to the Queue Table. */ -@TypedTable (name="Queue", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "Queue", database = "Open_vSwitch", fromVersion = "1.0.0") public interface Queue extends TypedBaseTable { - @TypedColumn (name="dscp", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getDscpColumn() ; + @TypedColumn(name = "dscp", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getDscpColumn(); - @TypedColumn (name="dscp", method= MethodType.SETDATA, fromVersion="6.4.0") - void setDscp(Set dscp) ; + @TypedColumn(name = "dscp", method = MethodType.SETDATA, fromVersion = "6.4.0") + void setDscp(Set dscp); - @TypedColumn (name="other_config", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getOtherConfigColumn() ; + @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getOtherConfigColumn(); - @TypedColumn (name="other_config", method= MethodType.SETDATA, fromVersion="1.0.0") - void setOtherConfig(Map otherConfig) ; + @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setOtherConfig(Map otherConfig); - @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getExternalIdsColumn() ; + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getExternalIdsColumn(); - @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0") - void setExternalIds(Map externalIds) ; -} \ No newline at end of file + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setExternalIds(Map externalIds); +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SFlow.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SFlow.java index 82cd94e75..5def350a6 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SFlow.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SFlow.java @@ -10,7 +10,6 @@ package org.opendaylight.ovsdb.schema.openvswitch; import java.util.Map; import java.util.Set; - import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; @@ -19,37 +18,43 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; /** - * This class is a typed interface to the SFlow Table + * This class is a typed interface to the SFlow Table. */ -@TypedTable(name="sFlow", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "sFlow", database = "Open_vSwitch", fromVersion = "1.0.0") public interface SFlow extends TypedBaseTable { - @TypedColumn(name="targets", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getTargetsColumn() ; - @TypedColumn(name="targets", method=MethodType.SETDATA, fromVersion="1.0.0") - void setTargets(Set targets) ; - - @TypedColumn(name="agent", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getAgentColumn() ; - @TypedColumn(name="agent", method=MethodType.SETDATA, fromVersion="1.0.0") - void setAgent(Set agent) ; - - @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getExternalIdsColumn() ; - @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") - void setExternalIds(Map externalIds) ; - - @TypedColumn(name="header", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getHeaderColumn() ; - @TypedColumn(name="header", method=MethodType.SETDATA, fromVersion="1.0.0") - void setHeader(Set header) ; - - @TypedColumn(name="polling", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getPollingColumn() ; - @TypedColumn(name="polling", method=MethodType.SETDATA, fromVersion="1.0.0") - void setPolling(Set polling) ; - - @TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getSamplingColumn() ; - @TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="1.0.0") - void setSampling(Set sampling) ; -} \ No newline at end of file + @TypedColumn(name = "targets", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getTargetsColumn(); + + @TypedColumn(name = "targets", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setTargets(Set targets); + + @TypedColumn(name = "agent", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getAgentColumn(); + + @TypedColumn(name = "agent", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setAgent(Set agent); + + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getExternalIdsColumn(); + + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setExternalIds(Map externalIds); + + @TypedColumn(name = "header", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getHeaderColumn(); + + @TypedColumn(name = "header", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setHeader(Set header); + + @TypedColumn(name = "polling", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getPollingColumn(); + + @TypedColumn(name = "polling", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setPolling(Set polling); + + @TypedColumn(name = "sampling", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getSamplingColumn(); + + @TypedColumn(name = "sampling", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setSampling(Set sampling); +} diff --git a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SSL.java b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SSL.java index 9b5a17270..68d71aa36 100644 --- a/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SSL.java +++ b/schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/SSL.java @@ -8,6 +8,7 @@ package org.opendaylight.ovsdb.schema.openvswitch; +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; @@ -15,41 +16,40 @@ import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; -import java.util.Map; - /** - * This class is a typed interface to the SSL Table + * This class is a typed interface to the SSL Table. */ -@TypedTable (name="SSL", database="Open_vSwitch", fromVersion="1.0.0") +@TypedTable(name = "SSL", database = "Open_vSwitch", fromVersion = "1.0.0") public interface SSL extends TypedBaseTable { - @TypedColumn (name="ca_cert", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column getCaCertColumn() ; + @TypedColumn(name = "ca_cert", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column getCaCertColumn(); - @TypedColumn (name="ca_cert", method= MethodType.SETDATA, fromVersion="1.0.0") - void setCaCert(String caCert) ; + @TypedColumn(name = "ca_cert", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setCaCert(String caCert); - @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column> getExternalIdsColumn() ; + @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column> getExternalIdsColumn(); - @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0") - void setExternalIds(Map externalIds) ; + @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setExternalIds(Map externalIds); - @TypedColumn (name="bootstrap_ca_cert", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column getBootstrapCaCertColumn() ; + @TypedColumn(name = "bootstrap_ca_cert", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column getBootstrapCaCertColumn(); - @TypedColumn (name="bootstrap_ca_cert", method= MethodType.SETDATA, fromVersion="1.0.0") - void setBootstrapCaCert(Boolean bootstrapCaCert) ; + @TypedColumn(name = "bootstrap_ca_cert", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setBootstrapCaCert(Boolean bootstrapCaCert); - @TypedColumn (name="certificate", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column getCertificateColumn() ; + @TypedColumn(name = "certificate", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column getCertificateColumn(); - @TypedColumn (name="certificate", method= MethodType.SETDATA, fromVersion="1.0.0") - void setCertificate(String certificate) ; + @TypedColumn(name = "certificate", method = MethodType.SETDATA, fromVersion = "1.0.0") + void setCertificate(String certificate); - @TypedColumn (name="private_key", method= MethodType.GETCOLUMN, fromVersion="1.0.0") - Column getPrivateKeyColumn() ; + @TypedColumn(name = "private_key", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") + Column getPrivateKeyColumn(); - @TypedColumn (name="private_key", method= MethodType.SETDATA, fromVersion="1.0.0") - void setPrivateKey(String private_key) ; -} \ No newline at end of file + @TypedColumn(name = "private_key", method = MethodType.SETDATA, fromVersion = "1.0.0") + @SuppressWarnings("checkstyle:ParameterName") + void setPrivateKey(String private_key); +} -- 2.36.6