MCPcopy Create free account
hub / github.com/SchedMD/slurm / _switch_for_node

Function _switch_for_node

testsuite/python/tests/test_150_5.py:195–208  ·  view source on GitHub ↗

Return the leaf SwitchName containing `name`, or None. Parses 'scontrol show topology' output. Only level-0 (leaf) switches list nodes, so we ignore intermediate switches.

(name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected