blob: 438c5020f34e9e2fefc5f8618209d36ceedfd0f7 [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
include: [
"//src/connectivity/network/testing/netemul/runner/default.shard.cml",
"//src/connectivity/network/testing/netemul/runner/expectations-client.shard.cml",
"syslog/client.shard.cml",
],
program: {
networks: [
{
name: "external_network",
endpoints: [
{ name: "device" },
],
},
],
netstacks: [
{
name: "netstack",
interfaces: [
{
name: "device",
static_ips: [
"192.168.0.1/24",
"192.168.0.2/24",
],
},
],
},
],
},
children: [
{
name: "client",
url: "#meta/client.cm",
},
{
name: "device-name-provider",
url: "#meta/device-name-provider.cm",
},
],
use: [
{
protocol: "fuchsia.netemul.ConfigurableNetstack",
from: "#netstack",
path: "/svc/netstack",
},
],
offer: [
{
protocol: [
"fuchsia.inspect.InspectSink",
"fuchsia.logger.LogSink",
],
from: "parent",
to: [
"#client",
"#device-name-provider",
"#netstack",
],
},
{
protocol: [ "fuchsia.posix.socket.Provider" ],
from: "#netstack",
to: "#client",
},
{
protocol: [ "fuchsia.device.NameProvider" ],
from: "#device-name-provider",
to: "#client",
},
{
protocol: [ "fuchsia.test.Suite" ],
from: "#client",
to: "#expectation-comparer",
},
],
}