Skip to content

Conversation

@sergeymatov
Copy link
Contributor

  • Interfaces status basic info
  • FRR status and applied config info
  • Dataplane generic info

This comment was marked as outdated.

@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 2 times, most recently from ce4ff69 to 8573e94 Compare July 28, 2025 14:11
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 2 times, most recently from 94f0a9c to ec07e12 Compare July 28, 2025 16:10
@sergeymatov sergeymatov requested a review from Frostman July 29, 2025 10:37
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 7 times, most recently from f793bdf to e7642c5 Compare July 31, 2025 16:03
@Frostman Frostman requested a review from Copilot August 4, 2025 15:21
Copy link

Copilot AI left a 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 GetDataplaneStatus with 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
mvachhar previously approved these changes Aug 18, 2025
Copy link
Contributor

@mvachhar mvachhar left a 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.

@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 4 times, most recently from b2aae88 to 8d2c7b1 Compare September 30, 2025 15:43
Copy link
Member

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

@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch from 8d2c7b1 to 09285e4 Compare October 2, 2025 11:48
@sergeymatov sergeymatov requested a review from Frostman October 2, 2025 12:27
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 4 times, most recently from 98bd283 to 802dec5 Compare October 8, 2025 08:46
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch 2 times, most recently from 9b819c5 to b260979 Compare October 9, 2025 19:04
@sergeymatov sergeymatov requested a review from Frostman October 9, 2025 19:05
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch from b260979 to 58cf757 Compare October 10, 2025 10:56
@sergeymatov sergeymatov requested a review from Frostman October 13, 2025 09:13
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch from 58cf757 to 04aa9ac Compare October 14, 2025 14:27
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]>
Added dataplane status message, don't breaks existing API.

Signed-off-by: Sergey Matov <[email protected]>
@sergeymatov sergeymatov force-pushed the pr/smatov/dataplane-status branch from 04aa9ac to 0415e9c Compare October 14, 2025 15:44
@Frostman Frostman merged commit 8d51b75 into master Oct 16, 2025
6 checks passed
@Frostman Frostman deleted the pr/smatov/dataplane-status branch October 16, 2025 02:38
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.

4 participants