Search
Varnish Controller

vcli cidrroutes update

Update one or more CIDR routes

Synopsis

Update existing CIDR routes. Use flags to specify what should be updated.

vcli cidrroutes update [CIDRRoute-id,... | -f] [flags]

Options

      --cidr string              CIDR (<CIDR>[:<tag_id>])
      --cidr-csv string          CIDR to tag via CSV
      --cidr-to-tag string       CIDR (<CIDR>[:<tag_id>]) (DEPRECATED - use 'cidr')
      --cidr-to-tag-csv string   CIDR to tag via CSV (DEPRECATED - use 'cidr-csv')
  -f, --filter stringToString    Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                     help for update
  -n, --name string              Name
      --reject                   Use with Reject routing rule and reject matches.
      --subdecision string       Which subdecision should be used(healthy, leastutilized, random, weight(~)). Default: healthy.
  -y, --yes                      Perform operation without confirmation

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203