-
Notifications
You must be signed in to change notification settings - Fork 40
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
refactor(evpn-gw): updates to support buf lint and generation #411
Changes from all commits
0d0654a
93660f5
cf3267d
e0ec268
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -337,9 +337,9 @@ enum BPOperStatus { | |
// BridgePortType reflects the different types of a Bridge Port | ||
enum BridgePortType { | ||
// "unknown" bridge port type | ||
UNKNOWN = 0; | ||
BRIDGE_PORT_TYPE_UNSPECIFIED = 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the reason that we have changed the ENUM here ? Does this follows the googles AIPs for ENUMs ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes - this follows the AIPs for ENUMs as part of the checking. It also requires the addition of the "BRIDGE_PORT_TYPE_" for all of the ENUMs to be unique as a check. |
||
// "access" bridge port type | ||
ACCESS = 1; | ||
BRIDGE_PORT_TYPE_ACCESS = 1; | ||
// "trunk" bridge port type | ||
TRUNK = 2; | ||
BRIDGE_PORT_TYPE_TRUNK = 2; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's also include
COMMENTS
linter rules hereThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to latest addition.