Skip to main content

Python 3.7|3.8|3.9 License Build status

TGN - Traffic Generator IXN - IxNetwork

This package implements Python OO API for Ixia IxNetwork traffic generator.

The package works on top of multiple low level APIs:

  1. IxnRestWrapper - a Python wrapper of IXN native REST API.

    Available for IXN versions that supports REST. Allows client-less operation of IXN scripts.

  2. IxnTclWrapper - a Python wrapper (using Python Tk package) over IXN native Tcl API (IxTclNetwork).

    Available for all IXN versions. More useful when developing and debugging.

Installation

pip instsll pyixnetwork

Prerequisite: When using Tcl - IxNetwork application installed.

Getting started

Under ixnetwork.test.ixn_samples you will find some basic samples. See inside for more info.

Functionality

The current version supports the following test flow:

  • Load configuration -> Get/Set attributes -> Start/Stop traffic -> Get statistics.

Supported operations:

  • Basic operations - get/set attributes, get/create children.
  • Load configuration - load configuration (ixncfg), reserve ports and analyze the configuration
  • Start/Stop - arp, ping, protocols, traffic items
  • Statistics - read views
  • Save configuration
  • Disconnect

The package also support Add/Remove objects, so it supports the following test case:

  • Build configuration -> Start/Stop traffic -> Get statistics.

    But this is less documented at this version.

TestCenter and IxNetwork

IxNetwork package and TestCenter extend the same base classes from TrafficGenerator. In some future version we plan TrafficGenerator a complete abstract API so tests that work in the basic test flow will be able to run over IxNetwork and TestCenter seamlessly.

Contact

Feel free to contact me with any question or feature request at yoram@ignissoft.com

Metadata

Release files for pyixnetwork 3.2.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 pyixnetwork 3.2.0
File Size Uploaded
pyixnetwork-3.2.0.tar.gz 1.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyixnetwork 3.2.0
File Interpreter ABI Platform
pyixnetwork-3.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / pyixnetwork-3.2.0.tar.gz

Download URL pyixnetwork-3.2.0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
198b9210b7342ab55eb21b14e110734160eafa6c7aa5bd2b564a96ec5a51e660
BLAKE2b-256 checksum
How to use checksums
f8103bdf334225f66e8bf89e884c105ee406da1997e3c519c7afd307c69077ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / pyixnetwork-3.2.0-py3-none-any.whl

Download URL pyixnetwork-3.2.0-py3-none-any.whl
Size 111.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d69f73f3a81e91b8a097739a55364c849c583294748a8088e05f067318d8cf3
BLAKE2b-256 checksum
How to use checksums
2fe9b04940ca8a76ecea8d71b7f420d47e474580506aa82566ed6461ed63275f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

3.2.0 This release

2 release files

3.0.5

1 release file

3.0.3

1 release file

3.0.2

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.6

1 release file

1.6.5

1 release file

1.6.4

1 release file

1.6.3

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6

1 release file

1.5.4

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.1

1 release file

1.3.0

1 release file

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