| // 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. | |
| // Common manifest shard for all Netstack3 component variants. | |
| { | |
| include: [ | |
| "inspect/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| "trace/client.shard.cml", | |
| ], | |
| program: { | |
| runner: "elf", | |
| lifecycle: { stop_event: "notify" }, | |
| }, | |
| capabilities: [ | |
| { | |
| protocol: [ | |
| "fuchsia.net.debug.Diagnostics", | |
| "fuchsia.net.debug.Interfaces", | |
| "fuchsia.net.debug.PacketCaptureProvider", | |
| "fuchsia.net.filter.Control", | |
| "fuchsia.net.filter.SocketControl", | |
| "fuchsia.net.filter.State", | |
| "fuchsia.net.interfaces.admin.Installer", | |
| "fuchsia.net.interfaces.State", | |
| "fuchsia.net.multicast.admin.Ipv4RoutingTableController", | |
| "fuchsia.net.multicast.admin.Ipv6RoutingTableController", | |
| "fuchsia.net.ndp.RouterAdvertisementOptionWatcherProvider", | |
| "fuchsia.net.neighbor.Controller", | |
| "fuchsia.net.neighbor.View", | |
| "fuchsia.net.power.WakeGroupProvider", | |
| "fuchsia.net.root.Filter", | |
| "fuchsia.net.root.Interfaces", | |
| "fuchsia.net.root.RoutesV4", | |
| "fuchsia.net.root.RoutesV6", | |
| "fuchsia.net.routes.admin.RouteTableProviderV4", | |
| "fuchsia.net.routes.admin.RouteTableProviderV6", | |
| "fuchsia.net.routes.admin.RouteTableV4", | |
| "fuchsia.net.routes.admin.RouteTableV6", | |
| "fuchsia.net.routes.admin.RuleTableV4", | |
| "fuchsia.net.routes.admin.RuleTableV6", | |
| "fuchsia.net.routes.State", | |
| "fuchsia.net.routes.StateV4", | |
| "fuchsia.net.routes.StateV6", | |
| "fuchsia.net.settings.Control", | |
| "fuchsia.net.settings.State", | |
| "fuchsia.net.sockets.Control", | |
| "fuchsia.net.sockets.Diagnostics", | |
| "fuchsia.net.stack.Stack", | |
| "fuchsia.posix.socket.packet.Provider", | |
| "fuchsia.posix.socket.Provider", | |
| "fuchsia.posix.socket.raw.Provider", | |
| "fuchsia.update.verify.ComponentOtaHealthCheck", | |
| ], | |
| }, | |
| ], | |
| use: [ | |
| { | |
| protocol: [ | |
| "fuchsia.power.broker.Topology", | |
| "fuchsia.power.system.ActivityGovernor", | |
| "fuchsia.time.alarms.WakeAlarms", | |
| ], | |
| availability: "optional", | |
| }, | |
| { | |
| // Per-boot salt used when redact_network_identifiers is true. | |
| // TODO(https://fxbug.dev/576752502): Remove this dependency once the | |
| // salt is provided at startup. | |
| protocol: "fuchsia.diagnostics.SaltProvider", | |
| from: "parent/diagnostics", | |
| availability: "optional", | |
| }, | |
| { | |
| storage: "data", | |
| path: "/data", | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| // LINT.IfChange(exposed_protocols) | |
| protocol: [ | |
| "fuchsia.net.debug.Diagnostics", | |
| "fuchsia.net.debug.Interfaces", | |
| "fuchsia.net.debug.PacketCaptureProvider", | |
| "fuchsia.net.filter.Control", | |
| "fuchsia.net.filter.SocketControl", | |
| "fuchsia.net.filter.State", | |
| "fuchsia.net.interfaces.admin.Installer", | |
| "fuchsia.net.interfaces.State", | |
| "fuchsia.net.multicast.admin.Ipv4RoutingTableController", | |
| "fuchsia.net.multicast.admin.Ipv6RoutingTableController", | |
| "fuchsia.net.ndp.RouterAdvertisementOptionWatcherProvider", | |
| "fuchsia.net.neighbor.Controller", | |
| "fuchsia.net.neighbor.View", | |
| "fuchsia.net.power.WakeGroupProvider", | |
| "fuchsia.net.root.Filter", | |
| "fuchsia.net.root.Interfaces", | |
| "fuchsia.net.root.RoutesV4", | |
| "fuchsia.net.root.RoutesV6", | |
| "fuchsia.net.routes.admin.RouteTableProviderV4", | |
| "fuchsia.net.routes.admin.RouteTableProviderV6", | |
| "fuchsia.net.routes.admin.RouteTableV4", | |
| "fuchsia.net.routes.admin.RouteTableV6", | |
| "fuchsia.net.routes.admin.RuleTableV4", | |
| "fuchsia.net.routes.admin.RuleTableV6", | |
| "fuchsia.net.routes.State", | |
| "fuchsia.net.routes.StateV4", | |
| "fuchsia.net.routes.StateV6", | |
| "fuchsia.net.settings.Control", | |
| "fuchsia.net.settings.State", | |
| "fuchsia.net.sockets.Control", | |
| "fuchsia.net.sockets.Diagnostics", | |
| "fuchsia.net.stack.Stack", | |
| "fuchsia.posix.socket.packet.Provider", | |
| "fuchsia.posix.socket.Provider", | |
| "fuchsia.posix.socket.raw.Provider", | |
| "fuchsia.update.verify.ComponentOtaHealthCheck", | |
| ], | |
| // LINT.ThenChange(//src/connectivity/network/testing/netemul/configurable-netstack/meta/configurable-netstack.cml:exposed_protocols) | |
| from: "self", | |
| }, | |
| { | |
| protocol: "fuchsia.update.verify.ComponentOtaHealthCheck", | |
| from: "self", | |
| to: "framework", | |
| }, | |
| ], | |
| } |