Search
Varnish Controller

vcli geolocationroutes add

Add new geolocation route

Synopsis

Add a new geolocation route to the system.

vcli geolocationroutes add [Name] [flags]

Options

      --geolocation string              geolocation (<geolocation_type>:<geolocation_name>[:<tag_id>])
      --geolocation-csv string          geolocation via CSV
      --geolocation-to-tag string       geolocation (<geolocation_type>:<geolocation_name>[:<tag_id>]) (DEPRECATED - use 'geolocation')
      --geolocation-to-tag-csv string   geolocation via CSV (DEPRECATED - use 'geolocation-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