Polycube Developers Guide¶
This guide represents an initial starting point for developers that want to implement new services (e.g., custom NAT, router, etc) using the Polycube software infrastructure.
Contents:
- Writing the eBPF datapath
- Writing the control plane
- Writing a YANG data model
- Polycube Automatic Code Generation Tools
- Debugging Polycube services
- Debugging using Integrated Development Environment (IDE)
- Debugging network traffic using tcpdump/Wireshark
- Profiler Framework
- Hints for programmers
- Hateoas
- Polycube CI/CD
How to create a new service / update an existing one¶
The process to create or update service could be summarized in these steps:
Please note that steps (1) and (2) are needed only when there is a change to the the YANG data model. In case we have to slightly modify an existing service (e.g., fixing a bug in the code), only steps (3) and (4) are required.