Search
Varnish Controller

vcli router

Handle routers

Synopsis

Handle router related tasks.

Examples:

vcli router inspect 1
vcli router list
vcli router list -f name="router1"
vcli router tags 1,2 -t 1,2
vcli router tags -t 1,2 -f name="server*"
vcli router tags 1,2 --clear
vcli router certificate 1,2 --cert 1
vcli router certificate 1,2 --clear
vcli router delete 1
vcli router stats -v
vcli router metrics 1
vcli router transfer 1 -o 1      // Transfer to private (generated private token)
vcli router transfer 1 -o 1 -p 2 // Transfer to private with private-token
vcli router transfer 1 -o 0      // Transfer to system

Options

  -h, --help   help for router

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