Skip to main content

Python OO API package to manage Ixia IxNetwork traffic generator

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyixnetwork-3.2.0.tar.gz (1.8 MB view hashes)

Uploaded Source

Built Distribution

pyixnetwork-3.2.0-py3-none-any.whl (111.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page