admin: fix config dump order (#4197)

Fixes the order of config_dump elements - bootstrap, clusters, listeners and routes will come in that order. Note that inside each of them, ordering is not guaranteed. This is a step in moving towards complete ordering.

Risk Level: Low
Testing: Added Automated tests
Docs Changes: Updated
Release Notes: N/A

Signed-off-by: Rama <rama.rao@salesforce.com>

Mirrored from https://github.com/envoyproxy/envoy @ 51d274be76119efff76fdafaa2f49fdd479f2def
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 7d6dff5f13
commit 805f329350
  1. 10
      envoy/admin/v2alpha/config_dump.proto

@ -17,17 +17,17 @@ import "gogoproto/gogo.proto";
// The :ref:`/config_dump <operations_admin_interface_config_dump>` admin endpoint uses this wrapper // The :ref:`/config_dump <operations_admin_interface_config_dump>` admin endpoint uses this wrapper
// message to maintain and serve arbitrary configuration information from any component in Envoy. // message to maintain and serve arbitrary configuration information from any component in Envoy.
message ConfigDump { message ConfigDump {
// This map is serialized and dumped in its entirety at the // This list is serialized and dumped in its entirety at the
// :ref:`/config_dump <operations_admin_interface_config_dump>` endpoint. // :ref:`/config_dump <operations_admin_interface_config_dump>` endpoint.
// //
// Keys are a short descriptor of the config object they map to. The following keys (and the // The following configurations are currently supported and will be dumped in the order given
// messages they map to) are currently supported: // below:
// //
// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v2alpha.BootstrapConfigDump>` // * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v2alpha.BootstrapConfigDump>`
// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>` // * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>`
// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
// * *routes*: :ref:`RoutesConfigDump <envoy_api_msg_admin.v2alpha.RoutesConfigDump>` // * *routes*: :ref:`RoutesConfigDump <envoy_api_msg_admin.v2alpha.RoutesConfigDump>`
map<string, google.protobuf.Any> configs = 1 [(gogoproto.nullable) = false]; repeated google.protobuf.Any configs = 1 [(gogoproto.nullable) = false];
} }
// This message describes the bootstrap configuration that Envoy was started with. This includes // This message describes the bootstrap configuration that Envoy was started with. This includes

Loading…
Cancel
Save