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

GRPC Protoc messages for basic objects #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergeymatov
Copy link

No description provided.

Copy link
Member

@qmonnet qmonnet left a 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


message PeeringPolicy {
string policy_name = 1;
repeated string peered_interfaces = 2;
Copy link
Member

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?

Copy link
Author

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

@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-grpc branch from 88ddd2e to 4f13f12 Compare February 20, 2025 13:01
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-grpc branch from 4f13f12 to 646b344 Compare February 25, 2025 09:47
@sergeymatov sergeymatov requested a review from Frostman February 25, 2025 09:48
}

message Vpc {
string name = 1;
Copy link
Member

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 {
Copy link
Member

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

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.

3 participants