get_caida#
- eclypse.builders.infrastructure.references.topohub.caida.get_caida(snapshot, 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 CAIDA-backed infrastructure from TopoHub.
The
snapshotvalue must be a valid topology name from TopoHub’scaidafamily catalogue.- Parameters:
snapshot (str) – CAIDA snapshot identifier within TopoHub.
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 CAIDA infrastructure.
- Return type: