Networking NVIDIA UFM Cable Validation Tool

Step 2 — Configure Device Access

CVT needs credentials to deploy agents and to query devices. Configure them in Setup & Validate > Step 2 — Credentials before the pre-check — without credentials, pre-check and deployment fail.

How CVT Authenticates

Device type

Protocol

Authentication

Password required?

Hosts (Linux) and SONiC switches

SSH + SFTP

Password or SSH key

No — may use SSH keys instead

Switches — Cumulus, NVOS

SSH + SFTP

Password

Yes — the agent uses it afterwards to query port information

Switches — MLNX-OS

JSON API (not SSH)

Password

Yes

SSH keys are for hosts and SONiC switches: set CV_SSH_KEY_FILE (path inside the container) or leave key discovery on (SSH_LOOK_FOR_KEYS, default true — SSH agent, then ~/.ssh/id_rsa and other default key files). If you use Docker volumes, mount the key into the container. See CVT configuration reference > SSH settings.

For hosts and SONiC switches that have both a key and a password, CVT uses: SSH key → password → automatic key discovery.

Credential Levels and Precedence

CVT resolves credentials for each device in this order:

  1. Node-specific credentials — a per-device username/password.

  2. Credential profile — a named credential set assigned to a group of devices (referenced from the unified PTP Nodes sheet).

  3. Default credentials — one default for switches and one for hosts; the host (and SONiC) default password can be empty when using SSH keys.

Set defaults first, then profiles for device groups, and node-specific entries only for exceptions. CVT encrypts stored credentials.

Manage Credentials

Review the Credentials Table

In the Credentials step the credentials table lists the default, profile, and node entries. Default rows apply to every node that has no credentials of its own.

Credentials table with the default-host and default rows, the leaf-switches credential profile and the switch-01 node entry, passwords masked

Figure: The Credentials table with default, profile and node entries

Add Credentials opens a dialog with two options:

Add a Single Credential

Add Single Credential — choose the Credential Type (Default, Credential Profile, or Node), then enter the node (IP or name) or profile name, Username, and Password. For a default, choose the Type (switch or host). Select Passwordless Login for hosts that use SSH keys. Leave Save selected to store the entry encrypted on the collector; if you clear it, the entry is kept in memory only and is lost when the CVT service restarts. Click Add to submit the entry.

Add Credentials dialog on Add Single Credential with Credential Type Node, node switch-02, Username, Passwordless Login, Password and Save

Figure: The Add Single Credential dialog

Upload Credentials from a File

Upload File — load many entries at once. Use Download Template (JSON or INI) to start from a template, select your file, and click Add. Select Delete Existing Credentials to remove all current entries before the file is applied. Without it, each file entry that matches an existing default, node, or profile overwrites that entry (including its password), and existing entries not in the file are kept — so remove from the file any entries you do not want to change. A summary reports how many entries loaded and lists an error for each entry that failed.

Add Credentials dialog on Upload File with Download Template, Browse and Delete Existing Credentials

Figure: The Upload File option for credentials

Open the Credential Row Menu

Right-click a row → Update Node to change it, or Remove to delete it (with confirmation).

Right-click menu on the switch-01 credential row with Copy Cell, Update Node and Remove

Figure: The right-click menu on a credential row

Update a Credential

Select Update Node from the row menu to open the Update Credentials dialog.

Update Credentials dialog for node switch-01 with Username, Passwordless Login, Password and Save

Figure: The Update Credentials dialog

Remove a Credential

Select Remove from the row menu, then confirm removal.

Confirmation asking Are you sure you want to remove node switch-01 with No and Yes

Figure: The remove confirmation

Credentials File Formats

Credentials file formats. The file type is taken from the extension:

Format

Extensions

Structure

JSON

.json

{"credentials": [{"name": ..., "user": ..., "pwd": ..., "type": ...}, ...]}

INI

.ini, .cfg, .conf

One [section] per entry, with keys user, pwd, type; lines starting with # are comments

In both formats, type is default, credential_profile, or node, and an entry’s name is the JSON name field or the INI section name. For default, the name default sets the switch default and default-host sets the host default. For node, the name is the node’s IP or hostname; for credential_profile, it is the profile name used in the PTP Nodes sheet. The same files can be loaded at startup with STARTUP_CREDENTIALS_FILE (CVT configuration reference > Startup behavior). Protect credential files as secrets and delete local copies after loading.

CLI equivalents: CVT CLI reference (set_default_creds, set_node_creds, set_credential_profile, and the corresponding remove/show commands); REST API: Credential APIs.

Last updated: