Networking NVIDIA UFM Cable Validation Tool

Endpoint Reference (Condensed)

Role: read = any authenticated user; admin = admin role required. Paths are relative to /cablevalidation unless noted.

Reports

Method & path

Role

Purpose

Parameters

GET /report/validation

read

Latest validation report (see exemplar)

—

GET /validation/status

read

Validation state and timing; started_at, started_by, duration_seconds, last_cycle_seconds_ago are null before the first run

—

GET /topology/metadata

read

Loaded topology: file name/path/hash/id, load time, switch/host/link counts

—

GET /report/summary

read

Issue summary per syndrome, incl. counts from stale reports

—

GET /report/circuits

read

Circuit list with endpoint details, remediation, port status

node, port, page (circuit/flap/flap_hist), healthy, circuit_id, report (all opt)

GET /report/circuits/stats

read

Circuit health counters (healthy/unhealthy/not active/unreachable/stale/one-side/both-sides/no-agent)

—

GET /report/health

read

Device health summary per component (power, fans, ports)

context (dc/dh/su/rack/node), items (comma-separated scope; omit for dc)

Resources

Method & path

Role

Purpose

Notes

GET /resources/data_halls

read

Data hall list

empty when no DC floor layout

GET /resources/scalable_units

read

Scalable units

optional data_hall filter

GET /resources/racks

read

Rack names


GET /resources/racks/<name>

read

Rack detail: units, node info, health, ports with issues, and rear-view cable-cartridge data when available

404 unknown rack

GET /resources/nodes

read

All nodes with health summary, system info, management state


GET /resources/resource_utilization

read

Collector storage/memory/CPU usage

—

Filters (Per-user Saved Filters)

Filters are personal to the signed-in user. <page> is the identifier of the table the filter applies to — the same identifier used by the Layouts APIs (e.g. the circuits or flapping circuits view’s page name).

  • GET /report/filters/<page> — filter names on a page (read).

  • GET /report/filters/<page>/<name> — one filter (read).

  • POST /report/filters/<page> — create a filter; body {"filter_name": "...", "columns": {"<column>": {"type": "Contains", "filter": "..."}}}; 201 (400 on invalid).

  • DELETE /report/filters/<page>/<name> — 204 / 404.

Users (Standalone Only, Admin)

  • GET /users, GET /users/<name> — list/read users (name, account_type).

  • POST /users — create; body {"name", "account_type", "password"}. 201; 400 when a field is missing. A reserved name, an existing name, or a password that breaks the rules (see User Management) returns 500, with the reason as plain text in the response body.

  • PATCH /users/<name> — change account type and/or password; 204; 400 when neither is given. Any signed-in user can change their own password; otherwise only an admin can change an account type or another user’s password (403). Demoting the last admin account or a rule violation returns 500, with the reason in the response body.

  • DELETE /users/<name> — 204. Deleting the last admin account returns 500, with the reason in the response body. Unlike the web UI, the API lets an admin delete their own account while another admin remains.

  • GET /users/account_types — ["admin", "cabler", "nvidia", "developer"].

Files Management (Admin)

Administrative file transfer into CVT’s upload folders. Allowed <folder> values (with permitted file types):

ptp (.xlsx), topo (.topo), dot (.dot), dc_layout (.csv), hca_mapping (.csv), ip (.ip/.txt), templates (.xlsx), server_profile (.csv), recipes (.yaml/.yml), recipe_mapping (.yaml/.yml), creds_templates (.ini/.json), users_templates (.json).

  • GET /files_manager/<folder>/files — list files; full_path=true for absolute paths.

  • GET /files_manager/<folder>/files/<file_name> — download a file.

  • POST /files_manager/<folder>/files — upload (multipart/form-data, field file); 201.

  • DELETE /files_manager/<folder>/files/<file_name> — 204.

Anything outside this folder list is rejected (400/404). Do not upload credential material here — use the Credential APIs.

Exclude Devices — Removed

The exclude-device endpoints (/devices/excluded, /devices/exclude, /devices/unexclude) were removed in v1.9.0 — they no longer exist. Device exclusion is now handled through Device Status (UNMANAGED): see the device-status endpoints in this chapter and the Deprecated REST API Migration Guide.

Version

GET /version (read) — collector and expected agent versions: {"bringup_version": "2.1.1-1", "agent_version": "2.1.1-1"}.

Agent Status (Read)

  • GET /nodes/agents/summary — counters: total devices, correct version, no ping/JSON API/agent, wrong version, no/late/stale reports, expected agent version.

  • GET /nodes/agents/details — per-node rows (hostname, IP, ping, JSON API, agent version/comment, type, last update, location). Required: context (dc/dh/su/rack/node) and, except for dc, items.

Tests (Admin; Asynchronous)

