Networking NVIDIA UFM Cable Validation Tool

Using the UFM Topology

In UFM plugin deployments, CVT can use the topology UFM already discovered, in two ways:

  • Load directly — validate against the UFM-discovered topology without authoring a PTP file.

  • Generate a stub PTP — produce a Unified PTP workbook from the UFM topology, then enrich it offline (racks, layout, IPs, server profiles, credential profiles) and re-upload it. This is the path to full-featured validation (Rack View, location filtering, per-node management).

The source is UFM’s periodic topology file (/opt/ufm/files/periodicTopo/master.topo); the plugin container has read-only access to it.

Prerequisites

  • CVT running as a UFM plugin (this feature is hidden/disabled otherwise).

  • UFM periodic topology enabled, so the periodic topo file exists.

  • InfiniBand fabric: NDR/HDR (MLNX-OS) and XDR (NVOS) switches. Every link is created with the ib protocol; Ethernet and NVLink fabrics cannot be loaded from UFM.

Workflow in the Web Interface

  1. Open System Admin > Setup & Validate > Step 1 — Load Topology. In UFM plugin mode a UFM tab is available (it is hidden in standalone deployments).

  2. Choose an action:

    • Load UFM Topology — loads the UFM topology directly for validation.

    • Generate PTP from UFM — creates a stub Unified PTP workbook.

  3. Optionally provide enrichment inputs:

    • IP file — hostname→IP mapping, used to fill the Nodes IP column (needed when dns is off or names do not resolve).

    • HCA mapping — overrides the default mlx5_X port derivation for hosts with non-standard naming.

    • Server profile — replaces the auto-generated Server Profile sheet entirely (mutually exclusive with HCA mapping).

    • DNS toggle — use hostnames for agent communication (default: on).

  4. If you generated a stub PTP: download it, enrich it offline, and re-upload it (Load Topology, Unified format).

11-load-ufm-topology.png

Figure: Step 1 — UFM tab

Known limitations: hosts without a hostname in the topology are missing from the generated PTP; cables to unmanaged switches are lost from validation with a directly loaded UFM topology (Known Issues).

Automate This Workflow

Same operations via REST API (asynchronous — poll GET /topology/load/result for completion):

  • POST /topology/load/ufm — optional body fields ip_file, hca_mapping, server_profile, dns; responses 202 (or 400 on invalid input, e.g. both hca_mapping and server_profile).

  • POST /topology/generate/ptp — optional body fields output, ip_file, hca_mapping, server_profile, and auto_load (default false); on completion the response includes the generated file name and switch/host/link counts.

  • Download the result with GET /files_manager/ptp/files/<name>.

Details: REST API.

Reference: What the Generated PTP Contains

The generated workbook follows the Unified PTP format with four sheets — Nodes (name, type, OS, model for switches, ServerProfile=ufm_default for hosts, Managed=yes; IP only if an IP file was provided; rack/layout columns left as stubs to fill), Links (ib protocol, A/Z node and port), DC Floor Layout (headers only — fill in), and Server Profile (a default mlx5_X mapping derived from the HCA indices observed across host links, replaced entirely if a server-profile CSV is provided).

Transformation rules: switch lines become nodes with the model token; HCA_* host entries become host nodes; host ports keep the mlx5_X name; SYS devices (unmanaged) are excluded; ports absent from the UFM topo file are silently accepted.

Last updated: