blob: 258db68bce42f5e825e2db1b7b2313fd0cc11bdf [file] [log] [blame]
// Copyright 2022 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.
{
collections: [
{
// Used to run the Network Test Realm (NTR). The NTR generates a
// hermetic Netstack that tests can be run against. This collection
// is meant to be embedded in the core network realm, so it can use
// all available protocols, even the ones that are not routed
// outside of the network realm.
name: "test-components",
durability: "transient",
},
],
offer: [
{
protocol: [
"fuchsia.device.NameProvider",
"fuchsia.inspect.InspectSink",
"fuchsia.logger.LogSink",
],
from: "parent",
to: [ "#test-components" ],
},
{
// Protocols needed by the Network Test Realm to coordinate its
// actions with the system.
protocol: [
"fuchsia.net.debug.Interfaces",
"fuchsia.net.interfaces.State",
"fuchsia.net.root.Interfaces",
],
from: "#netstack",
to: [ "#test-components" ],
},
],
}