Commit Graph
24 Commits
  • Updated basic_tunnel exercise README (#90)
    * Adding initial implementation of basic_encap example
    
    * Updated basic_encap example to count the number of valid packets
    
    * Updated basic_encap example to put encapsulation layer after Ethernet
    header.
    
    * Added solution file for basic_encap example
    
    * Changed the name of the basic_encap example to basic_tunnel and called
    the new header myTunnel. Also changed the myTunnel field names slightly.
    
    * Updated the README file for the basic_tunnel exercise. Also added topo.pdf
    image to serve as a reference during implementation.
    
    * Updated basic/README.md to point to basic_tunnel as the next exercise.
    
    * Updated the README for basic to point to basic_tunnel.
    
    Updated the starter code for basic_tunnel to look like basic
    solution with todo comments.
    
    Updated send.py and receive.py to be able to send both plain IP
    packets and tunneled IP packets.
    
    Updated basic_tunnel.p4 to have same control flow as p4runtime
    exercise.
    
    * Updated the basic and basic_tunnel README files to remove references
    to the old run.sh script.
    
    Updated TODO list in basic_tunnel README
    
    * Updated README files to indicate logs are in /tmp
    
    * Updated README for basic_tunnel exercise to specify the etherType
    field value.
  • Adding figures to ECN and MRI exercises (#84)
    * adding a figure of the network setup to ecn
    
    * adding a figure of the network setup for MRI
  • Updating check_switch_started in p4runtime_switch.py (#85)
    The previous implementation had a race conditiona between the
    socket check and the BMv2 startup. Sometimes, if the check happen
    just before (or as) BMv2 was trying to bind the port, it would
    not be able to bind it. This solution uses psutil's equivalent
    to 'netstat' to determine whether is BMv2 has bound the port yet.
    
    Also, some minor README and comment improvements.
  • VM Updates (#83)
    - Minor fixes to p4runtime exercise and README
    - Adding p4runtime/solution
    - Adding p4runtime/topology.json
    - Updating .gitignore to include solution directory and topology.json
    - Fixing root-bootstrap to exit on errors
    - Updating VM name in Vagrantfile
    - Setting up VM to automatically log 'p4' user in on startup
  • Updated README files for exercises (#82)
    * Adding initial implementation of basic_encap example
    
    * Updated basic_encap example to count the number of valid packets
    
    * Updated basic_encap example to put encapsulation layer after Ethernet
    header.
    
    * Added solution file for basic_encap example
    
    * Changed the name of the basic_encap example to basic_tunnel and called
    the new header myTunnel. Also changed the myTunnel field names slightly.
    
    * Updated the README file for the basic_tunnel exercise. Also added topo.pdf
    image to serve as a reference during implementation.
    
    * Updated basic/README.md to point to basic_tunnel as the next exercise.
    
    * Updated the README for basic to point to basic_tunnel.
    
    Updated the starter code for basic_tunnel to look like basic
    solution with todo comments.
    
    Updated send.py and receive.py to be able to send both plain IP
    packets and tunneled IP packets.
    
    Updated basic_tunnel.p4 to have same control flow as p4runtime
    exercise.
    
    * Updated the basic and basic_tunnel README files to remove references
    to the old run.sh script.
    
    Updated TODO list in basic_tunnel README
    
    * Updated README files to indicate logs are in /tmp
  • 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
  • Updated basic* README files (#80)
    * Adding initial implementation of basic_encap example
    
    * Updated basic_encap example to count the number of valid packets
    
    * Updated basic_encap example to put encapsulation layer after Ethernet
    header.
    
    * Added solution file for basic_encap example
    
    * Changed the name of the basic_encap example to basic_tunnel and called
    the new header myTunnel. Also changed the myTunnel field names slightly.
    
    * Updated the README file for the basic_tunnel exercise. Also added topo.pdf
    image to serve as a reference during implementation.
    
    * Updated basic/README.md to point to basic_tunnel as the next exercise.
    
    * Updated the README for basic to point to basic_tunnel.
    
    Updated the starter code for basic_tunnel to look like basic
    solution with todo comments.
    
    Updated send.py and receive.py to be able to send both plain IP
    packets and tunneled IP packets.
    
    Updated basic_tunnel.p4 to have same control flow as p4runtime
    exercise.
    
    * Updated the basic and basic_tunnel README files to remove references
    to the old run.sh script.
    
    Updated TODO list in basic_tunnel README
  • Updates to basic_tunnel and basic (#78)
    * Adding initial implementation of basic_encap example
    
    * Updated basic_encap example to count the number of valid packets
    
    * Updated basic_encap example to put encapsulation layer after Ethernet
    header.
    
    * Added solution file for basic_encap example
    
    * Changed the name of the basic_encap example to basic_tunnel and called
    the new header myTunnel. Also changed the myTunnel field names slightly.
    
    * Updated the README file for the basic_tunnel exercise. Also added topo.pdf
    image to serve as a reference during implementation.
    
    * Updated basic/README.md to point to basic_tunnel as the next exercise.
    
    * Updated the README for basic to point to basic_tunnel.
    
    Updated the starter code for basic_tunnel to look like basic
    solution with todo comments.
    
    Updated send.py and receive.py to be able to send both plain IP
    packets and tunneled IP packets.
    
    Updated basic_tunnel.p4 to have same control flow as p4runtime
    exercise.
  • Updates the examples to use the new build scripts (except Hula). (#74)
    * Added Makefile and topology.jsons for all examples.
    
    * use branch
    
    * Updated MRI exercise (#73)
    
    * Updated MRI exercise
    
    * Updated basic_tunnel.p4 for changes to p4 lang
    
    * updated other examples
  • 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
  • Updated ecn exercise to work with new util scripts (#72)
    * Updated ecn exercise to work with new util scripts
    
    * Bugfix and print port mapping in run_exercise.py
  • New build script, and now building mininet from source (#69)
    * moved basic exercise to new run script
    
    * forgot some files
    
    * CLI output now goes to logs
    
    * typo, and forgot topo file
    
    * fixed net.stop() bug
    
    * added temporary change to makefile
    
    * typos hard
  • Basic Encapsulation Example (#64)
    * Adding initial implementation of basic_encap example
    
    * Updated basic_encap example to count the number of valid packets
    
    * Updated basic_encap example to put encapsulation layer after Ethernet
    header.
    
    * Added solution file for basic_encap example
    
    * Changed the name of the basic_encap example to basic_tunnel and called
    the new header myTunnel. Also changed the myTunnel field names slightly.