# p4lang/tutorials

P4 language tutorials

Repository: https://github.com/p4lang/tutorials
Canonical: https://ross.abutalabs.com/products/p4lang-tutorials
Language: Python
License: NOASSERTION
License Family: other
Last push: 2026-08-25T02:25:27+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3990, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1585, forks 942 (observed 2026-08-28T04:05:07.604635+00:00)

## What it is
A set of hands-on exercises and materials for learning the P4 programming language for programmable network data planes. It covers language basics, packet forwarding, tunneling, and control-plane interaction via P4Runtime, tested in Mininet topologies.

## Use cases
- learn P4 programming for network switches
- practice implementing IPv4 packet forwarding in P4
- understand P4Runtime control plane programming
- experiment with tunneling and custom packet headers
- prepare for a live P4 tutorial class
- learn data plane programming with Mininet exercises

## When to choose
- you want structured, hands-on exercises to learn P4 from scratch
- you need practice with P4Runtime and control plane interaction
- you are preparing to attend or teach a P4 tutorial class

## When to avoid
- you need production-ready P4 code for deployment
- you want general SDN tutorials unrelated to P4
- you need comprehensive P4 reference documentation rather than exercises

## Facets
- artifact type: learning-resource
- maturity: active
- function: networking, compiler, sdk
- domain: networking, tutorials, developer-tools, programming-languages
- platform: python, cli
- tags: p4, p4runtime, data-plane-programming, sdn, mininet, packet-forwarding, network-switches, exercises, education, linux

## Member repositories
- p4lang/tutorials (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.604635+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:37.988190+00:00, confidence not recorded.
  - readme: https://github.com/p4lang/tutorials (fetched 2026-08-28T04:05:07.604635+00:00, sha 40c297db2968)
- Data as of 2026-08-30T08:39:29.467469+00:00.
