RobotFramework keywords for GNMI client
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_gnmi-0.0.9.tar.gz.
File metadata
- Download URL: robotframework_gnmi-0.0.9.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70489347aab48039b486a4b2af0f92cd7e462ac2ae7f4fe247de32873844202c
|
|
| MD5 |
6f7fe7433a05f145bb9a8c23fe0aa19c
|
|
| BLAKE2b-256 |
daac02d6451b1e24e933356edbd7d98b9916666721551b089cc2d666e08bd87b
|
File details
Details for the file robotframework_gnmi-0.0.9-py3-none-any.whl.
File metadata
- Download URL: robotframework_gnmi-0.0.9-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4665a6d9aa8decd6b98306333654318709065d6890a72433cd7adfeceb2768c2
|
|
| MD5 |
a7bd30029ef338ba66407fabad76b17c
|
|
| BLAKE2b-256 |
3fe2031ad1054512b0401e49dc2550b29575062441ea64d6dbcdfb11530859c7
|