Skip to content

Cani alpha remove ip

cani alpha remove ip

Remove an IP address from the inventory.

Synopsis

Remove an IP address by UUID or address, with or without its mask. An address is searched in --namespace (default Global) unless written as "namespace/address". Device primary IPs, NAT inside references and interface assignments that point at it are cleared.

Examples: cani alpha remove ip 10.0.0.5 cani alpha remove ip tenant-a/10.0.0.5/24

cani alpha remove ip [flags]

Options

      --namespace string       IPAM namespace to search when the address is unqualified (default "Global")

Options inherited from parent commands

  -f, --force                  Remove items without confirmation.
      --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