Search
Varnish Controller

vcli router tags

Set which tags one or more routers should have

Synopsis

Specify the tags one or more routers should have. Any tag that is not included but currently assigned to an router, will be removed. Comma separated list of routers and tags. Filter can also be used to assign tags to routers matching given filter.

vcli router tags [router-id,... | -f] [flags]

Options

      --clear                   Clear all tags for given entry
  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for tags
  -t, --tags string             Comma separated tag IDs
  -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