Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-217

Make ExternalIpPoolCustomizer read faster

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • nat

      VPP does not preserve address ranges added by CP, just returns all configured addresses.
      So cfg vs operational data differ.
      IDs for operational data are artificially created as 0..#addresses range.
      The readCurrent attributes uses get on address list,
      so in case we read all addresses we have O(n^2).

      Fix proposal:
      modify dump manager for addresses to create a map.
      Aim:
      O( n ) and no map creation for single read (we get all the addresses from VPP anyway)
      O( n ) for read all using map

      The issue might apply to reading other NAT items.

            Unassigned Unassigned
            mgradzki Marek Gradzki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: