Skip to main content

WORK IN PROGESS

Extreme EXOS asyncio Client

This repository contains an Extreme EXOS asyncio client, support for both JSON-RPC and RESTCONF options.

For reference on the EXOS JSON-RPC, refer to this document.

For reference on the EXOS RESTCONF support, refer to this document.

Device Configuration

In order to access the EXOS device via API you must enable the web server feature using either http or https.

enable web http
enable web https    # requires ssl configuration as well.

JSON-RPC Usage

from aioexos.jsonrpc import Device

dev = Device(host='myhostname', username='user', password='Random')
show_one = await dev.cli('show switch')
show_many = await dev.cli(['show switch', 'show version'])

# get text instead of JSON/dict

show_text = await dev.cli('show switch', text=True)

RESTCONF Usage

The RESTCONF API supports only JSON body at this time. XML is not supported even though the documentation states that it does.

from aioexos.restconf import Device

dev = Device(host='myhostname', username='user', password='Random')

# login step required for session authentication

await dev.login()

# execute commands providing the restconf URL, supports all request methods
# (GET, POST, etc.)

res = await dev.get('/openconfig-system:system')

# close connection when done with commands
await dev.aclose()

Metadata

Release files for aio-exos 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aio-exos 0.4.0
File Size Uploaded Provenance
aio-exos-0.4.0.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aio-exos 0.4.0
File Interpreter ABI Platform
aio_exos-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / aio-exos-0.4.0.tar.gz

Download URL aio-exos-0.4.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
82a11a161cd09bf96041826ddfe4d9325ba93db997c14e69bf8300f4d68fb67f
BLAKE2b-256 checksum
How to use checksums
4359c8e0576dc610730c0eed1a7e40f787900353addc5fd85ff8be5f5e4328e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.3

Release files / aio_exos-0.4.0-py3-none-any.whl

Download URL aio_exos-0.4.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2fea8754e6a81456ad174fff7fb030ed5d971772b078541c184b70bff7298f2
BLAKE2b-256 checksum
How to use checksums
a922d9159683bb38e5528c8642aff805a8998704fc66f848f22f9ec91fa4a1a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.3

Security for aio-exos 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page