MRI version bump for Aluminium
[genius.git] / itm / itm-impl / src / main / java / org / opendaylight / genius / itm / confighelpers / ItmTepAddWorker.java
index d430cdb4ec1641da464c8f83003fcde67771666c..a5a62a2fa19ac2c7a1bc060a2329c3ce0db6b2f8 100644 (file)
@@ -68,7 +68,7 @@ public class ItmTepAddWorker implements Callable<List<? extends ListenableFuture
                 Optional<DcGatewayIpList> optional = tx.read(InstanceIdentifier.builder(DcGatewayIpList.class)
                         .build()).get();
                 if (optional.isPresent()) {
-                    optional.get().getDcGatewayIp().forEach(dcGatewayIp ->
+                    optional.get().getDcGatewayIp().values().forEach(dcGatewayIp ->
                         externalTunnelAddWorker.buildTunnelsToExternalEndPoint(cfgdDpnList, dcGatewayIp.getIpAddress(),
                         dcGatewayIp.getTunnnelType(), tx));
                 }