Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

alwye/trex-http-proxy

Repository files navigation

TRex HTTP Proxy (no longer maintained)

Overview

This HTTP Proxy allows you to integrate TRex traffic generator (https://trex-tgn.cisco.com) into HTTP environment. For example, it is convenient way to manage the TRex instance via web interface.

Please note: this code is no longer maintained.

Requirements

You need to have Python 2.7 supported.

Run the following command to install required PyPi packages:

apt-get install python-dev
apt-get install python-pip
pip install -r requirements.txt

Get it running

cd to TRex's scripts folder and run the interactive console like this:

sudo ./t-rex-64 -i

Once your Python meets the requirements you'll be able to run the proxy with this commands:

python start_server.py

To examine API, look into the Postman collection: Postman-APIs.postman_collection.

Possible problems

Trex on Mac

Trex will not run correctly on Mac. Try using provided virtual machine on Fedora.

About

HTTP wrapper for TRex traffic generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published