-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[db_migrator] Support migrating database regarding buffer configurati…
…on for all Mellanox switches (#993) * [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> * 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> * Fix LGTM warning Signed-off-by: Stephen Sun <stephens@mellanox.com> * Fix an error Signed-off-by: Stephen Sun <stephens@mellanox.com> * mellanox_db_migrator => mellanox_buffer_migrator * 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> * Update buffer configuration for version 1.0.4 Signed-off-by: Stephen Sun <stephens@mellanox.com> * Update the buffer setting for version 1.0.4 Signed-off-by: Stephen Sun <stephens@mellanox.com> * [mellanox_buffer_migrator] log identifier updated from 'db_migrator' to 'mellanox_buffer_identifier' Signed-off-by: Stephen Sun <stephens@mellanox.com> * [db_migrator] Adjust db_migrator according to the latest master change Signed-off-by: Stephen Sun <stephens@mellanox.com> Co-authored-by: Stephen Sun <stephens@mellanox.com>
- Loading branch information
Showing
3 changed files
with
394 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.