shouxi / flowradar-p4-bmv2

FlowRader-P4 upgraded for bmv2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlowRadar (bmv2)

FlowRader-P4 upgraded for bmv2.

Install P4 simulator and compiler

Download and install bmv2 and p4c-bmv2.

Build a target for FlowRadar-P4

git clone github.com/shouxi/flowradar-p4-bmv2.git flowradar-p4-bmv2
cd flowradar-p4-bmv2
python create_target_for_flowradar.py

Test FlowRadar-P4

Run Mininet:

sh ./run_flowradar_demo.sh

Read counter values:

python read_counters.py

About

FlowRader-P4 upgraded for bmv2

License:Apache License 2.0


Languages

Language:Python 86.7%Language:Shell 13.3%