Skip to content

kevinbird61/P4-Play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P4-Play

Record something useful information and experiments on P4.

Usage

This repository will record some information about how I learn P4 from hardly without any knowledge about networking. So it will have some basic concept about networking command in Linux, mininet API learning, and some P4 spec knowledge I read from p4.org/specs, like PSA, P4_16. All the practices will base on P4_16 to illustrate.

  • Repository Structure
    • Installation
      • About install the p4 develop requirement environment. See more under this folder.
    • P4-playground
      • multiswitch
        • Using mininet with python API support
        • Contain some experiments with P4 and multiple switches scenario.
          • basic forwarding
          • multi-hop route inspection
          • load balancing (ECMP)
      • run-directly
        • Using ip command to build the network environment with single switch.
        • And then using simple_switch with P4 directly.
      • run-mininet
        • Using mininet to build the network environment with single switch.
        • And then using p4_mininet.py as P4 class.
        • Implement the basic forwarding scenario.
      • net_build
        • python script for building those scenario.
      • psa
        • Record some P4 programs.
    • Resource
      • Contain the image usage, flowchart source.
    • docs
      • Recording some useful information when you coding an P4 program.
      • And using papogen to generate them into static webpages.

Some notes

  • Check out docs/
    • using command make to generate it.
    • using papogen as generator.

About me

Some learning notes

This part record about some learning notes of mine, (About P4) Might help somebody know about P4 quickly !

Reference

Record some good website about catch up P4 concept.

About

Record something useful information and experiments on P4.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published