A grpc library for robot test cases

Clone this repo:

Branches

  1. 8147751 [VOL-4607] Updated to include device-management-interface version 1.2.1 by Andrea Campanella · 2 years, 10 months ago master 2.9.4
  2. 0efdc87 move the library to ONF by Martin Cosyns · 3 years, 2 months ago 2.9.3
  3. 7df3834 Initial empty repository by Zack Williams · 3 years, 2 months ago

Robot gRPC package

This package allows sending/receiving messages in a gRPC event stream.

Supported devices

This gRPC ROBOT library is intended to supported different Protocol Buffer definitions. Precondition is that python files generated from Protocol Buffer files are available in a pip package which must be installed before the library is used.

Supported devicePip packagePip package versionLibrary Name
dmidevice-management-interface0.9.1grpc_robot.Dmi
0.9.2grpc_robot.Dmi
0.9.3grpc_robot.Dmi
0.9.4grpc_robot.Dmi
0.9.5grpc_robot.Dmi
0.9.6grpc_robot.Dmi
0.9.8grpc_robot.Dmi
0.9.9grpc_robot.Dmi
0.10.1grpc_robot.Dmi
0.10.2grpc_robot.Dmi
0.12.0grpc_robot.Dmi
1.0.0grpc_robot.Dmi
1.2.1grpc_robot.Dmi
volthavoltha-protos4.0.13grpc_robot.Voltha

Tools

The package also offers some keywords for convenience to work with Robot Framework.

List of keywords:

The list of keywords may can be extended by request if required.

Installation

pip install robot-grpc

How to use robot-grpc in Robot Framework

The library has a named parameter version to indicate the ProtoBuf file set to be used.

Import Library    grpc_robot.Dmi
Import Library    grpc_robot.Collections
Import Library    grpc_robot.DmiTools
Import Library    grpc_robot.VolthaTools