Search

vcli routingrule

Handle routing-rules

Synopsis

Handle routing rules such as listing, add, delete or update.

Examples:

 routingrules list
 routingrules ls -f id=1
 routingrules ls -f name="MyRoutingRule*"
 routingrules add myrr --http --dns --lookup-order=random
 routingrules update 1 --name newname --dns=false
 routingrules update 1 --extroutes 1,2
 routingrules delete 1
 routingrules inspect 1
	

Options

  -h, --help   help for routingrule

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