Skip to content

kebag-logic/tsn-gen

Repository files navigation

CPP TSN Tool

The CPP tsn tool is a collection of network protocol and interfaces.

Goals

The aim of the tool is 6-fold:

  • Re-use already existing protocol developments
  • Simulate or test the whole protocol chain End-to-End
  • Dissect and harness data input/output at different stage of a stack
  • Fuzz the harnessed data
  • Test and understand protocols by monitoring internal variables.
  • Allow to co-simulate with real hardware and virtualized environments.

And the code should make sure that the application does not need recompilation, or impede developer for this it will use:

  • Avoid dependencies
  • Use dynanic linking
  • Cache as much as possible.

Dependencies

Testing:

  • g++, clang, clang++, make, cmake, python3, bash, binutils

To use behave, run-test-behave.sh, which will create a virtualenv in your the folder tests/ called behav-pyvenv

Local execution can be done using the following command:

$ <package manager> install go # make sure to install go first
$ ./tests/exec-local-test.sh

in the end it will provide the expected results as if running in github

To make it executable on each commit, the tests/install-pre-commit-hook.sh shall be executed to verify everything is done fine

$ ./test/install-pre-commit-hook.sh

About

TSN Generator and validator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors