admin: Add node object to /server_info response (#13252)

This patch adds node object information to GET /server_info response.

Risk Level: Low
Testing: Added
Docs Changes: Updated
Release Notes: Added

Fixes #9684

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>

Mirrored from https://github.com/envoyproxy/envoy @ 41e65e25ed60e6d036de7f5ff610c43cfc45cbf6
master-ci-test
data-plane-api(CircleCI) 4 years ago
parent 9997e1137c
commit e7be7070ee
  1. 7
      envoy/admin/v3/server_info.proto
  2. 7
      envoy/admin/v4alpha/server_info.proto

@ -2,6 +2,8 @@ syntax = "proto3";
package envoy.admin.v3;
import "envoy/config/core/v3/base.proto";
import "google/protobuf/duration.proto";
import "envoy/annotations/deprecation.proto";
@ -17,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// Proto representation of the value returned by /server_info, containing
// server version/server status information.
// [#next-free-field: 7]
// [#next-free-field: 8]
message ServerInfo {
option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v2alpha.ServerInfo";
@ -52,6 +54,9 @@ message ServerInfo {
// Command line options the server is currently running with.
CommandLineOptions command_line_options = 6;
// Populated node identity of this server.
config.core.v3.Node node = 7;
}
// [#next-free-field: 37]

@ -2,6 +2,8 @@ syntax = "proto3";
package envoy.admin.v4alpha;
import "envoy/config/core/v4alpha/base.proto";
import "google/protobuf/duration.proto";
import "envoy/annotations/deprecation.proto";
@ -17,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSIO
// Proto representation of the value returned by /server_info, containing
// server version/server status information.
// [#next-free-field: 7]
// [#next-free-field: 8]
message ServerInfo {
option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v3.ServerInfo";
@ -52,6 +54,9 @@ message ServerInfo {
// Command line options the server is currently running with.
CommandLineOptions command_line_options = 6;
// Populated node identity of this server.
config.core.v4alpha.Node node = 7;
}
// [#next-free-field: 37]

Loading…
Cancel
Save