Search
Varnish Controller

vcli tagroutes

Handle tag routing targets

Synopsis

Handle Tag routing targets, such as listing, add, delete or update.

Note: Only random, healthy and leastutilized subdecisions are supported for tag routes.

Examples:

vcli tagroutes list
vcli tagroutes ls -f id=1
vcli tagroutes ls -f name="MyTagRoute*"
vcli tagroutes add myTagRoute --subdecision=random
vcli tagroutes update 1 --name newname
vcli tagroutes delete 1
vcli tagroutes inspect 1

Options

  -h, --help   help for tagroutes

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