Revert "Revert "Bug 3841 - wrong severity level: getTenantNetwork did not find network""
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jun 2015 18:39:16 +0000 (14:39 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jun 2015 18:39:24 +0000 (14:39 -0400)
This reverts commit bb1aac41d7e66c7712d6c46ea95b3404f4998834.

Change-Id: Ib993d37b2ea4efbd7ac27fbf57fd58d64e897ee5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/TenantNetworkManagerImpl.java

index f04f9df0c066dd15f4d6e260ec9ba6935611f192..1ecfa0168bb08c945d08f6df846c079601716eb8 100644 (file)
@@ -124,19 +124,16 @@ public class TenantNetworkManagerImpl implements ConfigInterface, TenantNetworkM
                 if (neutronNetwork != null) {
                     logger.debug("mapped to {}", neutronNetwork);
                 } else {
-                    logger.debug("getTenantNetwork: did not find neutronNetwork in cache");
+                    logger.debug("getTenantNetwork: did not find neutronNetwork in cache from neutronPort {}",
+                                 neutronPortId);
                 }
             } else {
-                logger.debug("getTenantNetwork: did not find neutronPort in cache");
+                logger.info("getTenantNetwork did not find neutronPort {} from termination point {}",
+                        neutronPortId, terminationPointAugmentation.getName());
             }
         } else {
             logger.debug("getTenantNetwork: did not find {} in external_ids", Constants.EXTERNAL_ID_INTERFACE_ID);
         }
-        if (neutronNetwork != null) {
-            logger.debug("mapped to {}", neutronNetwork);
-        } else {
-            logger.warn("getTenantNetwork did not find network for {}", terminationPointAugmentation.getName());
-        }
         return neutronNetwork;
     }