Metadata-Version: 2.4
Name: robotframework-gnmi
Version: 0.0.9
Summary: RobotFramework keywords for GNMI client
Author-email: Oliver Boehmer <oboehmer@cisco.com>, Robert Crowe <rocrowe@cisco.com>
License-Expression: MPL-2.0
Project-URL: Homepage, https://github.com/oboehmer/robotframework-gnmi
Project-URL: Repository, https://github.com/oboehmer/robotframework-gnmi
Project-URL: Issues, https://github.com/oboehmer/robotframework-gnmi/issues
Keywords: gnmi,gNMI,robotframework,network,automation,testing
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Framework :: Robot Framework
Classifier: Framework :: Robot Framework :: Library
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: robotframework>=7.0
Requires-Dist: pygnmi>=0.8.15
Dynamic: license-file

# Robotframework Keywords for GNMI Client

Simple robotkeywords wrapper for [pygnmi]( https://github.com/akarneliuk/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](https://github.com/astral-sh/uv) is a fast Python package installer:

```bash
# 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

```bash
# 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
