napalm-automation-community / napalm-srlinux

NAPALM driver for Nokia SR Linux
Apache License 2.0
5 stars 12 forks source link

Rewrite gnmi code to use pyGnmi library #26

Closed jbemmel closed 3 weeks ago

jbemmel commented 1 year ago

The generated protobuf files are getting old, which may lead to issues: https://github.com/napalm-automation-community/napalm-srlinux/pull/17

It would be better to rewrite the plugin to use pyGnmi for gNMI protocol interactions, such that we can lift along with updated versions as they come out

tardoe commented 3 weeks ago

In working on v2, we're removed the need for gNMI and are pulling details exclusively over JSONRPC. This allowed us to pull the gpb2.py and other infrastructure related to gNMI.