Metadata-Version: 2.1
Name: pytrex
Version: 0.8.1
Summary: Python OO API package to automate TRex traffic generator stateless traffic
Home-page: https://github.com/shmir/PyTRex/
Author: Yoram Shamir
Author-email: yoram@ignissoft.com
License: Apache Software License
Keywords: trex l2l3 test tool 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
Requires-Dist: future
Requires-Dist: pyyaml
Requires-Dist: scapy (==2.4.3)
Requires-Dist: pyzmq
Requires-Dist: pytrafficgen (<3.1.0,>=3.0.3)

## Python OO API for Cisco TRex.

### TRex on docker
Run container
```bash
$ docker run -itd --privileged --cap-add=ALL -p 8090:8090 -p 4500:4500 -p 4501:4501 -p 4507:4507 --name trex trexcisco/trex:latest
```
Run TRex server on container
```bash
$ docker exec -d trex sh -c "cd /var/trex/v2.41 ; sudo ./t-rex-64 -i" 
```
### TRex on Linux
```bash
$ cd /trex/var/trex/v2.41/
$ sudo /trex/var/trex/v2.41/t-rex-64 -i
```
### TRex client
Install Oracle JDK version 8.
Download and install [trex stateless GUI](https://github.com/cisco-system-traffic-generator/trex-stateless-gui/releases)
```bash
$ java -jar trex-stateless-gui.jar
```

### TRex Resources
- RPC commands
  - https://trex-tgn.cisco.com/trex/doc/trex_rpc_server_spec.html#_rpc_commands_common
  - https://trex-tgn.cisco.com/trex/doc/trex_rpc_server_spec.html#_rpc_commands_stl


