Skip to content

TRex stl lib compatible with Python3

Notifications You must be signed in to change notification settings

CharterMitch/trex_stl_lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRex on docker

Run container

$ 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

$ docker exec -d trex sh -c "cd /var/trex/v2.41 ; sudo ./t-rex-64 -i" 

TRex client

Install oracle JDK version 8. Download and install trex stateless GUI

$ java -jar trex-stateless-gui.jar

TRex Resources

trex_stl_lib pros and cons

  • Pros
    • OO
    • Working and fully functional
    • Implements all asynch coomands
  • Cons
    • Java style
    • Using rc instead of try/exception
    • Proprietery logger
    • Not python 2, tested on Python 3.6 and later
    • Way too many decorators up to the point where debug is not fluent.
    • If we can get rid of asynch, will be better

About

TRex stl lib compatible with Python3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%