headscale icon indicating copy to clipboard operation
headscale copied to clipboard

feat: implement PingNode gRPC handler

Open roganlynch opened this issue 3 months ago • 0 comments

Implements the PingNode gRPC handler.

Changes

  • PingNode RPC handler: Server-side implementation of the PingNode gRPC method
  • Request validation: Validates node identification and ping parameters
  • PingManager integration: Coordinates with the PingManager to execute pings
  • Response handling: Returns ping results through the gRPC response

Implementation Details

The handler receives PingNode requests through gRPC, validates the request parameters, invokes the PingManager to execute the ping operation, and returns the results. This provides the control plane API for triggering on-demand node pings.

Context

Part of the work discussed in #2902 to add ping functionality to headscale.

Dependencies

  • Requires PR #2941 (protobuf definitions)

Note: This code was generated with assistance from Claude Sonnet 4.5 via cline.bot

roganlynch avatar Dec 06 '25 00:12 roganlynch