Rate This Document
Findability
Accuracy
Completeness
Readability

Brief Control Plane Development

For details, see Detailed Control Plane Development. If you use example code provided by Huawei, see Special Scenarios.

  1. Include hook.h and libapi.h header files provided by the framework and hydrainfo files generated during Hydra data plane compilation into the development directory.
  2. Develop the control plane code to implement the functions defined in hook.h and customize the flow entry issuing logic that adapts to the user code on the data plane.
  3. Prepare the compilation environment.

    For details about the compilation environment restrictions, see the OVS control plane features in Table 1 and Table 2.

  4. Compile the code to generate the custom_openvswitch_plugin.so dynamic link library.
  5. Install custom_openvswitch_plugin.so to /usr/lib64/ in the operating environment.