Metadata-Version: 2.1
Name: pytestcenter
Version: 3.2.2
Summary: Python OO API package to automate Spirent TestCenter (STC) traffic generator
Home-page: https://github.com/shmir/PyTestCenter/
Author: Yoram Shamir
Author-email: yoram@ignissoft.com
License: Apache Software License
Keywords: testcenter STC l2l3 test tool spirent automation
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: future
Requires-Dist: stcrestclient (==1.8.1)
Requires-Dist: pytrafficgen (<3.1.0,>=3.0.3)

[![Python 3.7|3.8|3.9](https://img.shields.io/badge/python-3.7%7C3.8%7C.3.9-blue.svg)](https://www.python.org/downloads/release/downloads/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Build status](https://github.com/shmir/PyTestCenter/actions/workflows/python-package.yml/badge.svg?branch=dev)

# 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](ChangeLog.md)


