This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONiC Management Framework Release 1.0 (#23)
* GNMI PoC changes * Ignore test results for gnmi_server The Debian files attempt to run make check for the gNMI server, however, it fails on a build machine, because it expects the Redis server to be available and listening on localhost port 6379. For now, the result of the test is ignored, and we have to find a way to fix this so that the tests work even on a build machine. * Move source files into src, change import paths, fixing Makefile * More Makefile changes * Install CVL deps and update gopath * Add back install and other targets to fix deb package * Add gnmi set and get client to build * trigger building ocbinds file in translib, forgot to add gnmi_clients in last commit * Fix build issue * Port polling subscriptions code for translib * Implement ONCE subscribe mode for translib * Add gnmi_cli for subscribe client, update Makefile to build it, add .gitignore * Ad once channel cleanup * Initial support for sample based streaming subscribe * Add paths to existing timer group if interval is the same * cleanup * Use ticker_info struct * cleanup * Add some dummy code for future subscribe api * Fixes, also include binary for gnmi_cli for now * Fix issue with updates and replace with interfaces * wip * convert subscribeResponse to gnmi subscribeResponse and return * Fix issue with when sync message is sent. Add heartbeat support. Add valueCache for suppress_redundant (wip) * Update IsSupported to IsOnChangeSupported, add heartbeat_interval support to gnmi_cli, remove debug code * Close channel on error, check if timer if HB * Implement suppress_redundant, fix ticker_map format, remove some debug prints, fix heartbeats * Fix bug with sync messages * Return models based on translib GetModels API * Check error response before adding to on_change list * Implement updates_only for ON_CHANGE streaming mode * [JIRA SONIC-8247] Merge Telemetry changes done by Dell team Change-Id: Icc05d40efe57184acdadff7553b847b9766277a8 * Add test directory * Disable old tests that fail due to new fields being added. Add basic interface get test and capabilities test. Change package name and add symlink to cvl schema * [JIRA SONIC-8247] Merge Telemetry changes done by Dell team Adding gnmi test files from project-arlo master branch Change-Id: If748dc72261d387210a86f841997fd9dbb96fdac * working gnmi sys and pfm test without clearing bad logs * [JIRA SONIC-8247] Merge Telemetry changes done by Dell team Change-Id: Ia4f94e2998be4034e35e9ef331d3e4c350f3c91c * Changes for testing get/set operations on OC interfaces Signed-off-by: Tejaswi Goel <[email protected]> * Fix some issues with test infra * fix * Fix paths * Code cleanup in server_test.go Signed-off-by: Tejaswi Goel <[email protected]> * Add test to set ip address Signed-off-by: Tejaswi Goel <[email protected]> * Working gnmi server test for sys,pfm,interfaces * Add json file for ip config Signed-off-by: Tejaswi Goel <[email protected]> * Add delete testcase Signed-off-by: Tejaswi Goel <[email protected]> * Minor fix in Delete OC Interface IP testcase Signed-off-by: Tejaswi Goel <[email protected]> * Add code to check values set Signed-off-by: Tejaswi Goel <[email protected]> * [JIRA SONIC-9215] Telemetry UT from Dell Change-Id: I655377abbf670e1cb8a32a4e9a704242a0fe49e3 * Add full code for gnmi_cli with our changes so it can be built from scratch like gnmi_set/get. Update Makefile. Add fixes to gnmi_cli to use seconds as units everywhere instead of nanoseconds, and accept string for -streaming_type * [JIRA SONIC-9215] Telemetry UT from Dell Change-Id: Ie40ba2086ba663181a7db1d075a9f361a557daf1 * Fix streaming_type in tests * Set Min TLS Version and cipher suites * Fix spaces to tabs * Update cipher suite list again * Remove duplicate ciphers * Disable platform specific test for now * Add check that heartbeat_interval is only valid on streaming query type * Made changes in the Makefile to maintain the github pkg version * Remove gnmi_client direcotry, instead download and patch files as needed * Change project-arlo to Azure in README.md * Remove arlo urls from debian/control * Address review comments * Add cvl deps to telemetry makefile and build cvl locally * Use patches from mgmt-framework, make and install yang models. * Use isTargetDb instead of hard-coded list * Begin conversion to go modules * Copy translib and cvl to compile locally until they convert to go modules * fix * Add schema and models * Change gnmi_server package name back to just gnmi * merge fixes * Add gnmi clients * For now don't verify tests so that deb can be built * Add test binary compilation back * Split up sonic-mgmt-framework specific steps in Makefile * Fix translib based tests by preparing db with db dump from switch * Don't stop make check on test failure for now since there is no redis in the build container Co-authored-by: rupesh-k <[email protected]> Co-authored-by: nirenjan <[email protected]> Co-authored-by: Eric Seifert <[email protected]> Co-authored-by: Jeff Yin <[email protected]> Co-authored-by: Senthil Kumar Ganesan <[email protected]> Co-authored-by: Arunsundar Kannan <[email protected]> Co-authored-by: Tejaswi Goel <[email protected]> Co-authored-by: Balachandar Mani <[email protected]>
- Loading branch information