Remove all redundant public modifiers in interfaces
authorStephen Kitt <skitt@redhat.com>
Mon, 20 Jul 2015 14:49:37 +0000 (16:49 +0200)
committerFlavio Fernandes <ffernand@redhat.com>
Tue, 21 Jul 2015 19:54:19 +0000 (19:54 +0000)
The public modifier is unnecessary in interfaces, their contents are
public by default.

Change-Id: Id307c25a9a704332dc75032432d1d2755bb3360e
Signed-off-by: Stephen Kitt <skitt@redhat.com>
25 files changed:
integrationtest/src/test/java/org/opendaylight/ovsdb/integrationtest/ovsdbclient/TestBridge.java
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/PipelineOrchestrator.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/BridgeConfigurationManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/ClassifierProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/EgressAclProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/EventDispatcher.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/IngressAclProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/L2ForwardingProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NetworkingProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NetworkingProviderManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheListener.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/OvsdbInventoryListener.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/OvsdbInventoryService.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/SecurityServicesManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/TenantNetworkManager.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/VlanConfigurationCache.java
ovsdb-plugin-compatibility-layer/src/main/java/org/opendaylight/ovsdb/compatibility/plugin/api/OvsdbConfigurationService.java
ovsdb-plugin-compatibility-layer/src/main/java/org/opendaylight/ovsdb/compatibility/plugin/api/OvsdbConnectionService.java
ovsdb-plugin-compatibility-layer/src/main/java/org/opendaylight/ovsdb/compatibility/plugin/api/OvsdbInventoryListener.java
ovsdb-plugin-compatibility-layer/src/main/java/org/opendaylight/ovsdb/compatibility/plugin/api/OvsdbInventoryService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbConfigurationService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbConnectionService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbInventoryListener.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbInventoryService.java

