Skip to content

elavinal/p4-int

Repository files navigation

P4-int

Run:

v1.0:

  1. Run project with 'make'

  2. Open hosts with :

  • xterm h1 h2 h4
  1. Configure the wanted network data in config/config.yaml
  • Or write a new one with the same fields
  1. In another terminal :
  • Update network behavior with 'make int' if you want to use the config/config.yaml
  • To use another config file update with 'make CONFIG=myFilePath int'
  1. On h2:
  • Execute command : 'cd collector'.
  • Run : './receive_int.py' if you just want to monitor metadata.
  • Or : './receive_int.py --o <csv_name>' if you want to save metadata in a CSV file.
  1. On h4 run :
  • ./receive.py
  1. On h1 run :
  • ./send.py --ip 10.0.4.4 --l4 udp --port 80 [--m "INT is nice !"] [-c 10]
  • ./send.py --ip 10.0.4.4 --l4 tcp --port 55555 [--m "INT is cool !"] [-c 10]

h2 should receive the INT report and h4 a message without INT headers (except for some metadata traces)

Getting Started

About

Open P4 Inband Network Telemetry implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •