Cani alpha update vrf
cani alpha update vrf
Update a VRF in the inventory.
Synopsis
Update a VRF's fields or add devices to it.
The VRF is matched by UUID, by name within --namespace (default Global), or by a qualified "namespace/name".
Examples: cani alpha update vrf keepalive --add-device sw-spine-02 cani alpha update vrf LEGACY --description "Updated description" cani alpha update vrf keepalive --remove-device sw-leaf-01 cani alpha update vrf tenant-a/blue --rd 65000:10
cani alpha update vrf [flags]
Options
--namespace string IPAM namespace to search when the name is unqualified (default "Global")
--description string New description
--rd string Route distinguisher
--add-device stringArray Add a device to this VRF (name or UUID, repeatable)
--remove-device stringArray Remove a device from this VRF (name or UUID, repeatable)
Options inherited from parent commands
--set stringArray Set field value as key=value (repeatable)
--tag stringArray Tag(s) to apply to the item (repeatable)
--metadata stringToString Provider metadata key=value pairs (repeatable)
--config string config file (default "/home/runner/.cani/cani.yml")
--debug enable debug mode
--datastore string datastore type (json, postgres) (default "json")
--datastore-path string override path to the datastore file (for testing)
--types-dirs stringSlice local directories with additional hardware types
--types-repos stringSlice git repo URLs with additional hardware types
--types-repo-clone clone types repos that are not yet cached locally
--types-repo-pull pull latest changes from types repos on startup
--strict require a resolved device type (slug) for all devices (default true)
SEE ALSO
- cani alpha update - Update items in the inventory.