index 9982bab8ba4fe4b88514ff620646d792a0c36813..c40f47915881d5ddd411c482544e9785f8695c69 100644 (file)
@@ -38,20 +38,20 @@ public interface TestBridge extends TypedBaseTable {
      * will test both the options.
      */
     @TypedColumn(name="name", method=MethodType.GETDATA)
-    public String getName();
+    String getName();
 
     @TypedColumn(name="name", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, String> getNameColumn();
+    Column<GenericTableSchema, String> getNameColumn();
 
     @TypedColumn(name="name", method=MethodType.SETDATA)
-    public void setName(String name);
+    void setName(String name);
 
    /*
     * Annotations are NOT added to the Status column on purpose to test the backup
     * functionality on getter, setter, column name derivation etc.  TyperHelper.java.
     */
-    public Column<GenericTableSchema, Map<String, String>> getStatusColumn();
-    public void setStatus(Map<String, String> status);
+   Column<GenericTableSchema, Map<String, String>> getStatusColumn();
+    void setStatus(Map<String, String> status);
 
     /*
      * TypedColumn's name Annotation should override the method name based Column derivation.
@@ -59,106 +59,106 @@ public interface TestBridge extends TypedBaseTable {
      * resolution priority of TyperHelper.java
      */
     @TypedColumn(name="flood_vlans", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<Integer>> getFloodVlansColumn();
+    Column<GenericTableSchema, Set<Integer>> getFloodVlansColumn();
 
     @TypedColumn(name="flood_vlans", method=MethodType.SETDATA)
-    public void setFloodVlans(Set<Integer> vlans);
+    void setFloodVlans(Set<Integer> vlans);
 
 
     @TypedColumn(name="ports", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getPortsColumn();
+    Column<GenericTableSchema, Set<UUID>> getPortsColumn();
 
     @TypedColumn(name="ports", method=MethodType.SETDATA)
-    public void setPorts(Set<UUID> ports);
+    void setPorts(Set<UUID> ports);
 
 
     @TypedColumn(name="mirrors", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getMirrorsColumn();
+    Column<GenericTableSchema, Set<UUID>> getMirrorsColumn();
 
     @TypedColumn(name="mirrors", method=MethodType.SETDATA)
-    public void setMirrors(Set<UUID> mirrors);
+    void setMirrors(Set<UUID> mirrors);
 
 
     @TypedColumn(name="controller", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getControllerColumn();
+    Column<GenericTableSchema, Set<UUID>> getControllerColumn();
 
     @TypedColumn(name="controller", method=MethodType.SETDATA)
-    public void setController(Set<UUID> controller);
+    void setController(Set<UUID> controller);
 
 
     @TypedColumn(name="datapath_id", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<String>> getDatapathIdColumn();
+    Column<GenericTableSchema, Set<String>> getDatapathIdColumn();
 
     @TypedColumn(name="datapath_id", method=MethodType.SETDATA)
-    public void setDatapathId(Set<String> datapathId);
+    void setDatapathId(Set<String> datapathId);
 
 
     @TypedColumn(name="datapath_type", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, String> getDatapathTypeColumn();
+    Column<GenericTableSchema, String> getDatapathTypeColumn();
 
     @TypedColumn(name="datapath_type", method=MethodType.SETDATA)
-    public void setDatapathType(String datapathType);
+    void setDatapathType(String datapathType);
 
 
     @TypedColumn(name="fail_mode", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<String>> getFailModeColumn();
+    Column<GenericTableSchema, Set<String>> getFailModeColumn();
 
     @TypedColumn(name="fail_mode", method=MethodType.SETDATA)
-    public void setFailMode(Set<String> failMode);
+    void setFailMode(Set<String> failMode);
 
 
     @TypedColumn(name="sflow", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getSflowColumn();
+    Column<GenericTableSchema, Set<UUID>> getSflowColumn();
 
     @TypedColumn(name="sflow", method=MethodType.SETDATA)
-    public void setSflow(Set<UUID> sflow);
+    void setSflow(Set<UUID> sflow);
 
 
     @TypedColumn(name="netflow", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getNetflowColumn();
+    Column<GenericTableSchema, Set<UUID>> getNetflowColumn();
 
     @TypedColumn(name="netflow", method=MethodType.SETDATA)
-    public void setNetflow(Set<UUID> netflow);
+    void setNetflow(Set<UUID> netflow);
 
 
     @TypedColumn(name="flow_tables", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Map<Integer, UUID>> getFlowTablesColumn();
+    Column<GenericTableSchema, Map<Integer, UUID>> getFlowTablesColumn();
 
     @TypedColumn(name="flow_tables", method=MethodType.SETDATA)
-    public void setFlowTables(Map<Integer, UUID> flowTables);
+    void setFlowTables(Map<Integer, UUID> flowTables);
 
 
     @TypedColumn(name="stp_enable", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Boolean> getStpEnableColumn();
+    Column<GenericTableSchema, Boolean> getStpEnableColumn();
 
     @TypedColumn(name="stp_enable", method=MethodType.SETDATA)
-    public void setStpEnable(Boolean stp_enable);
+    void setStpEnable(Boolean stp_enable);
 
 
     @TypedColumn(name="protocols", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<String>> getProtocolsColumn();
+    Column<GenericTableSchema, Set<String>> getProtocolsColumn();
 
     @TypedColumn(name="protocols", method=MethodType.SETDATA)
-    public void setProtocols(Set<String> protocols);
+    void setProtocols(Set<String> protocols);
 
 
     @TypedColumn(name="other_config", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
+    Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
 
     @TypedColumn(name="other_config", method=MethodType.SETDATA)
-    public void setOtherConfig(Map<String, String> other_config);
+    void setOtherConfig(Map<String, String> other_config);
 
 
     @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
+    Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
 
     @TypedColumn(name="external_ids", method=MethodType.SETDATA)
-    public void setExternalIds(Map<String, String> externalIds);
+    void setExternalIds(Map<String, String> externalIds);
 
 
     @TypedColumn(name="ipfix", method=MethodType.GETCOLUMN)
-    public Column<GenericTableSchema, Set<UUID>> getIpfixColumn();
+    Column<GenericTableSchema, Set<UUID>> getIpfixColumn();
 
     @TypedColumn(name="ipfix", method=MethodType.SETDATA)
-    public void setIpfix(Set<UUID> ipfix);
+    void setIpfix(Set<UUID> ipfix);
 }
index ac2e104cd94a1249af08d0b97e43dbfaa60365b3..612b8670126f752965746ec690b416ee61b5797a 100644 (file)
@@ -17,9 +17,9 @@ import org.osgi.framework.ServiceReference;
  * @author Madhu Venugopal
  */
 public interface PipelineOrchestrator {
-    public Service getNextServiceInPipeline(Service service);
+    Service getNextServiceInPipeline(Service service);
     AbstractServiceInstance getServiceInstance(Service service);
-    public void enqueue(Node node);
-    public void registerService(final ServiceReference ref, AbstractServiceInstance serviceInstance);
-    public void unregisterService(final ServiceReference ref);
+    void enqueue(Node node);
+    void registerService(final ServiceReference ref, AbstractServiceInstance serviceInstance);
+    void unregisterService(final ServiceReference ref);
 }
index 2130e14a753abcdec2474eb255924b3eb9623815..ed869bd390c6ff4f5a5e996ed2f104b1e8d1a1c2 100644 (file)
@@ -31,21 +31,21 @@ public interface BridgeConfigurationManager {
      * @param bridgeName the name of the bridge
      * @return the UUID of the bridge
      */
-    public String getBridgeUuid(Node node, String bridgeName);
+    String getBridgeUuid(Node node, String bridgeName);
 
     /**
      * Checks for the existence of the Integration Bridge on a given Node
      * @param node the {@link Node} where the bridge should be configured
      * @return True if the bridge exists, False if it does not
      */
-    public boolean isNodeNeutronReady(Node node);
+    boolean isNodeNeutronReady(Node node);
 
     /**
      * Checks for the existence of the Network Bridge on a given Node
      * @param node the {@link Node} where the bridge should be configured
      * @return True if the bridge exists, False if it does not
      */
-    public boolean isNodeOverlayReady(Node node);
+    boolean isNodeOverlayReady(Node node);
 
     /**
      * Checks for the existence of the Network Bridge on a given Node
@@ -61,7 +61,7 @@ public interface BridgeConfigurationManager {
      * @param ovsdbNode the {@link Node} where the bridge is configured
      * @return True or False
      */
-    public boolean isNodeTunnelReady(Node bridgeNode, Node ovsdbNode);
+    boolean isNodeTunnelReady(Node bridgeNode, Node ovsdbNode);
 
     /* Determine if internal network is ready for vlan network types.
      * - OF 1.0 requires br-int, br-net, a patch connecting them and
@@ -79,7 +79,7 @@ public interface BridgeConfigurationManager {
      * @param network the {@link org.opendaylight.neutron.spi.NeutronNetwork}
      * @return True or False
      */
-    public boolean isNodeVlanReady(Node bridgeNode, Node ovsdbNode, NeutronNetwork network);
+    boolean isNodeVlanReady(Node bridgeNode, Node ovsdbNode, NeutronNetwork network);
 
     /**
      * A helper function to determine if a port exists on a given bridge
@@ -87,7 +87,7 @@ public interface BridgeConfigurationManager {
      * @param portName the name of the port to search for
      * @return True if the port exists, otherwise False
      */
-    public boolean isPortOnBridge (Node node, String portName);
+    boolean isPortOnBridge(Node node, String portName);
 
 
     /**
@@ -97,13 +97,13 @@ public interface BridgeConfigurationManager {
      * @param network the {@link org.opendaylight.neutron.spi.NeutronNetwork}
      * @return True or False
      */
-    public boolean createLocalNetwork(Node node, NeutronNetwork network);
+    boolean createLocalNetwork(Node node, NeutronNetwork network);
 
     /**
      * Prepares the given Node for Neutron Networking by creating the Integration Bridge
      * @param node the {@link Node} to prepare
      */
-    public void prepareNode(Node node);
+    void prepareNode(Node node);
 
     /**
      * Returns the physical interface mapped to the given neutron physical network.
@@ -111,12 +111,12 @@ public interface BridgeConfigurationManager {
      * @param physicalNetwork
      * @return
      */
-    public String getPhysicalInterfaceName (Node node, String physicalNetwork);
+    String getPhysicalInterfaceName(Node node, String physicalNetwork);
 
     /** Returns all physical interfaces configured in the bridge mapping
      * Bridge mappings will be of the following format:
      * @param node the {@link Node} to query
      * @return a List in the format {eth1, eth2} given bridge_mappings=physnet1:eth1,physnet2:eth2
      */
-    public List<String> getAllPhysicalInterfaceNames(Node node);
+    List<String> getAllPhysicalInterfaceNames(Node node);
 }
index d85f64a758580c9129d2cf11629074a739e7e632..cf053389b449a45dd038a5b9dc8b3bae7f5ef996 100644 (file)
@@ -14,10 +14,10 @@ package org.opendaylight.ovsdb.openstack.netvirt.api;
  *  This interface allows Classifier flows to be written to devices
  */
 public interface ClassifierProvider {
-    public void programLocalInPort(Long dpidLong, String segmentationId, Long inPort, String attachedMac, boolean write);
-    public void programLocalInPortSetVlan(Long dpidLong, String segmentationId, Long inPort, String attachedMac, boolean write);
-    public void programDropSrcIface(Long dpidLong, Long inPort, boolean write);
-    public void programTunnelIn(Long dpidLong, String segmentationId, Long ofPort, boolean write);
-    public void programVlanIn(Long dpidLong, String segmentationId, Long ethPort, boolean write);
-    public void programLLDPPuntRule(Long dpidLong);
+    void programLocalInPort(Long dpidLong, String segmentationId, Long inPort, String attachedMac, boolean write);
+    void programLocalInPortSetVlan(Long dpidLong, String segmentationId, Long inPort, String attachedMac, boolean write);
+    void programDropSrcIface(Long dpidLong, Long inPort, boolean write);
+    void programTunnelIn(Long dpidLong, String segmentationId, Long ofPort, boolean write);
+    void programVlanIn(Long dpidLong, String segmentationId, Long ethPort, boolean write);
+    void programLLDPPuntRule(Long dpidLong);
 }
index 4747ad20e54da45e6e1a813a4888fed4f4ddb386..837ebb85bac4ffb3f59c1a2bc7805f4a0a6a15b8 100644 (file)
@@ -19,8 +19,8 @@ public interface EgressAclProvider {
      * @param localPort the local port
      * @param securityGroup the security group
      */
-    public void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
-                                       long localPort, NeutronSecurityGroup securityGroup);
+    void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
+                                long localPort, NeutronSecurityGroup securityGroup);
     /**
      *  Program fixed egress ACL rules that will be associated with the VM port when a vm is spawned.
      *
@@ -33,6 +33,6 @@ public interface EgressAclProvider {
      * @param isComputePort indicates whether this port is a compute port or not
      * @param write is this flow writing or deleting
      */
-    public void programFixedSecurityACL(Long dpid, String segmentationId,String attachedMac,
-            long localPort, List<Neutron_IPs> srcAddressList, boolean isLastPortinBridge, boolean isComputePort, boolean write);
+    void programFixedSecurityACL(Long dpid, String segmentationId, String attachedMac,
+                                 long localPort, List<Neutron_IPs> srcAddressList, boolean isLastPortinBridge, boolean isComputePort, boolean write);
 }
index d66bf1289fc8283aa837701834a7e3346acf5259..6bf4bc92d66b18bfe1826855323614013ca0071c 100644 (file)
@@ -24,8 +24,8 @@ public interface EventDispatcher {
      * Enqueue the event.
      * @param event the {@link org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent} event to be handled.
      */
-    public void enqueueEvent(AbstractEvent event);
-    public void eventHandlerAdded(final ServiceReference ref, AbstractHandler handler);
-    public void eventHandlerRemoved(final ServiceReference ref);
+    void enqueueEvent(AbstractEvent event);
+    void eventHandlerAdded(final ServiceReference ref, AbstractHandler handler);
+    void eventHandlerRemoved(final ServiceReference ref);
 }
 
index a8594595fd6cf45984e6a40b6b831a600d3682ad..f4888b120b84f0c438e7330da82cc65f2bd07ef7 100644 (file)
@@ -25,8 +25,8 @@ public interface IngressAclProvider {
      * @param localPort the local port
      * @param securityGroup the security group
      */
-    public void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
-            long localPort, NeutronSecurityGroup securityGroup);
+    void programPortSecurityACL(Long dpid, String segmentationId, String attachedMac,
+                                long localPort, NeutronSecurityGroup securityGroup);
     /**
      * Program fixed ingress ACL rules that will be associated with the VM port when a vm is spawned.
      * *
@@ -38,6 +38,6 @@ public interface IngressAclProvider {
      * @param isComputePort indicates whether this port is a compute port or not
      * @param write is this flow writing or deleting
      */
-    public void programFixedSecurityACL(Long dpid, String segmentationId,
-            String attachedMac, long localPort, boolean isLastPortinSubnet, boolean isComputePort, boolean write);
+    void programFixedSecurityACL(Long dpid, String segmentationId,
+                                 String attachedMac, long localPort, boolean isLastPortinSubnet, boolean isComputePort, boolean write);
 }
index 4a155fcc3dfd7126e9da49a3262908b7bf2d7755..156f6d271d4fb95b1260dfbc7007f51c6ddb32ef 100644 (file)
@@ -13,16 +13,16 @@ package org.opendaylight.ovsdb.openstack.netvirt.api;
  *  This interface allows L2Forwarding flows to be written to devices
  */
 public interface L2ForwardingProvider {
-    public void programLocalUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
-    public void programLocalVlanUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
-    public void programLocalBcastOut(Long dpidLong, String segmentationId, Long localPort, boolean write);
-    public void programLocalVlanBcastOut(Long dpidLong, String segmentationId, Long localPort, Long ethPort, boolean write);
-    public void programLocalTableMiss(Long dpidLong, String segmentationId, boolean write);
-    public void programLocalVlanTableMiss(Long dpidLong, String segmentationId, boolean write);
-    public void programTunnelOut(Long dpidLong, String segmentationId, Long OFPortOut, String attachedMac, boolean write);
-    public void programVlanOut(Long dpidLong, String segmentationId, Long ethPort, String attachedMac, boolean write);
-    public void programTunnelFloodOut(Long dpidLong, String segmentationId, Long OFPortOut, boolean write);
-    public void programVlanFloodOut(Long dpidLong, String segmentationId, Long ethPort, boolean write);
-    public void programTunnelMiss(Long dpidLong, String segmentationId, boolean write);
-    public void programVlanMiss(Long dpidLong, String segmentationId, Long ethPort, boolean write);
+    void programLocalUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
+    void programLocalVlanUcastOut(Long dpidLong, String segmentationId, Long localPort, String attachedMac, boolean write);
+    void programLocalBcastOut(Long dpidLong, String segmentationId, Long localPort, boolean write);
+    void programLocalVlanBcastOut(Long dpidLong, String segmentationId, Long localPort, Long ethPort, boolean write);
+    void programLocalTableMiss(Long dpidLong, String segmentationId, boolean write);
+    void programLocalVlanTableMiss(Long dpidLong, String segmentationId, boolean write);
+    void programTunnelOut(Long dpidLong, String segmentationId, Long OFPortOut, String attachedMac, boolean write);
+    void programVlanOut(Long dpidLong, String segmentationId, Long ethPort, String attachedMac, boolean write);
+    void programTunnelFloodOut(Long dpidLong, String segmentationId, Long OFPortOut, boolean write);
+    void programVlanFloodOut(Long dpidLong, String segmentationId, Long ethPort, boolean write);
+    void programTunnelMiss(Long dpidLong, String segmentationId, boolean write);
+    void programVlanMiss(Long dpidLong, String segmentationId, Long ethPort, boolean write);
 }
index a2390ae72e1cd1e47b7b24acf11420788346deee..ce19ddec229a32068eb885181630aa5f3ad9262d 100644 (file)
@@ -23,28 +23,28 @@ public interface NetworkingProvider {
     /**
      * Returns the name of the NetworkingProvider
      */
-    public String getName();
+    String getName();
 
     /**
      * Return true if the provider supports Network Service Instances
      */
-    public boolean supportsServices();
+    boolean supportsServices();
 
     /**
      * Return true if the provider supports per-tenant or "static" tunneling
      */
-    public boolean hasPerTenantTunneling();
+    boolean hasPerTenantTunneling();
 
     /**
      * Handle Interface Update Callback Method
      */
-    public boolean handleInterfaceUpdate(NeutronNetwork network, Node source, OvsdbTerminationPointAugmentation intf);
+    boolean handleInterfaceUpdate(NeutronNetwork network, Node source, OvsdbTerminationPointAugmentation intf);
 
     /**
      * Handle Interface Delete Callback Method
      */
-    public boolean handleInterfaceDelete(String tunnelType, NeutronNetwork network, Node source,
-                                         OvsdbTerminationPointAugmentation intf, boolean isLastInstanceOnNode);
+    boolean handleInterfaceDelete(String tunnelType, NeutronNetwork network, Node source,
+                                  OvsdbTerminationPointAugmentation intf, boolean isLastInstanceOnNode);
 
     /**
      * Initialize the Flow rules given the OVSDB node.
@@ -52,10 +52,10 @@ public interface NetworkingProvider {
      * that are Openflow Version specific. Hence we have this method in addition to the following
      * Openflow Node specific initialization method.
      */
-    public void initializeFlowRules(Node node);
+    void initializeFlowRules(Node node);
 
     /**
      * Initialize the Flow rules for a given OpenFlow node
      */
-    public void initializeOFFlowRules(Node openflowNode);
+    void initializeOFFlowRules(Node openflowNode);
 }
index 214b139db77c4ad0deeecd84d43ce9801064c275..d69d1c82a7b80478ad42b606d321c96f690459f9 100644 (file)
@@ -25,6 +25,6 @@ public interface NetworkingProviderManager {
      * @see NetworkingProvider
      */
     NetworkingProvider getProvider(Node ovsdbNode);
-    public void providerAdded(final ServiceReference ref, final NetworkingProvider provider);
-    public void providerRemoved(final ServiceReference ref);
+    void providerAdded(final ServiceReference ref, final NetworkingProvider provider);
+    void providerRemoved(final ServiceReference ref);
 }
index bfd97359f224fd25a5cde7cef410405da9c1bd06..5d36812d3950d276236da6697d66a36d5e063d66 100644 (file)
@@ -18,5 +18,5 @@ import org.osgi.framework.ServiceReference;
  * @author Sam Hague (shague@redhat.com)
  */
 public interface NodeCacheListener {
-    public void notifyNode(Node node, Action action);
+    void notifyNode(Node node, Action action);
 }
index 6b438d13e9a93757f325e3bfb7c8c35f067bbfe9..1627f228670fee277e1509b6dfdae43e30b4a5cd 100644 (file)
@@ -22,12 +22,12 @@ import org.osgi.framework.ServiceReference;
  * @author Sam Hague (shague@redhat.com)
  */
 public interface NodeCacheManager {
-    public void nodeAdded(Node node);
-    public void nodeRemoved(Node node);
-    public List<Node> getNodes();
-    public Map<NodeId, Node> getOvsdbNodes();
-    public List<Node> getBridgeNodes();
-    public void cacheListenerAdded(final ServiceReference ref, NodeCacheListener handler);
-    public void cacheListenerRemoved(final ServiceReference ref);
+    void nodeAdded(Node node);
+    void nodeRemoved(Node node);
+    List<Node> getNodes();
+    Map<NodeId, Node> getOvsdbNodes();
+    List<Node> getBridgeNodes();
+    void cacheListenerAdded(final ServiceReference ref, NodeCacheListener handler);
+    void cacheListenerRemoved(final ServiceReference ref);
 
 }
index 65ec353e47d1f309ac69c92b43d3381d7ef9ab2b..fd636712dbc2a368b91b72ef3092ba020f96c1f0 100644 (file)
@@ -4,7 +4,7 @@ import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.
 import org.opendaylight.yangtools.yang.binding.DataObject;
 
 public interface OvsdbInventoryListener {
-    public enum OvsdbType {
+    enum OvsdbType {
         NODE,
         ROW,
         OPENVSWITCH,
@@ -12,6 +12,6 @@ public interface OvsdbInventoryListener {
         CONTROLLER,
         PORT
     }
-    public void ovsdbUpdate(Node node, DataObject augmentationDataChanges, OvsdbType type, Action action);
-    public void triggerUpdates();
+    void ovsdbUpdate(Node node, DataObject augmentationDataChanges, OvsdbType type, Action action);
+    void triggerUpdates();
 }
index 2c8cb5a6b2fa4708b7eb9918ec9b9bb0ef6e8962..c6671134b13455632c10f67de9f5b66d317ccaff 100644 (file)
@@ -13,7 +13,7 @@ package org.opendaylight.ovsdb.openstack.netvirt.api;
  * @author Sam Hague (shague@redhat.com)
  */
 public interface OvsdbInventoryService {
-    public void listenerAdded(OvsdbInventoryListener listener);
-    public void listenerRemoved(OvsdbInventoryListener listener);
-    public void providersReady();
+    void listenerAdded(OvsdbInventoryListener listener);
+    void listenerRemoved(OvsdbInventoryListener listener);
+    void providersReady();
 }
index 49d255b98be0de92af056bb7fa46f71ec9aea1b6..2f48ea482768c03d7301870e5cabbe09a2b857c0 100644 (file)
@@ -28,21 +28,21 @@ public interface SecurityServicesManager {
      * @param intf the intf
      * @return the boolean
      */
-    public boolean isPortSecurityReady(OvsdbTerminationPointAugmentation intf);
+    boolean isPortSecurityReady(OvsdbTerminationPointAugmentation intf);
     /**
      * Gets security group in port.
      *
      * @param intf the intf
      * @return the security group in port
      */
-    public NeutronSecurityGroup getSecurityGroupInPort(OvsdbTerminationPointAugmentation intf);
+    NeutronSecurityGroup getSecurityGroupInPort(OvsdbTerminationPointAugmentation intf);
      /**
      * Gets the DHCP server port corresponding to a network.
      *
      * @param intf the intf
      * @return the security group in port
      */
-    public NeutronPort getDHCPServerPort(OvsdbTerminationPointAugmentation intf);
+     NeutronPort getDHCPServerPort(OvsdbTerminationPointAugmentation intf);
 
     /**
      * Is the port a compute port.
@@ -50,7 +50,7 @@ public interface SecurityServicesManager {
      * @param intf the intf
      * @return the security group in port
      */
-    public boolean isComputePort(OvsdbTerminationPointAugmentation intf);
+    boolean isComputePort(OvsdbTerminationPointAugmentation intf);
 
     /**
      * Is this the last port in the subnet to which interface belongs to.
@@ -58,7 +58,7 @@ public interface SecurityServicesManager {
      * @param intf the intf
      * @return the security group in port
      */
-    public boolean isLastPortinSubnet(Node node, OvsdbTerminationPointAugmentation intf);
+    boolean isLastPortinSubnet(Node node, OvsdbTerminationPointAugmentation intf);
 
     /**
      * Is this the last port in the bridge to which interface belongs to.
@@ -66,12 +66,12 @@ public interface SecurityServicesManager {
      * @param intf the intf
      * @return the security group in port
      */
-    public boolean isLastPortinBridge(Node node, OvsdbTerminationPointAugmentation intf);
+    boolean isLastPortinBridge(Node node, OvsdbTerminationPointAugmentation intf);
     /**
      * Returns the  list of ip adddress assigned to the interface.
      *
      * @param intf the intf
      * @return the security group in port
      */
-    public List<Neutron_IPs> getIpAddress(Node node, OvsdbTerminationPointAugmentation intf);
+    List<Neutron_IPs> getIpAddress(Node node, OvsdbTerminationPointAugmentation intf);
 }
\ No newline at end of file
index 647b413c84d9e073542dd687071f56de0bcc47b4..63508b3eef062b001a42ff278a4922036a84a184 100644 (file)
@@ -28,14 +28,14 @@ public interface TenantNetworkManager {
      * @param networkId the Neutron Network ID
      * @return the assigned VLAN ID or 0 in case of an error
      */
-    public int getInternalVlan(Node node, String networkId);
+    int getInternalVlan(Node node, String networkId);
 
     /**
      * Reclaim the assigned VLAN for the given Network
      * @param node the {@link Node} to query
      * @param network the Neutron Network ID
      */
-    public void reclaimInternalVlan(Node node, NeutronNetwork network);
+    void reclaimInternalVlan(Node node, NeutronNetwork network);
 
     /**
      * Configures the VLAN for a Tenant Network
@@ -43,7 +43,7 @@ public interface TenantNetworkManager {
      * @param tp the termination point
      * @param network the Neutron Network ID
      */
-    public void programInternalVlan(Node node, OvsdbTerminationPointAugmentation tp, NeutronNetwork network);
+    void programInternalVlan(Node node, OvsdbTerminationPointAugmentation tp, NeutronNetwork network);
 
     /**
      * Check is the given network is present on a Node
@@ -51,22 +51,22 @@ public interface TenantNetworkManager {
      * @param segmentationId the Neutron Segementation ID
      * @return True or False
      */
-    public boolean isTenantNetworkPresentInNode(Node node, String segmentationId);
+    boolean isTenantNetworkPresentInNode(Node node, String segmentationId);
 
     /**
      * Get the Neutron Network ID for a given Segmentation ID
      */
-    public String getNetworkId (String segmentationId);
+    String getNetworkId(String segmentationId);
 
     /**
      * Network Created Callback
      */
-    public int networkCreated (Node node, String networkId);
+    int networkCreated(Node node, String networkId);
 
     /**
      * Network Deleted Callback
      */
-    public void networkDeleted(String id);
+    void networkDeleted(String id);
     NeutronNetwork getTenantNetwork(OvsdbTerminationPointAugmentation terminationPointAugmentation);
-    public NeutronPort getTenantPort(OvsdbTerminationPointAugmentation terminationPointAugmentation);
+    NeutronPort getTenantPort(OvsdbTerminationPointAugmentation terminationPointAugmentation);
 }
index 529349d6ec0cbbb7fb613c95a8a57b6ae20ea188..bc50d68398ecedb46e6c90062b32629b6c477150 100644 (file)
@@ -24,7 +24,7 @@ public interface VlanConfigurationCache {
      * @param networkId the Neutron Network ID
      * @return a VLAN ID or 0 in case of an error
      */
-    public Integer assignInternalVlan (Node node, String networkId);
+    Integer assignInternalVlan(Node node, String networkId);
 
     /**
      * Recovers an assigned VLAN ID when it is no longer required
@@ -32,7 +32,7 @@ public interface VlanConfigurationCache {
      * @param networkId the Neutron Network ID
      * @return the reclaimed VLAN ID or 0 in case of an error
      */
-    public Integer reclaimInternalVlan (Node node, String networkId);
+    Integer reclaimInternalVlan(Node node, String networkId);
 
     /**
      * Returns a VLAN ID assigned to a given tenant network
@@ -40,5 +40,5 @@ public interface VlanConfigurationCache {
      * @param networkId the Neutron Network ID
      * @return the VLAN ID or 0 in case of an error
      */
-    public Integer getInternalVlan (Node node, String networkId);
+    Integer getInternalVlan(Node node, String networkId);
 }
index 81573803940af626f8f282bd07a267685d72a016..bbc0ece563bff2c7522e4f8a8e808659fd8842f5 100644 (file)
@@ -38,7 +38,7 @@ public interface OvsdbConfigurationService {
      * @return UUID of the inserted Row
      */
     @Deprecated
-    public StatusWithUuid insertRow(Node node, String tableName, String parentUuid, Row<GenericTableSchema> row);
+    StatusWithUuid insertRow(Node node, String tableName, String parentUuid, Row<GenericTableSchema> row);
 
     /**
      * insert a Row in a Table of a specified Database Schema. This is a convenience method on top of
@@ -58,8 +58,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return UUID of the inserted Row
      */
-    public UUID insertRow(Node node, String databaseName, String tableName, UUID parentRowUuid,
-                          Row<GenericTableSchema> row) throws OvsdbPluginException;
+    UUID insertRow(Node node, String databaseName, String tableName, UUID parentRowUuid,
+                   Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * insert a Row in a Table of a specified Database Schema.
@@ -78,8 +78,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return UUID of the inserted Row
      */
-    public UUID insertRow(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
-                          String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
+    UUID insertRow(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
+                   String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * inserts a Tree of Rows in multiple Tables that has parent-child relationships referenced through the OVSDB schema's refTable construct.
@@ -93,8 +93,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return Returns the row tree with the UUID of every inserted Row populated in the _uuid column of every row in the tree
      */
-    public Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, UUID parentRowUuid,
-                                              Row<GenericTableSchema> row) throws OvsdbPluginException;
+    Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, UUID parentRowUuid,
+                                       Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * inserts a Tree of Rows in multiple Tables that has parent-child relationships referenced through the OVSDB schema's refTable construct
@@ -109,8 +109,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return Returns the row tree with the UUID of every inserted Row populated in the _uuid column of every row in the tree
      */
-    public Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
-                                              String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
+    Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
+                                       String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of updateRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -126,7 +126,7 @@ public interface OvsdbConfigurationService {
      * @param row Row of table Content to be Updated. Include just those columns that needs to be updated.
      */
     @Deprecated
-    public Status updateRow (Node node, String tableName, String parentUuid, String rowUuid, Row row);
+    Status updateRow(Node node, String tableName, String parentUuid, String rowUuid, Row row);
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -141,8 +141,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the update operation will result in a specific exception.
      * @return Returns the entire Row after the update operation.
      */
-    public Row<GenericTableSchema> updateRow(Node node, String databaseName, String tableName, UUID rowUuid,
-                            Row<GenericTableSchema> row, boolean overwrite) throws OvsdbPluginException;
+    Row<GenericTableSchema> updateRow(Node node, String databaseName, String tableName, UUID rowUuid,
+                                      Row<GenericTableSchema> row, boolean overwrite) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of deleteRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -155,7 +155,7 @@ public interface OvsdbConfigurationService {
      * @param rowUuid UUID of the row that is being deleted
      */
     @Deprecated
-    public Status deleteRow (Node node, String tableName, String rowUuid);
+    Status deleteRow(Node node, String tableName, String rowUuid);
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -167,7 +167,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the delete operation will result in a specific exception.
      */
 
-    public void deleteRow (Node node, String databaseName, String tableName, UUID rowUuid) throws OvsdbPluginException;
+    void deleteRow(Node node, String databaseName, String tableName, UUID rowUuid) throws OvsdbPluginException;
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -181,8 +181,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the delete operation will result in a specific exception.
      */
 
-    public void deleteRow (Node node, String databaseName, String tableName, String parentTable,
-                           UUID parentRowUuid, String parentColumn, UUID rowUuid) throws OvsdbPluginException;
+    void deleteRow(Node node, String databaseName, String tableName, String parentTable,
+                   UUID parentRowUuid, String parentColumn, UUID rowUuid) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of getRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -196,7 +196,7 @@ public interface OvsdbConfigurationService {
      * @return a row with a list of Column data that corresponds to an unique Row-identifier called uuid in a given table.
      */
     @Deprecated
-    public Row getRow(Node node, String tableName, String uuid);
+    Row getRow(Node node, String tableName, String uuid);
 
     /**
      * Returns a Row from a table for the specified uuid.
@@ -208,7 +208,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return a row with a list of Column data that corresponds to an unique Row-identifier called uuid in a given table.
      */
-    public Row<GenericTableSchema> getRow(Node node, String databaseName, String tableName, UUID uuid) throws OvsdbPluginException;
+    Row<GenericTableSchema> getRow(Node node, String databaseName, String tableName, UUID uuid) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of getRows is a short-term replacement for the older and now deprecated method of the same name.
@@ -222,7 +222,7 @@ public interface OvsdbConfigurationService {
      * @return List of rows that makes the entire Table.
      */
     @Deprecated
-    public ConcurrentMap<String, Row> getRows(Node node, String tableName);
+    ConcurrentMap<String, Row> getRows(Node node, String tableName);
 
     /**
      * Returns all rows of a table.
@@ -233,7 +233,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return Map of rows to its UUID that makes the entire Table.
      */
-    public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName) throws OvsdbPluginException;
+    ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName) throws OvsdbPluginException;
 
     /**
      * Returns all rows of a table filtered by query string.
@@ -245,7 +245,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return Map of rows to its UUID that makes the entire Table.
      */
-    public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName, String fiqlQuery) throws OvsdbPluginException;
+    ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName, String fiqlQuery) throws OvsdbPluginException;
 
     /**
      * @deprecated Returns all the Tables in a given Ndoe.
@@ -257,7 +257,7 @@ public interface OvsdbConfigurationService {
      * @return List of Table Names that make up Open_vSwitch schema.
      */
     @Deprecated
-    public List<String> getTables(Node node);
+    List<String> getTables(Node node);
 
     /**
      * Returns all the Tables in a given Node.
@@ -267,7 +267,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return List of Table Names that make up the schema represented by the databaseName
      */
-    public List<String> getTables(Node node, String databaseName) throws OvsdbPluginException;
+    List<String> getTables(Node node, String databaseName) throws OvsdbPluginException;
 
     /**
      * setOFController is a convenience method used by existing applications to setup Openflow Controller on
@@ -281,9 +281,9 @@ public interface OvsdbConfigurationService {
      * @throws InterruptedException
      * @throws ExecutionException
      */
-    public Boolean setOFController(Node node, String bridgeUUID) throws InterruptedException, ExecutionException;
+    Boolean setOFController(Node node, String bridgeUUID) throws InterruptedException, ExecutionException;
 
-    public <T extends TypedBaseTable<?>> String getTableName(Node node, Class<T> typedClass);
-    public <T extends TypedBaseTable<?>> T getTypedRow(Node node, Class<T> typedClass, Row row);
-    public <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass);
+    <T extends TypedBaseTable<?>> String getTableName(Node node, Class<T> typedClass);
+    <T extends TypedBaseTable<?>> T getTypedRow(Node node, Class<T> typedClass, Row row);
+    <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass);
 }
index 56b506c5c55f66ca021a13702fc14c75b5ca1bb9..2a847e52744a6b1d065a4970a31419c7d130884b 100644 (file)
@@ -17,8 +17,8 @@ import org.opendaylight.ovsdb.plugin.api.Connection;
 import org.opendaylight.ovsdb.plugin.api.ConnectionConstants;
 
 public interface OvsdbConnectionService {
-    public Connection getConnection(Node node);
-    public List<Node> getNodes();
-    public Node getNode(String identifier);
-    public Node connect(String identifier, Map<ConnectionConstants, String> params);
+    Connection getConnection(Node node);
+    List<Node> getNodes();
+    Node getNode(String identifier);
+    Node connect(String identifier, Map<ConnectionConstants, String> params);
 }
index d7e3db32333dfbf137df91cf9c3757138bef8352..61de1ccf7ecc431a8fc8edc96563b492fc552bca 100644 (file)
@@ -15,9 +15,9 @@ import org.opendaylight.ovsdb.lib.notation.Row;
 import java.net.InetAddress;
 
 public interface OvsdbInventoryListener {
-    public void nodeAdded(Node node, InetAddress address, int port );
-    public void nodeRemoved(Node node);
-    public void rowAdded(Node node, String tableName, String uuid, Row row);
-    public void rowUpdated(Node node, String tableName, String uuid, Row old, Row row);
-    public void rowRemoved(Node node, String tableName, String uuid, Row row, Object context);
+    void nodeAdded(Node node, InetAddress address, int port);
+    void nodeRemoved(Node node);
+    void rowAdded(Node node, String tableName, String uuid, Row row);
+    void rowUpdated(Node node, String tableName, String uuid, Row old, Row row);
+    void rowRemoved(Node node, String tableName, String uuid, Row row, Object context);
 }
index 489120c0ed2876ecd7d39a8a63236f5e20f2cce7..2993eadde172c5f78c8ea744cbbdc321fb6abddb 100644 (file)
@@ -20,15 +20,15 @@ import org.opendaylight.ovsdb.lib.message.TableUpdates;
 import org.opendaylight.ovsdb.lib.notation.Row;
 
 public interface OvsdbInventoryService{
-    public ConcurrentMap<String, ConcurrentMap<String, Row>> getCache(Node n, String databaseName);
-    public ConcurrentMap<String, Row> getTableCache(Node n, String databaseName, String tableName);
-    public Row getRow (Node n, String databaseName, String tableName, String uuid);
-    public void updateRow(Node n, String databaseName, String tableName, String uuid, Row row);
-    public void removeRow(Node n, String databaseName, String tableName, String uuid);
-    public void processTableUpdates(Node n, String databaseName,TableUpdates tableUpdates);
-    public void printCache(Node n);
-    public void addNode(Node n, Set<Property> props);
-    public void notifyNodeAdded(Node n, InetAddress address, int port);
-    public void removeNode(Node n);
-    public void addNodeProperty(Node node, UpdateType type, Set<Property> props);
+    ConcurrentMap<String, ConcurrentMap<String, Row>> getCache(Node n, String databaseName);
+    ConcurrentMap<String, Row> getTableCache(Node n, String databaseName, String tableName);
+    Row getRow(Node n, String databaseName, String tableName, String uuid);
+    void updateRow(Node n, String databaseName, String tableName, String uuid, Row row);
+    void removeRow(Node n, String databaseName, String tableName, String uuid);
+    void processTableUpdates(Node n, String databaseName, TableUpdates tableUpdates);
+    void printCache(Node n);
+    void addNode(Node n, Set<Property> props);
+    void notifyNodeAdded(Node n, InetAddress address, int port);
+    void removeNode(Node n);
+    void addNodeProperty(Node node, UpdateType type, Set<Property> props);
 }
\ No newline at end of file
index a34e4bb5293606107e92f3bb4fea2418345a88db..be7f302222780b25d676dd9f594fef17f0b98765 100644 (file)
@@ -37,7 +37,7 @@ public interface OvsdbConfigurationService {
      * @return UUID of the inserted Row
      */
     @Deprecated
-    public StatusWithUuid insertRow(Node node, String tableName, String parentUuid, Row<GenericTableSchema> row);
+    StatusWithUuid insertRow(Node node, String tableName, String parentUuid, Row<GenericTableSchema> row);
 
     /**
      * insert a Row in a Table of a specified Database Schema. This is a convenience method on top of
@@ -57,8 +57,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return UUID of the inserted Row
      */
-    public UUID insertRow(Node node, String databaseName, String tableName, UUID parentRowUuid,
-                          Row<GenericTableSchema> row) throws OvsdbPluginException;
+    UUID insertRow(Node node, String databaseName, String tableName, UUID parentRowUuid,
+                   Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * insert a Row in a Table of a specified Database Schema.
@@ -77,8 +77,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return UUID of the inserted Row
      */
-    public UUID insertRow(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
-                          String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
+    UUID insertRow(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
+                   String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * inserts a Tree of Rows in multiple Tables that has parent-child relationships referenced through the OVSDB schema's refTable construct.
@@ -92,8 +92,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return Returns the row tree with the UUID of every inserted Row populated in the _uuid column of every row in the tree
      */
-    public Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, UUID parentRowUuid,
-                                              Row<GenericTableSchema> row) throws OvsdbPluginException;
+    Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, UUID parentRowUuid,
+                                       Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * inserts a Tree of Rows in multiple Tables that has parent-child relationships referenced through the OVSDB schema's refTable construct
@@ -108,8 +108,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the insert transaction will result in a specific exception.
      * @return Returns the row tree with the UUID of every inserted Row populated in the _uuid column of every row in the tree
      */
-    public Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
-                                              String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
+    Row<GenericTableSchema> insertTree(Node node, String databaseName, String tableName, String parentTable, UUID parentRowUuid,
+                                       String parentColumn, Row<GenericTableSchema> row) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of updateRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -125,7 +125,7 @@ public interface OvsdbConfigurationService {
      * @param row Row of table Content to be Updated. Include just those columns that needs to be updated.
      */
     @Deprecated
-    public Status updateRow (Node node, String tableName, String parentUuid, String rowUuid, Row row);
+    Status updateRow(Node node, String tableName, String parentUuid, String rowUuid, Row row);
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -140,8 +140,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the update operation will result in a specific exception.
      * @return Returns the entire Row after the update operation.
      */
-    public Row<GenericTableSchema> updateRow(Node node, String databaseName, String tableName, UUID rowUuid,
-                            Row<GenericTableSchema> row, boolean overwrite) throws OvsdbPluginException;
+    Row<GenericTableSchema> updateRow(Node node, String databaseName, String tableName, UUID rowUuid,
+                                      Row<GenericTableSchema> row, boolean overwrite) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of deleteRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -154,7 +154,7 @@ public interface OvsdbConfigurationService {
      * @param rowUuid UUID of the row that is being deleted
      */
     @Deprecated
-    public Status deleteRow (Node node, String tableName, String rowUuid);
+    Status deleteRow(Node node, String tableName, String rowUuid);
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -166,7 +166,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the delete operation will result in a specific exception.
      */
 
-    public void deleteRow (Node node, String databaseName, String tableName, UUID rowUuid) throws OvsdbPluginException;
+    void deleteRow(Node node, String databaseName, String tableName, UUID rowUuid) throws OvsdbPluginException;
 
     /**
      * update or mutate a Row in a Table of a specified Database Schema.
@@ -180,8 +180,8 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the delete operation will result in a specific exception.
      */
 
-    public void deleteRow (Node node, String databaseName, String tableName, String parentTable,
-                           UUID parentRowUuid, String parentColumn, UUID rowUuid) throws OvsdbPluginException;
+    void deleteRow(Node node, String databaseName, String tableName, String parentTable,
+                   UUID parentRowUuid, String parentColumn, UUID rowUuid) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of getRow is a short-term replacement for the older and now deprecated method of the same name.
@@ -195,7 +195,7 @@ public interface OvsdbConfigurationService {
      * @return a row with a list of Column data that corresponds to an unique Row-identifier called uuid in a given table.
      */
     @Deprecated
-    public Row getRow(Node node, String tableName, String uuid);
+    Row getRow(Node node, String tableName, String uuid);
 
     /**
      * Returns a Row from a table for the specified uuid.
@@ -207,7 +207,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return a row with a list of Column data that corresponds to an unique Row-identifier called uuid in a given table.
      */
-    public Row<GenericTableSchema> getRow(Node node, String databaseName, String tableName, UUID uuid) throws OvsdbPluginException;
+    Row<GenericTableSchema> getRow(Node node, String databaseName, String tableName, UUID uuid) throws OvsdbPluginException;
 
     /**
      * @deprecated This version of getRows is a short-term replacement for the older and now deprecated method of the same name.
@@ -221,7 +221,7 @@ public interface OvsdbConfigurationService {
      * @return List of rows that makes the entire Table.
      */
     @Deprecated
-    public ConcurrentMap<String, Row> getRows(Node node, String tableName);
+    ConcurrentMap<String, Row> getRows(Node node, String tableName);
 
     /**
      * Returns all rows of a table.
@@ -232,7 +232,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return Map of rows to its UUID that makes the entire Table.
      */
-    public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName) throws OvsdbPluginException;
+    ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName) throws OvsdbPluginException;
 
     /**
      * Returns all rows of a table filtered by query string.
@@ -244,7 +244,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return Map of rows to its UUID that makes the entire Table.
      */
-    public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName, String fiqlQuery) throws OvsdbPluginException;
+    ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName, String fiqlQuery) throws OvsdbPluginException;
 
     /**
      * @deprecated Returns all the Tables in a given Ndoe.
@@ -256,7 +256,7 @@ public interface OvsdbConfigurationService {
      * @return List of Table Names that make up Open_vSwitch schema.
      */
     @Deprecated
-    public List<String> getTables(Node node);
+    List<String> getTables(Node node);
 
     /**
      * Returns all the Tables in a given Node.
@@ -266,7 +266,7 @@ public interface OvsdbConfigurationService {
      * @throws OvsdbPluginException Any failure during the get operation will result in a specific exception.
      * @return List of Table Names that make up the schema represented by the databaseName
      */
-    public List<String> getTables(Node node, String databaseName) throws OvsdbPluginException;
+    List<String> getTables(Node node, String databaseName) throws OvsdbPluginException;
 
     /**
      * setOFController is a convenience method used by existing applications to setup Openflow Controller on
@@ -280,9 +280,9 @@ public interface OvsdbConfigurationService {
      * @throws InterruptedException
      * @throws ExecutionException
      */
-    public Boolean setOFController(Node node, String bridgeUUID) throws InterruptedException, ExecutionException;
+    Boolean setOFController(Node node, String bridgeUUID) throws InterruptedException, ExecutionException;
 
-    public <T extends TypedBaseTable<?>> String getTableName(Node node, Class<T> typedClass);
-    public <T extends TypedBaseTable<?>> T getTypedRow(Node node, Class<T> typedClass, Row row);
-    public <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass);
+    <T extends TypedBaseTable<?>> String getTableName(Node node, Class<T> typedClass);
+    <T extends TypedBaseTable<?>> T getTypedRow(Node node, Class<T> typedClass, Row row);
+    <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass);
 }
index 9b2d17f7ceec97519b2ee91d631ab80e606b2ec1..7a9868073281af752fde0be0445cc7083dc3567c 100644 (file)
@@ -15,8 +15,8 @@ import java.util.Map;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
 
 public interface OvsdbConnectionService {
-    public Connection getConnection(Node node);
-    public List<Node> getNodes();
-    public Node getNode(String identifier);
-    public Node connect(String identifier, Map<ConnectionConstants, String> params);
+    Connection getConnection(Node node);
+    List<Node> getNodes();
+    Node getNode(String identifier);
+    Node connect(String identifier, Map<ConnectionConstants, String> params);
 }
index 3461ede74c523daa4cd3434f16b55c99a071c068..ba6f37c0c350957c7f4a414c4d342397b3463d00 100644 (file)
@@ -15,9 +15,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.N
 import java.net.InetAddress;
 
 public interface OvsdbInventoryListener {
-    public void nodeAdded(Node node, InetAddress address, int port );
-    public void nodeRemoved(Node node);
-    public void rowAdded(Node node, String tableName, String uuid, Row row);
-    public void rowUpdated(Node node, String tableName, String uuid, Row old, Row row);
-    public void rowRemoved(Node node, String tableName, String uuid, Row row, Object context);
+    void nodeAdded(Node node, InetAddress address, int port);
+    void nodeRemoved(Node node);
+    void rowAdded(Node node, String tableName, String uuid, Row row);
+    void rowUpdated(Node node, String tableName, String uuid, Row old, Row row);
+    void rowRemoved(Node node, String tableName, String uuid, Row row, Object context);
 }
index fc855550ed642badc59e7d1f001168258b522d38..828e24b642525ad434bc1c7ae531c349190ffd88 100644 (file)
@@ -17,13 +17,13 @@ import org.opendaylight.ovsdb.lib.notation.Row;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
 
 public interface OvsdbInventoryService {
-    public ConcurrentMap<String, ConcurrentMap<String, Row>> getCache(Node n, String databaseName);
-    public ConcurrentMap<String, Row> getTableCache(Node n, String databaseName, String tableName);
-    public Row getRow (Node n, String databaseName, String tableName, String uuid);
-    public void updateRow(Node n, String databaseName, String tableName, String uuid, Row row);
-    public void removeRow(Node n, String databaseName, String tableName, String uuid);
-    public void processTableUpdates(Node n, String databaseName,TableUpdates tableUpdates);
-    public void printCache(Node n);
-    public void notifyNodeAdded(Node n, InetAddress address, int port);
-    public void removeNode(Node n);
+    ConcurrentMap<String, ConcurrentMap<String, Row>> getCache(Node n, String databaseName);
+    ConcurrentMap<String, Row> getTableCache(Node n, String databaseName, String tableName);
+    Row getRow(Node n, String databaseName, String tableName, String uuid);
+    void updateRow(Node n, String databaseName, String tableName, String uuid, Row row);
+    void removeRow(Node n, String databaseName, String tableName, String uuid);
+    void processTableUpdates(Node n, String databaseName, TableUpdates tableUpdates);
+    void printCache(Node n);
+    void notifyNodeAdded(Node n, InetAddress address, int port);
+    void removeNode(Node n);
 }
\ No newline at end of file