mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Reduces the port number range for snat to reduce snat handler initialization time.
- It took 25 secs and now it taks only 200 ms. - It is a temporary fix. It will be removed when OVS-SNAT features is merged. Change-Id: If98ba8f4f59ca90b3300c64ea0da92c9558c4303
This commit is contained in:
parent
6685877935
commit
79d6a83e2b
@ -86,7 +86,7 @@ public class OpenstackRoutingSnatHandler {
|
||||
private static final String ERR_UNSUPPORTED_NET_TYPE = "Unsupported network type";
|
||||
private static final int TIME_OUT_SNAT_RULE = 120;
|
||||
private static final long TIME_OUT_SNAT_PORT_MS = 120 * 1000;
|
||||
private static final int TP_PORT_MINIMUM_NUM = 1024;
|
||||
private static final int TP_PORT_MINIMUM_NUM = 65000;
|
||||
private static final int TP_PORT_MAXIMUM_NUM = 65535;
|
||||
|
||||
private static final KryoNamespace.Builder NUMBER_SERIALIZER = KryoNamespace.newBuilder()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user