STORDIS / orca_nw_lib

gNMI python package for SONiC switch discovery and management.
Apache License 2.0
2 stars 6 forks source link

gNMI subscription updates for telemetry DB. #107

Open kamalkrbh opened 1 week ago

kamalkrbh commented 1 week ago

in gnmi_sub.py check for property "telemetry_db" in orca_nw_lib.yml,if found true then only add new monitoring gnmi paths to subscription, There needs to be a new function written i.e. handle_telemetry_notif() function which will listen for incoming notification from monitoring gNMI paths subscription and send send them to telemetry db defined under property "telemetry_db" defined in orca_nw_lib.yml.

All the test cases of orca_backend and orca_nw_lib should be passing after the implementation.

Parth-Kakadia commented 8 hours ago

@kamalkrbh Apart from that any other changes you want to make ? Else you can merge