Commit Graph
2 Commits
  • Adding starter code and solution for p4runtime exercise (#81)
    Summary of changes:
    - Adding the p4runtime starter code and solution.
    - Adding NO_P4, BMV2_SWITCH_EXE and P4C_ARGS to utils/Makefile
    - Updated p4runtime/Makefile to use variables
    - Adding conversion functions for match and action param values
    - Separating P4Info and P4Runtime libraries
    - Updating global README and adding p4runtime/README.md
    - Disabling screen saver on VM GUI
    - Adding desktop icons for Terminal, Wireshare and Sublime Text
    - Updating topo.pdf -> png for Markdown viewing in basic_tunnel and
      p4runtime READMEs
  • Updates for p4runtime example (#71)
    * Created p4runtime exercise directory with draft P4 program
    
    * Updating VM
    
    - Adding p4 to vboxsf group for VirtualBox Shared Folders
    - Adding gRPC Python package for p4 runtime
    - Setting up VM to use 2 CPUs
    
    * Updating .gitignore for PyCharms and Mac OS
    
    * Adding P4RuntimeSwitch type and support in run_exercises
    
    If the grpc switch target is used, we will instantiate a P4RuntimeSwitch.
    Ideally, this will get merged with BMv2's P4Switch and can be removed
    
    * Adding p4 runtime and p4info browser libraries
    
    Also, adding a Makefile for this project