\r
List<VirtualLink> virtualLinks = virtualNetwork.getVirtualLinks().getVirtualLink();\r
\r
-\r
for ( VirtualLink virtualLink : virtualLinks ) {\r
routingAlgorithm.addEdge(new Edge(virtualLink));\r
}\r
\r
try {\r
result = readWriteTransaction.read(LogicalDatastoreType.CONFIGURATION, virtualRouteIid).get();\r
- } catch ( InterruptedException | ExecutionException exception ) {\r
+ } catch ( InterruptedException exception ) {\r
+ LOG.error("Can not read the virtual route from the virtual node {} to {}.",\r
+ route.getKey().getSrcNodeId().getValue(), route.getKey().getDestNodeId().getValue());\r
+\r
+ continue;\r
+ } catch ( ExecutionException exception ) {\r
LOG.error("Can not read the virtual route from the virtual node {} to {}.",\r
route.getKey().getSrcNodeId().getValue(), route.getKey().getDestNodeId().getValue());\r
\r
Map<InstanceIdentifier<?>, DataObject> createdData = change.getCreatedData();\r
\r
if ( null != createdData && !createdData.isEmpty() ) {\r
-\r
boolean needRerouting = false;\r
\r
for ( DataObject dataObject : createdData.values() ) {\r