Skip to main content

Route (gdnsl route)

Route command group.

gdnsl route [flags]

Options:

  -r, --regions             List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.
-h, --help Help for route.

Options inherited:

      --config string       gdnsl config file (default is ./gdnsl.yaml)
--log-http Log http traffic.

gdnsl route list

List available routes.

gdnsl route list NAME [flags]

Examples:

  # List all routes
gdnsl route list

# List route 'web' in namespace 'dev'
gdnsl route list web -n dev

# List all routes in yaml format
gdnsl route list -o yaml

Options:

  -r, --regions               List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.
-h, --help Help to list revisions.
--no-headers When using the default output format, don't print headers (default: print headers).
-o, --output string Output format. One of: json|yaml

Options inherited:

      --config string         gdnsl config file (default is ./gdnsl.yaml)
--log-http Log http traffic.

gdnsl route describe

Describe available route.

gdnsl route describe NAME [flags]

Options:

  -r, --regions              List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.
-h, --help help to describe a route.
-o, --output string Output format. One of: json|yaml

Options inherited:

      --config string        gdnsl config file (default is ./gdnsl.yaml)
--log-http Log http traffic.