Skip to main content

Python 3.7|3.8|3.9 License Build status

Python OO API for Spirent TestCenter (STC).

Functionality

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

Low level APIs

  • 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) .

Installation

pip install pytestcenter

Prerequisite

  • Lab/Rest server for REST API.
  • TestCenter application installed for Tcl

Getting started

Under testcenter.test.stc_samples you will find some basic samples. See inside for more info.

Documentation

http://pytestcenter.readthedocs.io/en/latest/

Contact

Feel free to contact me with any question or feature request at yoram@ignissoft.com

Change Log

ChangeLog.md

Metadata

Release files for pytestcenter 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytestcenter 3.3.0
File Interpreter ABI Platform
pytestcenter-3.3.0-py3-none-any.whl Python 3 none any Details

Release files / pytestcenter-3.3.0-py3-none-any.whl

Download URL pytestcenter-3.3.0-py3-none-any.whl
Size 74.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa173d1678ec3fca4d6a0623ff1bac7b2c5a3bb65e7f0bf1021de31b9f3df5a1
BLAKE2b-256 checksum
How to use checksums
9870ec751dd07071e53b677d9fb8208f879f59f813d966c5f84ca3165ba81e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

3.3.0 This release

1 release file

3.2.2

2 release files

3.2.0

2 release files

3.1.3

1 release file

3.1.2

1 release file

3.1.1

1 release file

3.1.0

1 release file

3.0.0

1 release file

1.3.7

1 release file

1.3.6

1 release file

1.3.5

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.0

1 release file

1.2.9

1 release file

1.2.8

1 release file

1.2.7

1 release file

1.2.6

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.0

1 release file

1.1.9

1 release file

1.1.7

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page