compute node
Remote FIB Flow installation was failing due to OptimisticLockException.
The DJCs involved in this operation is now modified in the L3 Application
to retry on failure.
Change-Id: Ifdb4d3735892de28fb73b6b563878d059d8298ee
Signed-off-by: eupakir <kiran.n.upadhyaya@ericsson.com>
private static final int DEFAULT_FIB_FLOW_PRIORITY = 10;
private static final int LFIB_INTERVPN_PRIORITY = 15;
public static final BigInteger COOKIE_TUNNEL = new BigInteger("9000000", 16);
+ private static final int DJC_MAX_RETRIES = 3;
private final DataBroker dataBroker;
private final IMdsalApiManager mdsalManager;
List<ListenableFuture<Void>> futures = new ArrayList<>();
futures.add(tx.submit());
return futures;
- });
+ }, DJC_MAX_RETRIES);
}
}
List<ListenableFuture<Void>> futures = new ArrayList<>();
futures.add(tx.submit());
return futures;
- });
+ }, DJC_MAX_RETRIES);
}
//The flow/group entry has been deleted from config DS; need to clean up associated operational