STORDIS / orca_nw_lib

gNMI python package for SONiC switch discovery and management.
Other
2 stars 3 forks source link

gNMI response should be propagated to API callers. #33

Closed kamalkrbh closed 8 months ago

kamalkrbh commented 10 months ago

Propagating gNMI response to API caller can help in debugging and provide user more visibility about failures. Currently those are only being logged.

kamalkrbh commented 8 months ago

Config APIs in orca_nw_lib raises _InactiveRpcError, details() method gives the detail about error. _InactiveRpcError can be handled by applications like orca_backend