skillfed

ixnetwork-restpy

The IxNetwork Python Client

ixnetwork-restpy v1.11.0 349.3K downloads/30d#7,335 on PyPI38
Permissive license MIT Active released

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-restpy

uv

uv add ixnetwork-restpy

poetry

poetry add ixnetwork-restpy

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Software Development

Tags

ixnetwork automation pythonnetwork traffic generator apiixia test platform clientrest api network testingtraffic generation scripting
network-testingtraffic-generationrest-client

More Software Development packages