createBridges(BridgeConfigurationManagerImpl.java:407)
* There is no external bridge interface while reading from southbound bridge node.
* Here highlighting the exception with existing conditional code.
Change-Id: Id51a97fcec7bc7a63de2f5a4eb45880d991d8eca
Signed-off-by: vinoth <m.vinoth@hcl.com>
return false;
}
Node extBridgeNode = southbound.readBridgeNode(ovsdbNode, brExt);
- Preconditions.checkNotNull(extBridgeNode);
+ Preconditions.checkNotNull(extBridgeNode, "br-ex cannot be null or empty!");
if (!addPatchPort(extBridgeNode, brExt, portNameExt, portNameInt)) {
LOG.error("Add Port {} to Bridge {} failed", portNameExt, brExt);
return false;