forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gnmi test to verify subscribe API (sonic-net#13696)
### Description of PR Summary: Need new test to verify gnmi-native subscribe API. ### Approach #### What is the motivation for this PR? Need new test to verify gnmi-native subscribe API. #### How did you do it? Add test to verify subscribe polling mode with DEVICE_METADATA table in CONFIG_DB. Add test to verify subscribe streaming sample mode with DEVICE_METADATA table in CONFIG_DB. Add test to verify subscribe streaming onchange mode with DEVICE_METADATA table in CONFIG_DB. Add test to read COUNTERS_QUEUE_NAME_MAP table in COUNTERS_DB. Add test to read COUNTERS table in COUNTERS_DB. Add test to verify subscribe polling mode with COUNTERS_PORT_NAME_MAP table in COUNTERS_DB. Add test to verify subscribe streaming sample mode with COUNTERS_PORT_NAME_MAP table in COUNTERS_DB. Add test to verify subscribe polling mode with COUNTERS table in COUNTERS_DB. Add test to verify subscribe streaming sample mode with COUNTERS table in COUNTERS_DB. #### How did you verify/test it? Run gnmi end to end test
- Loading branch information
Showing
3 changed files
with
396 additions
and
0 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
Oops, something went wrong.