-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multi-asic behaviour for mmuconfig (#3061)
* Fixes multi-asic behaviour for mmuconfig Previously, mmuconfig did not function correctly on multi-asic devices as it did not traverse through the correct namespaces, as required for multi-asic devices. This change adds multi-asic support to mmuconfig with the use of multi-asic helper libraries, ensuring that mmuconfig searches throuugh the correct namespaces when used on multi-asic devices, and adds the '-n' optional argument for users to specify namespaces on multi-asic devices. * Fixes for linter * More linter fixes * Enhanced multi-asic support for mmuconfig - Resolve pre-commit errors - Remove use_unix_socket_path argument from DB connectors - Support multiple namespace when none specified - Refactor tests to use the testData dict - Delete single_asic_mmuconfig_test.py - Replace argparse with click in mmuconfig - Add support for namespace in show and config - Modified multi-asic tests to use show/config cli --------- Co-authored-by: rdjeric <rdjeric@arista.com> Co-authored-by: arista-hpandya <hpandya@arista.com>
- Loading branch information
1 parent
c019c48
commit 8f5e4b6
Showing
8 changed files
with
483 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
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
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.