|
Software for TOFINO NPU is subject to a Software License and Confidentiality Agreement (SLACA) If you are an R&E organization please submit an application via INTEL/BAREFOOT FASTER portal |
|
|
|
Before anything, you'll have to install BAREFOOT SDE following BAREFOOT instruction RARE package is planned to be released soon. (in compliance with INTEL/BAREFOOT announcement that grant the publication of the P4 code) |
in order stop the whole setup:
|
|
On hardware WEDGEBF10032X
Compile P4 bf_router.p4 program
export RARE_PATH=/home/p4 $SDE/tools/p4_build.sh -I$RARE/p4src/ -DHAVE_MPLS -D_WEDGE100BF32X_ $RARE/p4src/bf_router.p4 |
export RARE=/home/p4 $SDE/tools/p4_build.sh -I$RARE/p4src/ -DHAVE_SRV6 -D_WEDGE100BF32X_ $RARE/p4src/bf_router.p4 |
run TOFINO bf_switchd
cd $SDE ./run_switchd.sh -p bf_router |
run Freerouter control plane.
cd $RARE/100-WEDGE-100BF-32X/0001-vpn-over-bgp-isis-sr-operation ./make |
in order to stop FreeRouter
cd $RARE/100-WEDGE-100BF-32X/0001-vpn-over-bgp-isis-sr-operation ./make clean |
run bf_forwarder.py interface
cd $RARE/bfrt_python ./bf_forwarder.py |