ApplyRoutingRules

vtctldclient ApplyRoutingRules

Applies the VSchema routing rules.

  1. vtctldclient ApplyRoutingRules {--rules RULES | --rules-file RULES_FILE} [--cells=c1,c2,...] [--skip-rebuild] [--dry-run]

Options

  1. -c, --cells strings Limit the VSchema graph rebuildingg to the specified cells. Ignored if --skip-rebuild is specified.
  2. -d, --dry-run Load the specified routing rules as a validation step, but do not actually apply the rules to the topo.
  3. -h, --help help for ApplyRoutingRules
  4. -r, --rules string Routing rules, specified as a string.
  5. -f, --rules-file string Path to a file containing routing rules specified as JSON.
  6. --skip-rebuild Skip rebuilding the SrvVSchema objects.

Options inherited from parent commands

  1. --action_timeout duration timeout for the total command (default 1h0m0s)
  2. --server string server to use for connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.