Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_gnmi-0.0.9.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_gnmi-0.0.9-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

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

Hashes for robotframework_gnmi-0.0.9.tar.gz
Algorithm Hash digest
SHA256 70489347aab48039b486a4b2af0f92cd7e462ac2ae7f4fe247de32873844202c
MD5 6f7fe7433a05f145bb9a8c23fe0aa19c
BLAKE2b-256 daac02d6451b1e24e933356edbd7d98b9916666721551b089cc2d666e08bd87b

See more details on using hashes here.

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

Hashes for robotframework_gnmi-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4665a6d9aa8decd6b98306333654318709065d6890a72433cd7adfeceb2768c2
MD5 a7bd30029ef338ba66407fabad76b17c
BLAKE2b-256 3fe2031ad1054512b0401e49dc2550b29575062441ea64d6dbcdfb11530859c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page