p4lang / p4runtime

Specification documents for the P4Runtime control-plane API
Apache License 2.0
144 stars 88 forks source link

What is P4runtime and is it an API provided to the control plane? #467

Closed sunruifeng0602 closed 10 months ago

sunruifeng0602 commented 10 months ago

This is to suggest improvements to the P4Runtime specification. For issues regarding a specific implementation, please open an issue with the appropriate repository (e.g. https://github.com/p4lang/behavioral-model or https://github.com/p4lang/PI for bmv2). I am a beginner who has just started learning P4 and have some questions about P4 runtime. Can you help me solve my doubts.

  1. What is P4runtime and is it an API provided to the control plane? Or is P4runtime a P4 specific controller?
  2. If it is an API, what controller should be used and how should it be used?