Networking NVIDIA UFM Cable Validation Tool

Deprecated REST API Migration Guide

The legacy /commands/* API (a generic command-execution router) and the old device exclude/unexclude endpoints were replaced by dedicated endpoints. If you integrate against the legacy API, migrate as follows.

Base Paths

All replacement endpoints are under https://<collector>/cablevalidation except service control, which is under /cv_controller (see CVT service control APIs).

CommandProc (/commands/*) Mapping

Generic routes (removed, no replacement): GET /commands, GET /commands/status, GET /commands/{cmd}/help — endpoint discovery and help are this guide; per-operation results are polled via each area’s result endpoint: POST /commands/{cmd} executes via the mappings below; GET /commands/{cmd}/output is replaced by GET /topology/action/result, GET /agents/manage/result, GET /validation/result as applicable.

Topology loading (all asynchronous, 202; poll GET /topology/action/result):

Deprecated command

Replacement

load_topo

POST /topology/load/topo — {"files": [...], "dns": true}

load_ip

POST /topology/load/ip — {"files": [...]}

load_ptp

POST /topology/load/ptp — {"file", "format", "sheets", "dns", "dc_layout", "hca_mapping"}

load

none — use POST /topology/load/json for JSON topologies

Credentials (synchronous):

Deprecated command

Replacement

set_default_creds

POST /creds/defaults/{node_type} (switch/host)

set_node_creds / remove_node_creds

POST/DELETE /creds/nodes/{node_id}

set_credential_profile / remove_credential_profile

POST/DELETE /creds/profiles/{profile_name}

(listing)

GET /creds, GET /creds?credential_profile=true, upload via POST /creds/upload

Users: load_web_users → POST /users/upload (multipart JSON file; optional delete_existing_users).

Agent deployment (asynchronous, 202; poll GET /agents/manage/result):

Deprecated command

Replacement

deploy_all_agents

POST /agents/deploy — {"all": true}

deploy_single_agent / deploy_agents

POST /agents/deploy — {"switches": [...]}

remove_all_agents

POST /agents/remove — {"all": true}

remove_single_agent / remove_agents

POST /agents/remove — {"switches": [...]}

Validation: start_validation → POST /validation ({"timeout": "..."} optional); stop_validation → DELETE /validation; poll GET /validation/result.

Connectivity/status: check_switch_status → POST /agents/connectivity/check (202; poll GET /agents/connectivity/check/result); show_switches → GET /resources/nodes.

Service shutdown (exit): POST /cv_controller/stop — note this is under /cv_controller, not /cablevalidation.

Commands with no replacement: load (see above), add_certificate (certificate management is done from the web interface — see Configure TLS certificates; the CLI command remains supported as a fallback when the CVT service is stopped), show_switch_history (not exposed), amber_show_latest (use GET /cablevalidation/report/amber for the full report).

Exclude/Unexclude → Device Status API

The binary exclude mechanism was replaced by lifecycle statuses with controlled transitions and history (Device Status):

Deprecated endpoint

Replacement

GET /devices/excluded

GET /resources/nodes — filter nodes with UNMANAGED status

POST /devices/exclude

PUT /devices/status — {"devices": [...], "status": "UNMANAGED", "reason": "..."}

DELETE /devices/unexclude

PUT /devices/status — target status such as VALIDATION_READY

New status endpoints: PUT /devices/status/{device_name} (single), PUT /devices/status (bulk), GET /devices/status/{device_name}/transitions (allowed next statuses), GET /devices/status/{device_name}/history (with limit/offset).

Migration Checklist

  1. Replace /commands/* calls with the dedicated endpoints above.

  2. Move result polling to the per-area .../result endpoints (202 + poll).

  3. Replace exclude/unexclude with Device Status (Unmanaged) transitions.

  4. Confirm your client authenticates against the session API and uses the /cablevalidation base path (plus /cv_controller for service stop).

Last updated: