ixnetwork-restpy
The IxNetwork Python Client
What it is and what it does
ixnetwork-restpy is a Python client for Keysight/Ixia's IxNetwork test platform, a commercial network traffic generation and analysis system. It exposes the platform's REST API as Python objects, allowing developers to script test scenarios—port mapping, traffic configuration, statistics retrieval—without using the GUI. The library provides high-level assistants (SessionAssistant, PortMapAssistant, StatViewAssistant) that wrap lower-level REST calls and manage connection state, authentication, and resource lifecycle.
Typical workflows involve connecting to a running IxNetwork server, configuring virtual or physical ports, defining traffic flows with specific frame rates and packet modifications, running the traffic, and collecting performance metrics. The package depends on requests for HTTP communication and websocket-client for real-time updates, making it suitable for CI/CD integration, large-scale test automation, and headless lab environments.
Use it for:
- Automate network performance testing in CI/CD pipelines by scripting port configuration, traffic generation, and result collection.
- Build custom test harnesses that generate specific traffic patterns and collect statistics without manual GUI interaction.
- Integrate IxNetwork testing into larger network simulation or validation frameworks that require programmatic control.
- Scale test execution across multiple IxNetwork instances by managing sessions and port mappings via Python.
- Generate reproducible network test scenarios from version-controlled scripts instead of saved GUI configurations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for automating IxNetwork test platforms via REST API, enabling programmatic control of network traffic generation, port configuration, and statistics collection.
Yes, if you have access to an IxNetwork server and need to automate network traffic testing. The package is actively maintained, has no known vulnerabilities, installs cleanly, and is permissively licensed. The main prerequisite is a running IxNetwork platform (version 8.52+); without one, the package alone is not useful. For teams already using IxNetwork, this client eliminates manual GUI work and enables scriptable, repeatable test automation.
Install
ixnetwork-restpy on PyPI
pip
pip install ixnetwork-restpyuv
uv add ixnetwork-restpypoetry
poetry add ixnetwork-restpyInstalling ixnetwork-restpy
Before you install
Low friction installation with four straightforward runtime dependencies (requests, websocket-client, setuptools, packaging). Active maintenance with a release within the last week.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most deployment contexts.
Quickstart
pip install ixnetwork-restpy
from ixnetwork_restpy import SessionAssistant
session_assistant = SessionAssistant(IpAddress='127.0.0.1', LogLevel=SessionAssistant.LOGLEVEL_INFO)
ixnetwork = session_assistant.Ixnetwork
Requires a running IxNetwork server (version 8.52 or later) accessible at the specified IP address to connect to.
Verify before relying
- Whether the package supports Python 2.7 in practice given the classifier, or if modern Python versions are the actual target.
- Specific version compatibility matrix between client releases and supported IxNetwork server versions beyond the stated 8.52+ minimum.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=2.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — requests, websocket-client, setuptools, packaging |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 349,300/month — #7,335 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ixnetwork_restpy-1.11.0-py3-none-any.whl
Keywords: ixnetwork, performance, traffic generator, real world, ixia, automation
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
IxNetworkIxNetwork is a Python client library for…
permissive · top 15,000 on PyPI
snappi-ixnetworkExecutes traffic generation test scripts…
permissive · top 15,000 on PyPI
tdl-xoa-driverProvides a Python interface to control and…
permissive · top 15,000 on PyPI
genie.trafficgenProvides connection implementations to traffic…
permissive · top 15,000 on PyPI
assemblyline-uiProvides REST APIs, WebSocket endpoints, and a…
permissive · top 15,000 on PyPI
snappiSnappi is an auto-generated Python SDK for…
permissive · top 15,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
marionette-driverMarionette Driver provides a Python client for…
copyleft · top 15,000 on PyPI
aioruckusAsync Python client library for querying and…
permissive · top 15,000 on PyPI
docker-pyA Python client library that lets you control…
permissive · top 5,000 on PyPI