..
2015-11-16 11:56:10 -08:00
2015-11-16 11:56:10 -08:00
2015-11-16 11:56:10 -08:00
2016-05-10 13:36:47 -07:00
2016-05-10 13:36:47 -07:00
2015-11-16 11:56:10 -08:00
Counter
Description
This directory is a playground for counters in P4. The P4 program includes a direct counter and an indirect counter.
Running the demo
To run the demo:
- start the switch with
./run_switch.sh, wait untilREADYis displayed. - run the demo script with
./run_demo.sh. The script will send packets / display the counter values / reset the counters. Look at the script for more details.