Make TunnelEndPointInfo work on Uint64
[genius.git] / itm / itm-impl / src / main / java / org / opendaylight / genius / itm / rpc / ItmManagerRpcService.java
index d63c8a565408abce2f86dc7378acee9bcb86d85c..90b916fe41f79f0a04709ac8d6a03eb09973d141 100644 (file)
@@ -1289,9 +1289,8 @@ public class ItmManagerRpcService implements ItmRpcService {
                     .builder(DpnEndpoints.class)
                     .child(DPNTEPsInfo.class, new DPNTEPsInfoKey(
                             // FIXME: the cache should be caching this value, not just as a String
-                            Uint64.valueOf(dpnTepStateCache.getTunnelEndPointInfoFromCache(
-                                    interfaceInfo.getTunnelName()).getDstEndPointInfo())))
-                    .build());
+                            dpnTepStateCache.getTunnelEndPointInfoFromCache(
+                                    interfaceInfo.getTunnelName()).getDstEndPointInfo())).build());
             Integer dstId;
             if (dpntePsInfoOptional.isPresent()) {
                 dstId = dpntePsInfoOptional.get().getDstId();
@@ -1311,6 +1310,7 @@ public class ItmManagerRpcService implements ItmRpcService {
 
             return Futures.immediateFuture(new GetEgressActionsForTunnelOutputBuilder()
                     .setAction(result.stream().map(ActionInfo::buildAction).collect(Collectors.toList())).build());
+
         }
     }