[export] Use xdstp for LDS in google-c2p resolver

----
DO NOT SUBMIT. This PR is for testing purposes only. [cl/601845634](http://cl/601845634)

PiperOrigin-RevId: 601845634
This commit is contained in:
Alexander Polcyn 2024-01-26 13:01:11 -08:00 committed by Copybara-Service
parent e2c3648bc2
commit 3df02f44e0
1 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,10 @@ void GoogleCloud2ProdResolver::StartXdsResolver() {
Json::FromObject({
{kC2PAuthority, Json::FromObject({
{"xds_servers", std::move(xds_server)},
{"client_listener_resource_name_template",
Json::FromString(absl::StrCat(
"xdstp://", kC2PAuthority,
"/envoy.config.listener.v3.Listener/%s"))},
})},
})},
{"node", Json::FromObject(std::move(node))},