blob: a07d9eda0cd2e8b681e492414476db2dc1905b1d [file] [log] [blame]
// Example realm that provisions an Echo client and service and eagerly runs the client.
{
// Route Echo service from server to client.
"offer": [
{
"service": "/svc/fidl.examples.routing.echo.Echo",
"from": "#echo_server",
"to": [
{
"dest": "#echo_client",
},
],
},
],
// Two children: a server and client. "echo_client" has "eager" startup so it
// will be started along with the realm.
"children": [
{
"name": "echo_server",
"url": "fuchsia-pkg://fuchsia.com/routing_example#meta/echo_server.cm",
},
{
"name": "echo_client",
"url": "fuchsia-pkg://fuchsia.com/routing_example#meta/echo_client.cm",
"startup": "eager",
},
],
}