[NETVIRT-479] NAT snatGroupIdPool is overlapping with Elan Groups Created: 16/Feb/17  Updated: 15/Dec/17  Resolved: 15/Mar/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Chetan Arakere Gowdru Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7809

 Description   

Currently snatGroupIdPool is provided with below range.

public static final String SNAT_IDPOOL_NAME = "snatGroupIdPool";
public static final long SNAT_ID_LOW_VALUE = 200000L;
public static final long SNAT_ID_HIGH_VALUE = 225000L;

and Elan id pool is defined with below range.

public static final String ELAN_ID_POOL_NAME = "elan.ids.pool";
public static final long ELAN_ID_LOW_VALUE = 5000L;
public static final long ELAN_ID_HIGH_VALUE = 10000L;
public static final int ELAN_GID_MIN = 200000;

The final value derived for elan groups will range between 210000 to 220000 which falls within the range of snatGroupIdPool.

ElanConstants.ELAN_GID_MIN + etreeLeafTag % ElanConstants.ELAN_GID_MIN * 2;

Ref : https://github.com/opendaylight/netvirt/blob/master/vpnservice/elanmanager/elanmanager-impl/src/main/java/org/opendaylight/netvirt/elan/utils/ElanUtils.java


Generated at Wed Feb 07 20:21:40 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.