Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-479

NAT snatGroupIdPool is overlapping with Elan Groups

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Carbon
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            xcheara Chetan Arakere Gowdru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: