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;
}