-
Notifications
You must be signed in to change notification settings - Fork 1
Add Dataplane Status gRPC message #47
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
Conversation
sergeymatov
commented
Jul 24, 2025
- Interfaces status basic info
- FRR status and applied config info
- Dataplane generic info
9049319 to
504b82c
Compare
ce4ff69 to
8573e94
Compare
94f0a9c to
ec07e12
Compare
f793bdf to
e7642c5
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.
Pull Request Overview
This PR introduces comprehensive dataplane status reporting capabilities to the gRPC API, adding a new GetDataplaneStatus service method that provides monitoring and diagnostic information about the gateway's operational state.
- Adds a new gRPC service method
GetDataplaneStatuswith request/response messages - Introduces status enums for interface states, FRR components, and overall dataplane health
- Implements comprehensive test coverage using Bolero fuzzing framework
Reviewed Changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| proto/dataplane.proto | Defines new status enums and gRPC messages for dataplane status reporting |
| pkg/dataplane/dataplane.pb.go | Generated Go bindings for the new status types and messages |
| pkg/dataplane/dataplane_grpc.pb.go | Generated Go gRPC service bindings for GetDataplaneStatus method |
| src/lib.rs | Exports new status types and request/response messages |
| src/bolero/status.rs | Implements comprehensive fuzzing test generators for all status types |
| src/bolero/mod.rs | Registers the new status module |
| tests/simple_test.rs | Adds test implementation for the new gRPC service method |
| Cargo.toml | Version bump from 0.12.1 to 0.13.0 |
mvachhar
left a comment
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.
This is a good start, but based on what we've seen so far, we're going to need status to get the light status on optics, configuration of the NIC, etc. Everything we need to debug basic L1/L2 connectivity to the switching tier.
b2aae88 to
8d2c7b1
Compare
Frostman
left a comment
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.
Looks ok overall, few small comments
8d2c7b1 to
09285e4
Compare
98bd283 to
802dec5
Compare
9b819c5 to
b260979
Compare
b260979 to
58cf757
Compare
58cf757 to
04aa9ac
Compare
Signed-off-by: Sergey Matov <[email protected]>
Signed-off-by: Sergey Matov <[email protected]>
FrrStatus is not consist of Zebra status and FrrAgent status. Number of applied configs and failed configs for Frr also included. Signed-off-by: Sergey Matov <[email protected]>
Signed-off-by: Sergey Matov <[email protected]>
Added dataplane status message, don't breaks existing API. Signed-off-by: Sergey Matov <[email protected]>
04aa9ac to
0415e9c
Compare