Skip to main content

Base Python OO API package to automate traffic generators (Spirent, Ixia, Xena etc.)

Project description

Base Python OO API for traffic generators (Ixia, Spirent, Xena etc.).

The package provides

  • Common utilities.
  • Base class for all Python OO traffic generator classes.
  • Base Python wrapper over Tcl - the lowest common denominator API for TGNs is Tcl (also the inheriting packages still have some legacy code implemented in Tcl).

The Python wrapper over Tcl can work on top of any Python Tcl interpreter as long as it supports some common API.
The default Python Tcl interpreter used is Tk package but in the package there is also a sample of implementation of Python Tcl interpreter over console (Telnet).

Logging

  • general messages + calls to underlining API + return values are logged to the logger provided by the application. API calls are logged at debug level
  • calls to underlining Tcl API are also logged to a separate file to create a native Tcl script that can be run as is.

Installation

pip instsll pytrafficgen

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

pytrafficgen-1.5.2.tar.gz (10.2 kB view hashes)

Uploaded Source

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