Robotframework Keywords for GNMI Client
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
Installation
Using uv (recommended)
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
Using pip
# Install from PyPI (once published)
pip install robotframework-gnmi
# Or install from GitHub
pip install git+https://github.com/oboehmer/robotframework-gnmi.git
Example
Example 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
Release files for robotframework-gnmi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_gnmi-0.1.0.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_gnmi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / robotframework_gnmi-0.1.0.tar.gz
| Download URL | robotframework_gnmi-0.1.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c5c6dfbbd3202caa5624c197a58a654be4fb86bb5bc597a487f69da3f9c1995
|
|
BLAKE2b-256 checksum How to use checksums |
8d734883f48229d823a3ee74a800efdee87130c314dfa71448297a420ec6172e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / robotframework_gnmi-0.1.0-py3-none-any.whl
| Download URL | robotframework_gnmi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d14d55768e5f9e4383de25211809e3c50c3aba4e5406dd6ea3958429a1c8c75
|
|
BLAKE2b-256 checksum How to use checksums |
f85648368b730099fe59a557fdf9b5c9b890789a1ad451ed3fc91543b73ad3c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|