openoptics.Toolbox.BaseNetwork.deploy_routing#
- BaseNetwork.deploy_routing(paths: List[Path], routing_mode='Per-hop', arch_mode='TO', start_fresh=False) bool[source]#
Deploy routing to nodes.
- Parameters:
paths (List[Path]) – A list of paths to be deployed to the network nodes
routing_mode (str) – The routing mode, either “Per-hop” or “Source”
arch_mode (str, optional) – The architecture mode, either “TO” (Traffic-Oblivious) or “TA” (Traffic-Aware). Defaults to “TO”.
start_fresh (bool, optional) – If True, clears existing routing table entries before deploying new ones. Defaults to False.
- Returns:
True if routing deployment is successful
- Return type:
bool