blob: 8293fdfb04bdf1fc2b88c17f0c3fbcf55e7f90d4 [file] [log] [blame] [edit]
// 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.
{
children: [
{
name: "netstack",
url: "fuchsia-pkg://fuchsia.com/netstack-migration#meta/netstack-proxy.cm",
on_terminate: "reboot",
},
{
name: "netstack-migration",
url: "fuchsia-pkg://fuchsia.com/netstack-migration#meta/stack-migration.cm",
},
],
offer: [
{
protocol: [ "fuchsia.feedback.CrashReporter" ],
from: "parent",
to: [ "#netstack-migration" ],
},
{
protocol: [ "fuchsia.net.stackmigrationdeprecated.State" ],
from: "#netstack-migration",
to: [ "#netstack" ],
},
{
protocol: [ "fuchsia.process.Launcher" ],
from: "parent",
to: [ "#netstack" ],
},
{
storage: "data",
from: "parent",
to: [ "#netstack-migration" ],
},
{
protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ],
from: "parent",
to: [ "#netstack-migration" ],
},
{
protocol: [ "fuchsia.power.internal.CollaborativeRebootScheduler" ],
from: "parent",
to: [ "#netstack-migration" ],
},
{
protocol: [ "fuchsia.net.http.Loader" ],
from: "#http-client",
to: [ "#netstack-migration" ],
dependency: "weak",
},
{
protocol: "fuchsia.net.filter.deprecated.Filter",
// NS3 will not implement fuchsia.net.filter.deprecated, mark as optional.
from: "#netstack",
to: "#netcfg",
availability: "optional",
},
],
expose: [
{
protocol: [
"fuchsia.net.stackmigrationdeprecated.Control",
"fuchsia.net.stackmigrationdeprecated.State",
],
from: "#netstack-migration",
},
// TODO(https://fxbug.dev/324494668): remove this when Netstack2 is gone.
{
directory: "diagnostics",
from: "#netstack",
as: "netstack-diagnostics",
availability: "optional",
},
],
}