Search
Varnish Controller

vcli cidrroutes add

Add new CIDR route

Synopsis

Add a new CIDR route to the system.

vcli cidrroutes add [Name] [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')
  -h, --help                     help for add
      --reject                   Use with Reject routing rule and reject matches.
      --subdecision string       Which subdecision should be used(healthy, leastutilized, random, weight(~)). Default: healthy.

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