b_cube#

BCube infrastructure generator.

This module provides a factory function to instantiate a BCube(k, n) network topology, a server-centric architecture designed for modular data centers. The topology is constructed recursively, enabling high fault-tolerance and multiple parallel paths between servers.

The topology is defined by two parameters: - k: the recursion level (BCube₀, BCube₁, …, BCube_k) - n: the number of ports per switch (and switches per level)

A BCube(k, n) contains: - n^(k+1) servers - k * n^k switches - Each server is connected to (k + 1) switches, one per level.

The implementation follows the definition from: Guo et al. “BCube: a high performance, server-centric network architecture for modular data centers” ACM SIGCOMM Computer Communication Review, 2009. https://dl.acm.org/doi/10.1145/1592568.1592577

Functions

get_b_cube(k, n[, infrastructure_id, ...])

Factory for generating a BCube(k, n) topology.