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

[db_migrator] Support migrating database regarding buffer configuration for all Mellanox switches #993

Merged
merged 11 commits into from
Aug 13, 2020

Commits on Jul 17, 2020

  1. [db_migrator] Support migrate to single ingress buffer pool mode

    db_migrator supports migrating old configuration who has 2 ingress pools into the new configuration who has 1 ingress pool, including BUFFER_POOL, BUFFER_PROFILE and BUFFER_PORT_INGRESS_PROFILE_LIST
    
    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun authored and stephens committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    53d7e05 View commit details
    Browse the repository at this point in the history
  2. Update according to MSFT comments

    1. Don't need to migrate for single buffer pool mode
    2. Move buffer setting migration to another file
    3. Remove unnecessary code/upgrading flows
    
    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun authored and stephens committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    e16a8e7 View commit details
    Browse the repository at this point in the history
  3. Fix LGTM warning

    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    955eac2 View commit details
    Browse the repository at this point in the history
  4. Fix an error

    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    daf8b8a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. mellanox_db_migrator => mellanox_buffer_migrator

    Stephen Sun committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    36ee64e View commit details
    Browse the repository at this point in the history
  2. Fix issue: after migration the lossless profiles are lost

    This issue can fail warm reboot because after warm reboot the buffermgr
    doesn't have time to generate lossless profiles and the following
    orchagent bake can fail due to this
    
    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    30f7faa View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Update buffer configuration for version 1.0.4

    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    e28c823 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Update the buffer setting for version 1.0.4

    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    2a7b809 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2020

  1. [mellanox_buffer_migrator] log identifier updated from 'db_migrator' …

    …to 'mellanox_buffer_identifier'
    
    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    e256e93 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. Configuration menu
    Copy the full SHA
    488173d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2020

  1. [db_migrator] Adjust db_migrator according to the latest master change

    Signed-off-by: Stephen Sun <stephens@mellanox.com>
    Stephen Sun committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    66229e5 View commit details
    Browse the repository at this point in the history