BER tests (named Advanced Cable Validation BER in the 2.1.1 web interface; the API keeps the legacy golden_ber path):

  • GET /tests/golden_ber — list tests (scope, status, duration, user, result, failed-circuit count, best/worst BER).

  • GET /tests/golden_ber/<name>/circuits — per-circuit endpoint details (power/temperature/BER stats, flapping counters).

  • POST /tests/golden_ber — create; body {"name", "duration", "context", "items"}; 201, 409 on a name conflict or occupied nodes.

  • DELETE /tests/golden_ber/<name> — stop; 204.

  • Amber file downloads: GET /cv_tests/golden_ber/<name>/amber_<node>.csv.gz (per node) and GET /cv_tests/golden_ber/<name>/<name>_failed_circuits_amber.tar.gz (failed circuits). Files expire 6 hours after completion — see Tests.

Amber collection:

  • GET /tests/amber / GET /tests/amber/<name> — list and per-node details (status per node).

  • POST /tests/amber — create; body {"name", "context", "items"}; 201/409.

  • GET /cv_tests/amber/<name>/<name>.tar.gz — download the archive.

Advanced flapping:

  • GET /tests/flapping / GET /tests/flapping/<name>/circuits — list and per-circuit details (BER + flapping counters, status).

  • POST /tests/flapping — create; {"name", "duration", "context", "items"}; 201/409.

  • DELETE /tests/flapping/<name> — stop; 204.

CVT Service Control APIs

Base path /cv_controller (not /cablevalidation): control of the CVT service (cvt-service), not the validation lifecycle. Admin-only. See Control the CVT service for when to use them; validation start/stop uses POST/DELETE /cablevalidation/validation (see Run Validation).

  • POST /cv_controller/start — start the CVT service; 200.

  • POST /cv_controller/stop — stop the CVT service; 200.

There is no status endpoint.

Scheduled Report APIs

The schedule and runs behind System Admin > Collector Management > Schedule Reports. Changing the schedule and starting a run are admin-only; reading is open to any signed-in user. Errors return {"error": "<code>", "message": "<reason>"}.

  • GET /report/scheduled/config — the stored schedule, plus the registered_artifacts and cadences this build offers.

  • PUT /report/scheduled/config (admin) — replace the schedule; returns the stored schedule. 400 on invalid JSON or an invalid setting.

  • GET /report/scheduled/runs — runs, newest first. Optional limit (1–500, default 50) and offset; the response carries total and in_flight.

  • POST /report/scheduled/runs (admin) — run now; 202 with the outcome (complete, or skipped with the reason). 409 when another run is in progress.

  • GET /report/scheduled/runs/<run_id> — one run with its comparison against the run before it; a skipped run returns its reason only.

  • GET /report/scheduled/runs/<run_id>/artifacts — the files you can download, with sizes.

  • GET /report/scheduled/runs/<run_id>/artifacts/<name> — download one file, for example summary.html.

  • GET /report/scheduled/runs/<run_id>/archive — every file of the run as one zip.

Credential APIs (Admin)

Manage device credentials (model and precedence: Run Validation > Step 2). Passwords are write-only — responses mask them ("****"); CVT stores credentials encrypted.

  • GET /creds — all credentials (masked).

  • POST /creds/upload — upload a credential file (JSON or INI; multipart/form-data, fields file, optional replace=true|false default false). Response reports total/success/failed counts and an errors array; 400 on unreadable/unsupported content.

  • POST /creds/nodes/<node_id> / DELETE /creds/nodes/<node_id> — per-node credentials (hostname or IP; body {"user", "pwd", "save"}).

  • POST /creds/defaults/<node_type> / DELETE .../defaults/<node_type> — defaults for switch or host.

  • POST /creds/profiles/<name> / DELETE .../profiles/<name> — credential profiles; delete 404s for unknown profiles.

Deleting credentials does not remove deployed agents; it changes what future operations authenticate with. Avoid putting credential files under the generic files manager.

Amber Simulation (Test/Debug)

Support the “Amber simulation” workflow in the Circuits view (Circuits view > Amber simulation), for nodes without a live agent or for offline analysis. Any signed-in user can call these endpoints; the restriction on cabler accounts applies only to the web UI.

  • GET /simulation/amber — current simulations; optional node_name.

  • POST /simulation/amber/load — upload an Amber file: multipart fields node_name (required), device (for multi-device nodes), file; 201 / 400 / 409.

  • DELETE /simulation/amber/stop — body node_name (+ optional device); 204 / 400 / 404.

Loaded data shows as simulated (blue) rows until stopped.

Commands API — Removed

The Commands APIs were removed in v1.9.0; use the endpoint-specific replacements in the Deprecated REST API Migration Guide. A few Commands routes and commands have no direct replacement (for example GET /commands and GET /commands/status); the guide says what to use instead, where an alternative exists.

The 2.0.1 “Help API” (GET /cablevalidation/help) lists endpoints including internal ones (for example the agent image download). It is intentionally not part of the public API reference: endpoint discovery is this chapter; internal-only endpoints are not published.

