Networking NVIDIA UFM Cable Validation Tool

Dot File

:note:

Ethernet fabrics only. Dot files are not supported for InfiniBand, XDR, or NVLink fabrics.

A Dot file is a Graphviz-style graph describing your Ethernet fabric: one node entry per device, one edge per link.

Required Syntax

  • Wrap the graph in graph network { ... }.

  • Declare every switch node with an os attribute — cumulus or sonic. A node without one of these values is loaded as a host, without any warning.

  • Declare host nodes as well (they may omit os). Undeclared host endpoints can be mistyped: a destination endpoint whose name does not start with HCA is created as a switch by the loader’s fallback.

  • Optional node attributes rack, ru, su, and dh/pod place the node in the physical layout; provide them to enable the Rack View and location-based filtering.

  • The role attribute is accepted but not used in this release.

  • Declare each link as "<node>":"<port>" -- "<node>":"<port>".

  • Put all node lines before the first link line; node lines after a link are ignored. Write node lines as "<name>" [ ... ] with one space before [, and no spaces in names.

  • Use the nodes’ real names and the port names the devices report (for Cumulus switches, swp<port>s<split>; for hosts, the OS interface name).

Complete Example

graph network {
"eth-leaf-01" [ label="eth-leaf-01" os="cumulus" rack="net-rack-01" ru="20" su="SU1" dh="DH1" ]
"eth-leaf-02" [ label="eth-leaf-02" os="cumulus" rack="net-rack-01" ru="18" su="SU1" dh="DH1" ]
"eth-spine-01" [ label="eth-spine-01" os="sonic" rack="net-rack-02" ru="20" su="SU1" dh="DH1" ]
"compute-01" [ label="compute-01" ]
"compute-02" [ label="compute-02" ]

"eth-leaf-01":"swp1s0" -- "compute-01":"enp3s0np0"
"eth-leaf-01":"swp1s1" -- "compute-02":"enp3s0np0"
"eth-leaf-01":"swp51s0" -- "eth-spine-01":"swp1s0"
"eth-leaf-02":"swp51s0" -- "eth-spine-01":"swp2s0"
}

Upload

Load the file in System Admin > Setup & Validate > Step 1 — Load Topology, choosing the Dot File option.

CVT checks little in a Dot file: lines that do not match the node or link syntax are ignored without a message, and the graph network { ... } wrapper is not checked. Messages that do appear:

Output

Meaning

Error parsing the dot file

A node’s attributes could not be read (for example, an unbalanced quote); nothing is loaded

Error: File read error ... / Error: Unexpected error ...

Nothing is loaded

Warning: '<name>' not present as neither switch or host/hca. Skipping the link

A link’s source node is not declared; the link is skipped

Because errors are easy to miss, check the final Loaded <n> switches, <n> hosts/hca, <n> links. line after loading.

Last updated: