Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix references in gNOI protos; cleanup. #7

Merged
merged 2 commits into from
May 24, 2018
Merged

Conversation

robshakir
Copy link
Contributor

This CL fixes references to the openconfig/reference repo in the gNOI protobufs; regenerates the set of protos and performs some misc cleanup (add licensing to the test Go files; ensure that there is a package file for the tests; add a compile_protos.sh script).

 * Remove references to the openconfig/reference repo for gNOI
   types import in both protobufs and the Bazel files.
 * Regenerate protobufs using protoc v3.5.1.
@robshakir robshakir requested a review from aashaikh January 31, 2018 02:38
Copy link
Contributor

@aashaikh aashaikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay. 🚁

"github.com/openconfig/gnoi"
gbgp "github.com/openconfig/gnoi/bgp"
"github.com/golang/protobuf/proto"
gpb "github.com/openconfig/gnoi"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious -- why do you need to have a label fo this instead of just using gnoi ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a style-guide rule - we generally always name things pb at the end to make it clear that they were generated by a protobuf. In packages that require only one proto, you might see it aliased to just pb.

@robshakir
Copy link
Contributor Author

Thanks for the review!

@robshakir robshakir merged commit face32e into master May 24, 2018
@robshakir robshakir deleted the import_path_fix branch May 24, 2018 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants