apigen

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

APIGen

How to Use

  1. Checkout the SAI API
  2. Install doxygen and run make doc
  3. Copy the xml files to dataplane/standalone/apigen/xml
  4. Run the apigen go run ./dataplane/standalone/apigen

Documentation

Overview

The apigen command generates C++ and protobuf code for the SAI API.

Directories

Path Synopsis
Package docparser implements a parser for Doxygen xml.
Package docparser implements a parser for Doxygen xml.
Package protogen implements a generator for SAI to protobuf.
Package protogen implements a generator for SAI to protobuf.
Package saiast contains information parsed from AST of the SAI header.
Package saiast contains information parsed from AST of the SAI header.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL