Home | History | Annotate | only in /external/bcc/src/cc/frontends/p4/test
Up to higher level directory
NameDateSize
cleanup.sh22-Oct-2020216
endToEndTest.py22-Oct-202012.3K
README.txt22-Oct-2020648
testoutputs/22-Oct-2020
testP4toEbpf.py22-Oct-20202.4K
testprograms/22-Oct-2020

README.txt

      1 This folder contains tests for the P4->C->EBPF compiler
      2 
      3 - cleanup.sh should be run if for some reason endToEndTest.py crashes
      4   and leaves garbage namespaces or links
      5 
      6 - testP4toEbpf.py compiles all P4 files in the testprograms folder and
      7   deposits the corresponding C files in the testoutputs folder
      8 
      9 - endToEndTest.py runs a complete end-to-end test compiling the
     10   testprograms/simple.p4 program, creating a virtual network with 3
     11   boxes (using network namespaces): client, server, switch, loading
     12   the EBPF into the kernel of the switch box using the TC, and
     13   implementing the forwarding in the switch solely using the P4
     14   program.
     15   
     16   
     17