Module admin

Source
Expand description

Provides testutils for testing implementations of clients and servers of fuchsia.net.routes.admin.

Functions§

serve_all_route_sets_with_table_id
TODO(https://fxbug.dev/337298251): Change this to return a RouteSet index beside the RouteSet item to make it easier to determine which RouteSet pertains to the transmitted requests.
serve_noop_route_sets
Provides a RouteTable implementation that serves no-op RouteSets.
serve_noop_route_sets_with_table_id
Provides a RouteTable implementation that serves no-op RouteSets and identifies itself with the given ID.
serve_one_route_set
Provides a RouteTable implementation that provides one RouteSet and then panics on subsequent invocations. Returns the request stream for that RouteSet.