Skip to main content

Python OO API package to automate Ixia IxNetwork traffic generator

Project description

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. Instead of using Tk (and IxTclNetwork package) the calling application can provide its own connection to Tcl interpreter as long as the connection supports the ‘eval’ command and can perform IXN Tcl API commands. 3. IxnPythonWrapper - a Python wrapper over IXN native Python API. Available for IXN versions that support python. 4. Any IxnCustomerApi as long as it supports the same API as all above APIs support (define ABC).

Installation: stable - pip instsll ixnooapi

Prerequisite: When using Tcl or Python wrappers - 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-1.6.2.tar.gz (25.6 kB view details)

Uploaded Source

File details

Details for the file pyixnetwork-1.6.2.tar.gz.

File metadata

  • Download URL: pyixnetwork-1.6.2.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

File hashes

Hashes for pyixnetwork-1.6.2.tar.gz
Algorithm Hash digest
SHA256 5d66216463d1d91929fdf86f764e0a24d92e787aa7bc5ff4ed81591938ddeabe
MD5 402da54b0ecb6f2e95199bfcb2f9b613
BLAKE2b-256 4e87dd6fd446e0101fc238e715256160724fc40ae3f7a43c6e9d879aff5b0bff

See more details on using hashes here.

Supported by

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