t3c-request

command
v7.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 7 Imported by: 0

README

NAME

t3c-request - Traffic Control Cache Configuration data requestor

SYNOPSIS

t3c-request [-hIprv] [-D <config|update-status|packages|chkconfig|system-info|statuses>] [-d location] [-e location] [-H hostname] [-i location] [-l seconds] [-P password] [-t milliseconds] [-u url] [-U username]

[--help]

[--version]

DESCRIPTION

The t3c-request app is used get update status, package information, linux chkconfig status, system info and status from Traffic Ops, see the --get-data option. If no --get-data option is specified, the server's system-info is fetched and returned.

OPTIONS

======= -c, --old-config=value

Old config from a previous config request. Optional. May be
a file path, or 'stdin' to read from stdin. Used to make
conditional requests.

-D, --get-data=value

non-config-file Traffic Ops Data to get. Valid values are
update-status, packages, chkconfig, system-info, and
statuses [system-info]

-H, --cache-host-name=value

Host name of the cache to generate config for. Must be the
server host name in Traffic Ops, not a URL, and not the FQDN

-h, --help

Print usage information and exit

-I, --traffic-ops-insecure

[true | false] ignore certificate errors from Traffic Ops

-l, --login-dispersion=value

[seconds] wait a random number of seconds between 0
and [seconds] before login to traffic ops, default 0

-p, --traffic-ops-disable-proxy

[true | false] whether to not use any configure Traffic Ops
proxy parameter. Only used if get-data is config

-P, --traffic-ops-password=value

Traffic Ops password. Required. May also be set with the
environment variable TO_PASS

-r, --reval-only

[true | false] whether to only fetch data needed to
revalidate, versus all config data. Only used if get-data is
config

-s, --silent

Silent. Errors are not logged, and the 'verbose' flag is
ignored. If a fatal error occurs, the return code will be
non-zero but no text will be output to stderr

-t, --traffic-ops-timeout-milliseconds=value

Timeout in milli-seconds for Traffic Ops requests, default
is 30000 [30000]

-u, --traffic-ops-url=value

Traffic Ops URL. Must be the full URL, including the scheme.
Required. May also be set with     the environment variable
TO_URL

-U, --traffic-ops-user=value

Traffic Ops username. Required. May also be set with the
environment variable TO_USER

-v, --verbose

Log verbosity. Logging is output to stderr. By default,
errors are logged. To log warnings, pass '-v'. To log info,
pass '-vv'. To omit error logging, see '-s'.

-V, --version

Print the app version and exit

AUTHORS

The t3c application is maintained by Apache Traffic Control project. For help, bug reports, contributing, or anything else, see:

https://trafficcontrol.apache.org/

https://github.com/apache/trafficcontrol

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL