Search
Varnish Controller

vcli agent tags

Set which tags one or more agents should have

Synopsis

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

vcli agent tags [agent-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


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203