Simple robotkeywords wrapper for pygnmi GNMI library. At the moment, only GNMI client is supported.
At the moment, we just expose the attributes of gNMIclient.__init__, gNMIclient.get and gNMIclient.set as robot keywords
uv is a fast Python package installer:
# Install from PyPI (once published)
uv pip install robotframework-gnmi
# Or install from GitHub
uv pip install git+https://github.com/oboehmer/robotframework-gnmi.git# Install from PyPI (once published)
pip install robotframework-gnmi
# Or install from GitHub
pip install git+https://github.com/oboehmer/robotframework-gnmi.gitExample robot file
*** Settings ***
Library GNMI
*** Variables ***
@{target_host} 192.168.1.1 5400
*** Test Cases ***
Connect and Get
GNMI connect session MySession target=@{target_host} username=admin password=password insecure=True
@{path}= Create List openconfig-interfaces:interfaces
${result}= GNMI get MySession path=@{path} encoding=ascii