Metadata-Version: 2.1
Name: python-rdma-qe
Version: 0.0.14
Summary: Redhat Kernel RDMA QE Python libs and tests
Project-URL: Documentation, https://gitlab.com/rh-rdma-qe/python-rdma-qe#README.md
Project-URL: Issues, https://gitlab.com/rh-rdma-qe/python-rdma-qe/issues
Project-URL: Source, https://gitlab.com/rh-rdma-qe/python-rdma-qe
Author-email: Zhaojuan Guo <zguo@redhat.com>
Maintainer-email: Zhaojuan Guo <zguo@redhat.com>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
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: Topic :: Software Development :: Testing
Requires-Python: >=3.7
Requires-Dist: libsan
Requires-Dist: pytest
Requires-Dist: pytest-cov
Requires-Dist: stqe
Provides-Extra: stable
Requires-Dist: attrs==22.2.0; extra == 'stable'
Requires-Dist: certifi==2022.12.7; extra == 'stable'
Requires-Dist: charset-normalizer==3.1.0; extra == 'stable'
Requires-Dist: configobj==5.0.8; extra == 'stable'
Requires-Dist: coverage[toml]==7.2.2; extra == 'stable'
Requires-Dist: exceptiongroup==1.1.1; extra == 'stable'
Requires-Dist: filelock==3.10.7; extra == 'stable'
Requires-Dist: fmf==1.2.1; extra == 'stable'
Requires-Dist: idna==3.4; extra == 'stable'
Requires-Dist: iniconfig==2.0.0; extra == 'stable'
Requires-Dist: jsonschema==4.17.3; extra == 'stable'
Requires-Dist: libsan==0.5.4; extra == 'stable'
Requires-Dist: marshmallow==3.19.0; extra == 'stable'
Requires-Dist: netapp-ontap==9.12.1.0; extra == 'stable'
Requires-Dist: netifaces2==0.0.16; extra == 'stable'
Requires-Dist: packaging==23.0; extra == 'stable'
Requires-Dist: pluggy==1.0.0; extra == 'stable'
Requires-Dist: pyrsistent==0.19.3; extra == 'stable'
Requires-Dist: pytest-cov==4.0.0; extra == 'stable'
Requires-Dist: pytest==7.2.2; extra == 'stable'
Requires-Dist: requests-toolbelt==0.10.1; extra == 'stable'
Requires-Dist: ruamel-yaml-clib==0.2.7; extra == 'stable'
Requires-Dist: ruamel-yaml==0.17.21; extra == 'stable'
Requires-Dist: six==1.16.0; extra == 'stable'
Requires-Dist: stqe==0.2.1; extra == 'stable'
Requires-Dist: tomli==2.0.1; extra == 'stable'
Requires-Dist: typing-extensions==4.5.0; extra == 'stable'
Requires-Dist: urllib3==1.26.15; extra == 'stable'
Description-Content-Type: text/markdown

**Table of Contents**

- [Installation](#installation)

## Description
Redhat Kernel RDMA QE Python libs and tests.

## Installation

```console
$ dnf install -y python3-pip.noarch
$ pip3 install --user python-rdma-qe
```
## Upgrade
```console
$ pip3 list | grep python-rdma-qe
$ pip3 install -U python-rdma-qe
```
## Uninstallation
```console
$ pip3 uninstall python-rdma-qe
```
## Usage
```console
$ python3
Python 3.9.16 (main, Mar  7 2023, 00:00:00) 
[GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdmaqe.rdma.general as g
>>> hca = g.HCA("hfi1_0")
INFO: [2023-06-13 03:25:58] Running: 'ibv_devinfo -d hfi1_0'...
hca_id:	hfi1_0
	transport:			InfiniBand (0)
	fw_ver:				1.27.0
	node_guid:			0011:7501:0167:0fb0
	sys_image_guid:			0011:7501:0167:0fb0
	vendor_id:			0x1175
	vendor_part_id:			9456
	hw_ver:				0x10
	board_id:			Cornelis Omni-Path Host Fabric Interface Adapter 100 Series
	phys_port_cnt:			1
		port:	1
			state:			PORT_ACTIVE (4)
			max_mtu:		4096 (5)
			active_mtu:		4096 (5)
			sm_lid:			5
			port_lid:		6
			port_lmc:		0x00
			link_layer:		InfiniBand
>>> print(hca.get_protocol("1"))
InfiniBand
```
