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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
none — use |
Credentials (synchronous):
|
Deprecated command |
Replacement |
|---|---|
|
|
|
|
|
|
|
|
|
|
(listing) |
|
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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|---|---|
|
|
|
|
|
|
|
|
|
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
-
Replace
/commands/*calls with the dedicated endpoints above. -
Move result polling to the per-area
.../resultendpoints (202 + poll). -
Replace exclude/unexclude with Device Status (
Unmanaged) transitions. -
Confirm your client authenticates against the session API and uses the
/cablevalidationbase path (plus/cv_controllerfor service stop).
Last updated: