Base Python OO API package to automate traffic generators (Spirent, Ixia, Xena etc.)
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).
- 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.
pip instsll pytrafficgen
Feel free to contact me with any question or feature request at email@example.com
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
pytrafficgen-1.5.3.tar.gz (10.2 kB view hashes)