• Create a star topology made with bridges.

    Parameters

    • opts:
          | StarOptions
          | readonly {
              bridgeName?: string;
              fwB?: Forwarder;
              fwOpts?: Forwarder.Options;
              relayAB?: Relay;
              relayBA?: Relay;
              routesAB?: readonly NameLike[];
              routesBA?: readonly NameLike[];
          }[]

      Per-leaf options.

    • fwA: Forwarder = ...

      Center logical forwarder node.

    Returns Bridge[]

    The star topology consists of fwA as the center node, and fwBs from each of opts as leaf nodes. A-to-B goes toward the leaf; B-to-A goes toward the center.