get_backbone#

eclypse.builders.infrastructure.references.topohub.backbone.get_backbone(topology, infrastructure_id=None, update_policies=None, node_assets=None, link_assets=None, include_default_assets=False, resource_init='max', path_algorithm=None, seed=None)[source]#

Create a synthetic backbone infrastructure from TopoHub.

The topology value must be a valid topology name from TopoHub’s backbone family catalogue.

Parameters:
  • topology (str) – Backbone topology identifier, such as "africa".

  • infrastructure_id (str | None) – Identifier assigned to the infrastructure. If omitted, a dataset-based identifier is used.

  • update_policies (UpdatePolicies) – Graph update policies executed during evolve().

  • node_assets (dict[str, Asset] | None) – Node asset definitions available to the infrastructure.

  • link_assets (dict[str, Asset] | None) – Edge asset definitions available to the infrastructure.

  • include_default_assets (bool) – Whether to include default ECLYPSE assets.

  • resource_init (InitPolicy) – Initialisation policy used for graph assets.

  • path_algorithm (Callable[[nx.Graph, str, str], list[str]] | None) – Path computation function for infrastructure routing.

  • seed (int | None) – Seed forwarded to the infrastructure random generator.

Returns:

The converted backbone infrastructure.

Return type:

Infrastructure