Networking NVIDIA UFM Cable Validation Tool

​​Topo File

A Topo file is an ibdiagnet topology dump. Use it for InfiniBand fabrics (NDR/HDR, MLNX-OS switches) when you already generate ibdiagnet output. Topo files are not supported for XDR.

Prerequisites

  • Node names must match the device hostnames. Each switch line is <MODEL> <name>. CVT drops everything after the first dot (the domain) unless CV_DOT_IN_HOSTNAME=true, and compares names without regard to letter case. The agent and the pre-check compare this name with the device’s own hostname; a mismatch fails the pre-check (hostname_match) and validation start (Hostname mismatch: <hostname> does not match <name>).

  • Each managed switch name must resolve to an IP address, through DNS or an IP file (one <IP> <hostname> pair per line, # for comments; offered in the UI when Use DNS to resolve device names is cleared).

  • Destinations whose name starts with HCA are created as hosts (not managed by CVT); SYS... entries (unmanaged switches) are ignored.

  • Produce the file with ibdiagnet, using -w to write the topology file, for example:

  • ibdiagnet -w /tmp/topology.topo
    

    Run it on a host connected to the InfiniBand fabric, then upload the resulting .topo file to CVT.

Expected Output

The file lists each switch followed by its connected ports, for example:

MQM8700 sw-ib-hdr-01
   P2 -4x-50G-> HCA_mlx5_3 gpu-server-04 mlx5_0/P1
   P40 -4x-50G-> MQM9700 sw-ib-ndr-05 P62
MQM9700 sw-ib-ndr-05
   P61 -4x-50G-> MQM8700 sw-ib-hdr-01 P39
   P62 -4x-50G-> MQM8700 sw-ib-hdr-01 P40

Upload

Load the file in System Admin > Setup & Validate > Step 1 — Load Topology, choosing the Topo File option. Problems appear in the Load Topology output window:

Output

Meaning

Error at line <n>: Invalid link format -- <line> or Error at line <n>: Could not parse destination -- <line>

That line is skipped; the rest of the file loads

Error at line <n>: <reason> -- <line> with any other reason, Error: File read error ..., or Error: Unexpected error ... while parsing: <file>

Nothing is loaded

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

The link is skipped

Then check the final Loaded <n> switches, <n> hosts/hca, <n> links. line against your fabric (see Upload and validation).

Last updated: