Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix Delegation: Merge from prefix delegation preview branch to master #1516

Merged
merged 19 commits into from
Jun 24, 2021

Commits on Apr 30, 2021

  1. [Preview] Prefix delegation feature development (aws#1434)

    * ENABLE_PREFIX_DELEGATION knob
    
    WARM_PREFIX_TARGET knob
    
    cr https://code.amazon.com/reviews/CR-40610031
    
    * PD changes - dev only
    
    * Cooldown prefix IP
    
    * minor fixes to support prefix count
    
    * Code cleanup
    
    * Handle few corner cases
    
    * Nitro based check
    
    * With custom networking, do not get prefix for primary ENI
    
    * Code refactor
    
    * Handle graceful upgrade/enable PD from disable PD
    
    * code refactoring
    
    * Code refactoring
    
    * fix computing too low IPs
    
    * UT for prefix store
    
    * Fix UTs and handle CR comments
    
    * Clean up SDK code and fix model code generation
    
    * fix format and merge induced error
    
    * Merge broke the code
    
    * Fix Dockerfile.test
    
    * Added IPAMD UTs and fixed removeENI total count
    
    * Couple more IPAMD UTs for PD
    
    * UTs for awsutils/imds
    
    * Handle graceful PD enable to disable knob
    
    * get prefix list for non-pd case
    
    * Prevent reconcile of prefix IPs in IP datastore
    
    * Handle disable scenario
    
    * fix formatting
    
    * clean up comment
    
    * Remove unnecessary debugs
    
    * Handle PR comments
    
    * formatting fix
    
    * Remodelled PD datastore
    
    * Fix up UTs and fix Prefix nil
    
    * formatting
    
    * PR comments - minor cosmetic changes
    
    * removed the sdk override from makefile
    
    * Internal repo merge added these lines
    
    * Update config file
    
    * Handle wrapper of DescribeNetworkInterfacesWithContext to take one eni
    
    * RemoveUnusedENIFromStore was not accounting for prefixes deleted
    
    * Removed hardcoding of 16
    jayanthvn committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    604d00c View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Code refactor - merge ENI's secondary and prefix store into single st…

    …ore of CIDRs (aws#1471)
    
    * Code refactor - merge to single DB
    
    * remove few debugs
    
    * remove prefix store files
    
    * PR comments
    
    * Fix up CR comments
    
    * formatting
    
    * Updated UT cases
    
    * UT and formatting
    
    * Minor fixes
    
    * Minor comments
    
    * Updated /32 store term
    
    * remove unused code
    jayanthvn committed May 27, 2021
    Configuration menu
    Copy the full SHA
    9681724 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Multi-prefix and WARM/MIN IP targets support with PD (aws#1477)

    * Multi-pd and WARM targets support
    
    * cleanup
    
    * Updated variable names
    
    * Default prefix count to -1
    
    * Get stats should be computed on the fly since CIDR pool can have /32 or /28
    
    * Support for warm prefix 0
    
    * code review comments
    jayanthvn committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    8722c4b View commit details
    Browse the repository at this point in the history
  2. PD test cases and readme update (aws#1478)

    * Traffic test case and readme update
    
    * Added testcases for warm ip/min ip with PD
    
    * Testcases for prefix count
    
    * Testcase for warm prefix along with warm ip/min ip
    
    * Updated traffic test case while PD mode is flipped
    
    * Fix minor comments
    
    * pr comments
    
    * added pods per eni
    
    * fix up count
    jayanthvn committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    39376f3 View commit details
    Browse the repository at this point in the history
  3. Support mixed instances with PD (aws#1483)

    * Support mixed instances with PD
    
    * fix up the log
    jayanthvn committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    346d5e1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Optimization for prefixes allocation (aws#1500)

    * optimization for prefixes
    
    Prefix store optimization
    
    * pr comment
    jayanthvn committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    03f2375 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. Fixup eni allocation with warm targets (aws#1512)

    * Fixup eni allocation with warm targets
    
    * fixup cidr count
    
    * code comments and warm prefix 0
    jayanthvn committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    9dfc9b2 View commit details
    Browse the repository at this point in the history
  2. Default WARM_PREFIX_TARGET to 1 (aws#1515)

    * Handle prefix target 0
    
    * pr commets
    jayanthvn committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    347e1db View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Configuration menu
    Copy the full SHA
    43c529b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0f990e View commit details
    Browse the repository at this point in the history
  3. No need to commit this

    jayanthvn committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    5e4924d View commit details
    Browse the repository at this point in the history
  4. make format

    jayanthvn committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    b592569 View commit details
    Browse the repository at this point in the history
  5. needed for UT workflow

    jayanthvn committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    eb446db View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. IMDS code refactor

    jayanthvn committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    f95594e View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. PR comments - v1

    Error with merge
    jayanthvn committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    ba5d23a View commit details
    Browse the repository at this point in the history
  2. PR comments v2

    jayanthvn committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    93373d2 View commit details
    Browse the repository at this point in the history
  3. PR comments - v3

    jayanthvn committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    ce96bf4 View commit details
    Browse the repository at this point in the history
  4. Update logs

    jayanthvn committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    a937132 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. PR comments - v4

    jayanthvn committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    5fa198b View commit details
    Browse the repository at this point in the history