Registry / http-networking / ixnetwork

ixnetwork

JSON →
library9.30.2212.8pypypi✓ verified 79d ago

IxNetwork Low Level API provides a Python interface to control and automate Ixia's IxNetwork test platform. Version 9.30.2212.8 is the latest, with irregular releases tied to appliance firmware. Supports HTTP/REST and WebSocket connections to IxNetwork servers for traffic generation, protocol emulation, and chassis management.

pip install ixnetwork
INSTALL
IMPORT
SIG · IXNETWORK
I
ixnetwork
http-networkingpythonv9.30.2212.8
Install
4.7s avg
Import
Disk
38MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v9.30.2212.8 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 40.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.7s · import 0.000s · 41MB
38MB installed
● package 38MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IxNetwork
from IxNetwork import IxNetwork
from ixnetwork import IxNetwork
IxNet
from IxNetwork import IxNet
IxNetError
from IxNetwork import IxNetError

Basic connection to an IxNetwork server. Requires ip/hostname, credentials. The `connect` call is synchronous and returns session IDs.

from ixnetwork import IxNetwork ixNet = IxNetwork() ixNet.connect('10.0.0.1', username='admin', password='admin', apiKey=os.environ.get('IXN_API_KEY', '')) print(ixNet.getSessionIds())
Debug
Known issues
breakingVersion 9.30+ removed support for Python 2.7 and older TLS protocols. Ensure your environment uses Python 3.6+ and the server TLS 1.2+.
fix
Upgrade to Python 3.6+ and ensure server TLS 1.2 is enabled.
affects: >=9.30
breakingThe `connect` method changed default `apiKey` parameter from optional to required in some versions. If not using API key, pass empty string.
fix
Always pass `apiKey` parameter (e.g., `apiKey=''` if not used).
affects: >=9.30
gotchaSession management is manual: you must call `ixNet.disconnect()` to release server resources. Not doing so leads to stale sessions and resource leaks.
fix
Use `ixNet.disconnect()` in a finally block or context manager pattern.
affects: all
Upgrade
Version history
9.30.2212.8latest on PyPI · released Dec 22, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
Resources
ixnetwork — pip install ixnetwork · libregistry