commit | 6987136c04e9f06a1ea773e7be70930f23eb88f5 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Feb 16 17:20:54 2018 -0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Tue Feb 20 23:32:16 2018 +0000 |
tree | 4ebd6c9cd2f5993bd4babbc4df4fcc94a3a14152 | |
parent | ece972c24a4a3ab96d74c1e1f41eeecd447a107c [diff] |
Skip unconfigured devices rather than aborting the entire process Change-Id: Iae0c165dc4b15798a53b9aa269f0304f2d610fdf
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java index 882bbe7..5baa6a9 100644 --- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java +++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java
@@ -338,9 +338,8 @@ try { isEdge = config.isEdgeDevice(targetSw.id()); } catch (DeviceConfigNotFoundException e) { - log.warn(e.getMessage() + "aborting populateSubnet"); - populationStatus = Status.ABORTED; - return; + log.warn(e.getMessage() + "aborting populateSubnet on targetSw {}", targetSw.id()); + continue; } if (dstSw.equals(targetSw.id()) || !isEdge || (cpts.size() == 2 &&