The current version supports the following test flow:
- Load configuration -> Get/Set attributes -> Start/Stop traffic -> Get statistics.
- Build configuration -> Start/Stop traffic -> Get statistics.
Supported operations:
- Basic operations - get/set attributes, get/create children
- Connect - to chassis or lab server
- Load configuration - load configuration (tcc or XML), reserve ports and analyze the configuration
- Start/Stop - arp, ping, devices, ports, streams
- Statistics - subscribe, read views, unsubscribe
- Save configuration and results
- Disconnect
- StcRestWrapper - a Python wrapper over STC lab server REST API (using stcrestclient package).
- StcTclWrapper - a Python wrapper (using Python Tk package) over STC native Tcl API (SpirentTestCenter) .
pip install pytestcenter
Prerequisite
- Lab/Rest server for REST API.
- TestCenter application installed for Tcl
Under testcenter.test.stc_samples you will find some basic samples. See inside for more info.
http://pytestcenter.readthedocs.io/en/latest/
Feel free to contact me with any question or feature request at yoram@ignissoft.com