X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsamples%2Fsimpleforwarding%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsamples%2Fsimpleforwarding%2Finternal%2FSimpleForwardingImpl.java;h=4b3363b832d72ebbd12215d7236bba43009f4af3;hp=a34cbb5db80f8f7232bf8dac7c2c41e7aba42c01;hb=4142ab5dce3021e6f6551aada26c7523cd134844;hpb=e640f23d9c37afac9ca51f48e155302bc65327ed diff --git a/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java b/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java index a34cbb5db8..4b3363b832 100644 --- a/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java +++ b/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java @@ -168,7 +168,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, private void allocateCaches() { if (this.clusterContainerService == null) { - log.info("un-initialized clusterContainerService, can't create cache"); + log.trace("un-initialized clusterContainerService, can't create cache"); return; } @@ -185,7 +185,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, @SuppressWarnings({ "unchecked" }) private void retrieveCaches() { if (this.clusterContainerService == null) { - log.info("un-initialized clusterContainerService, can't retrieve cache"); + log.trace("un-initialized clusterContainerService, can't retrieve cache"); return; } @@ -198,7 +198,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, private void destroyCaches() { if (this.clusterContainerService == null) { - log.info("un-initialized clusterContainerService, can't destroy cache"); + log.trace("un-initialized clusterContainerService, can't destroy cache"); return; } @@ -800,8 +800,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, log.debug("Host Facing Port in a container came up, install the rules for all hosts from this port !"); Set allHosts = this.hostTracker.getAllHosts(); for (HostNodeConnector host : allHosts) { - if (node.equals(host.getnodeconnectorNode()) - && swPort.equals(host.getnodeConnector())) { + if (node.equals(host.getnodeconnectorNode())) { /* * This host resides behind the same switch and port for which a port up * message is received. Ideally this should not happen, but if it does,