-
Notifications
You must be signed in to change notification settings - Fork 0
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
GRPC Protoc messages for basic objects #1
base: master
Are you sure you want to change the base?
Conversation
9011fc9
to
88ddd2e
Compare
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.
Feedback imported from githedgehog/dataplane#224
grpc/dataplane_grpc.proto
Outdated
|
||
message PeeringPolicy { | ||
string policy_name = 1; | ||
repeated string peered_interfaces = 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.
I don't know gRPC and here I don't know what repeated means, it seems to be 1 or more. Is there a way to tell that we need just two peered_interfaces?
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.
repeated is a wide range, no exactly 2. We can make it exactly 2 by making 2 strings left_pif and right_pif
88ddd2e
to
4f13f12
Compare
Signed-off-by: Sergey Matov <[email protected]>
4f13f12
to
646b344
Compare
} | ||
|
||
message Vpc { | ||
string name = 1; |
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.
@sergeymatov do you think we need vpc-level vni too?
uint32 vni = 3; | ||
} | ||
|
||
message PeeringInterface { |
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 not merge it until we agree on the GW API as it can affect PIFs/Policies significantly
No description provided.