OVS Open Programming
Application Scenarios
Implementation Principles
It enables developers to customize packet parsing and flow tables (including key/action logic) based on match-action logic. In addition, the jump logic is provided to enable developers to organize multiple match-action units into a pipeline, which expresses more complex packet processing and forwarding logic. Theoretically, the pipeline can implement any operation within the packet forwarding and processing scope, and is scalable.

The
During the DSL translation process, a hydrainfo file is generated, which is similar to the p4info.txt file in P4 (a DSL for network devices). This file serves as the flow table information interface exposed by the DSL-based data plane program to the control plane. It is primarily used during flow entry issuance to define the tuple information for flow table keys, the list of available actions, and their associated action data.
If the user control plane software is open-source or custom OVS, the programming framework provides simple OVS control plane programming capabilities. You can introduce the hydrainfo file to implement control plane hook functions (interface functions that are preset in the software framework and allow users to insert custom code in a specific processing phase), and generate a dynamic link library to customize the flow entry issuing logic that matches the self-defined microcode on the data plane. For details, see Brief Control Plane Development.