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.
Add RBAC, gNOI, API Versioning and Bulk Set operations. (#61)
* Add gnoi infra with only time rpc implemented * Remove unimplemeneted functions from gnoi_client * Remove unimplemented sonic proto, will submit seperate PR for those rpc's * Make gNOI active only on writable mode * Add basic auth changes * Fix Makefile * Fixes * Remove allow_no_client_auth option and instead use ca option to determine if client cert is required * Add autheticate call to gNOI function calls * Add client certificate authentication mode * Add JWT based authentication and authorization mechanism * Add ShowTechSupport gNOI function * Register gNOI System service on gRPC server * Register Sonic gnoi service. Remove other Sonic gNOI RPCs until a later PR * Update proto and add missing deps * Add translib RPC helper function to call from gNOI RPCs * Forgot to add Refresh RPC to proto * Add authenticate and refresh rpcs to gnoi client * Add showTechSupport rpc to gnoi client * Add copyConfig gNOI RPC * Add image mgmt gNOI RPCs * Add image clear neighbors gNOI RPC * Add client patches * Add yang versioning feature * Pass auth info to translib API calls * Add Bulk Set support * Add context when creating transl data client for passing authentication * Add extensions list to NewTranslClient * Check yang bundle version in all actions * Add yang bundle version check to Bulk set * Update error message * Use correct operations and fix error messages * Add yang version check in TranslSubscribe function * Add tlerr library * Add yang version info to Capabilities response extensions * Add support for UpdatesOnly subscribe option * Remove duplicate gnoi service registration * In order to support JWT Auth in read-only mode, separate out JWT RPCs into another proto package * Address review comments, fix build issue * Fix bulk bundle version check * Add unit tests for new features * Add error message to audit log * Change defaults for auth and client cert back * Fix missing jwt mode in client_auth options * Enable default auth modes only in read/write mode * Fix merge build issue
- Loading branch information