-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor apigen package and check in generated protos (#228)
- Loading branch information
Showing
60 changed files
with
12,350 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
lint: | ||
directories: | ||
# The SAI generated proto doesn't follow all the proto naming conventions. | ||
exclude: | ||
- dataplane/standalone/proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# APIGen | ||
|
||
## How to Use | ||
|
||
1. Checkout the [SAI API](https://github.com/opencomputeproject/SAI) | ||
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "docparser", | ||
srcs = ["docparser.go"], | ||
importpath = "github.com/openconfig/lemming/dataplane/standalone/apigen/docparser", | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.