Syndrome Suppression APIs

Manage suppression rules (Syndrome Suppression). Admin role for every endpoint. A rule applies to reports classified after the save returns; by default the save also re-applies it to issues CVT already holds.

  • GET /suppression-rules — every rule, enabled and disabled. Each rule carries rule_id, revision, name, context, items, conditions, enabled, created_by/updated_by, created_at/updated_at, and unresolved_items (true when none of its items exists in the loaded topology).

  • POST /suppression-rules — create a rule; 201 with an ETag header holding the revision.

  • PUT /suppression-rules/<rule_id> — replace a rule with a complete body (also how you enable or disable it). Requires If-Match: "<revision>"; 428 without it, 409 revision_conflict when the rule changed since that revision, 404 for an unknown rule.

  • DELETE /suppression-rules/<rule_id> — remove a rule; same If-Match rule.

  • POST /suppression-rules/preview — count what a candidate rule body would match, without saving it; 202 {"status": "in_progress", "run_id": "..."} (409 preview_running if a preview is already running). Poll GET /suppression-rules/preview/result?run_id=<run_id> for matching_issue_count and affected_circuit_count.

  • GET /suppression-rules/retag/result — status of the pass that re-applies rules to issues already held (see Waiting for a change to apply below).

Waiting for a change to apply. A successful create, update, or delete is already in effect for new reports. Issues CVT already holds are updated by a background re-tag pass. The mutation response tells you whether to wait for it:

  • "retag": null — no pass was needed (no evidence is held yet, or the request set "retag": false). Do not poll.

  • "retag": {"status": "in_progress", "epoch": <n>} — poll GET /suppression-rules/retag/result until completed_epoch >= n. Use >=, not ==: passes are merged, so a later pass may cover your change without your own epoch ever being reported. A result whose completed_epoch is lower than n describes an earlier change, even if its status is completed.

  • If the result’s status is failed (the reason is in error) and completed_epoch is still below n, the pass did not apply your change. The rule itself is saved and classifies new reports; issues already held keep their previous classification until each device reports again. Stop polling rather than waiting for completed_epoch to advance.

A 404 from the result endpoint means no re-tag result is available: no pass has run since the collector started, or the last result is no longer held.

Rule body:

JSON
{
  "name": "Build-out racks - missing cable",
  "context": "rack",
  "items": ["DH1/SU1/rack-01", {"match": "regex", "value": "rack-0[2-4]"}],
  "conditions": [
    {"syndrome": "missing_cable"},
    {"syndrome": "anomalous_port",
     "reason": {"match": "category", "value": "module_temp_high"}},
    {"syndrome": "admin_down",
     "peer": [{"syndrome": "negotiation_failure", "symmetric": true}]}
  ],
  "enabled": true
}

Field

Meaning

context

dc, dh, su, rack, node, or port. dc takes no items

items

A string matches exactly (case-insensitive); {"match": "regex", "value": ...} matches the whole value. Formats per context are in Syndrome Suppression

conditions[].syndrome

Syndrome ID: missing_cable, link_down, admin_down, proto_down, rx_disable, negotiation_failure, wrong_neighbor, wrong_port, unknown_neighbor, extra_cable, flapping_link, anomalous_port, unprovisioned, module_pn_mismatch, rx_tx_power_mismatch, cable_cartridge_issue, cluster_app_issue, or * (all suppressible syndromes, alone). An issue matches when any condition matches

conditions[].reason

Optional, for anomalous_port, module_pn_mismatch, cable_cartridge_issue, cluster_app_issue: {"match": "category" \| "contains" \| "exact" \| "regex", "value": ...}. category takes a sub-issue ID such as module_temp_high or cc_bad

conditions[].peer

Optional list of {"syndrome", "reason", "symmetric"} required on the far end of the cable; symmetric: true also suppresses the peer’s own issue

enabled, retag, confirm_broad_scope

JSON booleans only. retag (default true) re-applies the rule to issues already held. confirm_broad_scope must be true to save * with a dc or dh context

Validation failures return 422 with {"error": "<code>", "message": "..."}. Codes: invalid_context, invalid_context_item, invalid_condition, unknown_syndrome, non_suppressible_syndrome, invalid_reason_selector, invalid_peer_condition, unsafe_regex, invalid_enabled, broad_scope_not_confirmed, rule_limit_exceeded.

Suppression in report endpoints: GET /report/circuits?suppressed=true returns only circuits with suppressed issues, and each endpoint carries suppressed_evidence (syndrome, port, and the controlling rule). GET /report/summary adds number_of_suppressed_occurrences and nodes_affected_by_suppressed.

Web-service Certificate (Admin)

Matches the UI flow in Configure TLS certificates:

  • GET /web-service/certificate — current certificate details.

  • POST /web-service/certificate — replace the certificate (multipart/form-data: cert, key); the web service restarts and rolls back on failure.

Last updated: