This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[multi-asic] Added Support for multi-asic for telemetry/gnmi server (#77
) [multi-asic] support in telemetry. Summary of Changes:- Enhanced sonic_db_config package for multi-asic to read different namespace redis configuration. Added unit-test for same. Enhanced V2R Lookup for multi-asic by understanding namespace port belongs to Enhanced gNMI Server to initiate redis connection with all namespaces Enhanced gNMI Server Get and Subscribe tests for multi-namespace. Added test_utils package providing utility API's needed by test-cases. Also added multi-namespace specific json files into testdata Enhance parsing of Target in gNMI Request to understand namespace if present. Format the modified files using go fmt. Please ignore whitespaces diff as part of review. Added new test case to verify gNMI Get on non-counter DB (eg: STATE_DB) and fixed issue in existing GET of not verifying the return value. Fixed the gNMI Subscribe test issue where IntervalTimeTicker function pointer not re-assigned after test case is done.
- Loading branch information
Showing
13 changed files
with
1,291 additions
and
782 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
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.