Deploy the cables_bringup container on a host with access to the management network of your switches:
-
Load the image:
docker load -i <image_path>/cables_bringup_<version>.tar.gz -
Start the container:
docker run --name cables_bringup -itd --network=host mellanox/cables_bringup:<version> -
(Optional) Open a shell in the container:
docker exec -it cables_bringup /bin/bash
Then open the web interface at https://<collector-ip>/cables_validation and continue with Setup & Validate (load topology, set credentials, deploy agents, start validation).
Common Startup Options
Set environment variables on docker run (--env NAME=value) for these common cases:
|
Case |
Example |
|---|---|
|
Switches are reachable through a non-default host interface |
|
|
Devices are not in DNS |
For large fabrics, do not use |
|
Persist CVT data (recommended) |
|
|
Port 443 is already used on the host |
|
|
Device hostnames contain a dot (beyond the domain suffix) |
|
All settings are described in the CVT configuration reference; environment variables set on the container take precedence over cvt_env.conf. Every --env example above can instead be set as a variable in cvt_env.conf.
Upgrade and Uninstall — Standalone
An upgrade replaces the container and keeps your data, so it requires the data volume described in Common startup options. Without a mapped volume, removing the old container deletes the topology, history, and logs.
Upgrade:
-
Load the new image:
docker load -i <image_path>/cables_bringup_<new_version>.tar.gz -
Stop and remove the current container:
docker stop cables_bringup && docker rm cables_bringup -
Start the new version with the same volume mapping and
--envoptions you used before, naming the new version explicitly:docker run --name cables_bringup -itd --network=host -v <data_dir>:/cable_bringup_root <previous --env options> mellanox/cables_bringup:<new_version>
-
<data_dir>is the host directory you mapped before (for example/opt/bringup_data). A different directory starts CVT with an empty volume.
On first start, CVT upgrades the data on the volume and merges your cvt_env.conf into the new version’s file (see File versioning in the CVT configuration reference). Then check the deployment as described in Verify the deployment.
Uninstall:
-
Remove the agents from your devices first (Run Validation); removing the collector does not remove them.
-
Stop and remove the container:
docker stop cables_bringup && docker rm cables_bringup -
Remove the image:
docker rmi mellanox/cables_bringup:<version>
Your data stays in the host directory you mapped (for example /opt/bringup_data). Delete that directory only if you no longer need the topology, history, or logs.
Last updated: