Search
Varnish Controller

vcli asnroutes add

Add new ASN route

Synopsis

Add a new ASN route to the system.

vcli asnroutes add [Name] [flags]

Options

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