[root@embargo ww13]# tcf --help
usage: tcf [-h] [-v] [--log-pid-tid] [--log-time]
[--config-file CONFIG-FILE.py] [-p CONFIG_PATH]
[--state-path STATE_PATH] [-u URL] [-d] [-x] [-i]
[--make-jobserver MAKE_JOBSERVER] [--no-make-jobserver] [-V]
[-t TICKET] [-a ALLOCATIONID] [-C DIR]
{config,login,cookies,ls,list,get,patch,enable,disable,property-set,property-get,release,run,pos-capability-ls,alloc-targets,acquire,alloc-monitor,alloc-ls,alloc-list,alloc-rm,alloc-del,alloc-delete,guest-add,guest-ls,guest-rm,guest-remove,button-press,button-release,button-click,button-double-click,button-ls,capture-start,capture-get,capture-stop-and-get,capture-stop,capture-ls,console-read,console-ls,console-write,console-setup,console-disable,console-enable,console-wall,debug-gdb,debug-ls,debug-start,debug-stop,debug-halt,debug-reset,debug-reset-halt,debug-resume,images-ls,images-list,images-flash,ioc_flash_server_app,fastboot,fastboot-ls,power-on,power-off,power-cycle,power-sequence,power-ls,power-get,store-upload,store-dnload,store-rm,store-del,store-delete,store-ls,thing-plug,thing-unplug,thing-get,thing-ls,tunnel-add,tunnel-rm,tunnel-remove,tunnel-delete,tunnel-ls,user-ls,logout,role-gain,role-drop,servers,server-ls,healthcheck}
...
positional arguments:
{config,login,cookies,ls,list,get,patch,enable,disable,property-set,property-get,release,run,pos-capability-ls,alloc-targets,acquire,alloc-monitor,alloc-ls,alloc-list,alloc-rm,alloc-del,alloc-delete,guest-add,guest-ls,guest-rm,guest-remove,button-press,button-release,button-click,button-double-click,button-ls,capture-start,capture-get,capture-stop-and-get,capture-stop,capture-ls,console-read,console-ls,console-write,console-setup,console-disable,console-enable,console-wall,debug-gdb,debug-ls,debug-start,debug-stop,debug-halt,debug-reset,debug-reset-halt,debug-resume,images-ls,images-list,images-flash,ioc_flash_server_app,fastboot,fastboot-ls,power-on,power-off,power-cycle,power-sequence,power-ls,power-get,store-upload,store-dnload,store-rm,store-del,store-delete,store-ls,thing-plug,thing-unplug,thing-get,thing-ls,tunnel-add,tunnel-rm,tunnel-remove,tunnel-delete,tunnel-ls,user-ls,logout,role-gain,role-drop,servers,server-ls,healthcheck}
commands
config Print information about configuration
login Login to the different servers
cookies Show logging cookies (to feed into curl, etc) maybe
only for one server
ls List the targets; by default, in a terminal, it will
print a multi-column display with '!' next to powered-
on targets, and @ next to owned targets; -v adds more
detail)
get Return target information straight from the server
formated as JSON (unlike 'list', which will add some
client fields)
patch Store target information in the server
enable Enable a disabled target
disable Disable an enabled target
property-set Set a target's property
property-get Get a target's property
release Release ownership of a target
run Run testcases
pos-capability-ls List available POS capabilities or those each target
exports
alloc-targets Allocate targets for exclusive use
alloc-monitor Monitor the allocations current in the system
alloc-ls List information about current allocations in all the
servers or the servers where the named targets are
alloc-rm Delete an existing allocation (which might be in any
state; any targets allocated to said allocation will
be released
guest-add Add a guest to an allocation
guest-ls list guests in an allocation
guest-rm Remove a guest from an allocation
button-press press a button
button-release release a button
button-click click a button
button-double-click
double-click a button
button-ls List available buttons
capture-start start capturing
capture-get stop capturing and get the result to a file
capture-stop-and-get
stop capturing and get the result to a file
capture-stop stop capturing, discarding the capture
capture-ls List available capturers
console-read Read from a target's console (pipe to `cat -A` to
remove control chars
console-ls List consoles
console-write Write to a target's console
console-setup Setup a console
console-disable Disable a console
console-enable Enable a console
console-wall Display multiple serial consoles in a tiled terminal
window using GNU screen (type 'Ctrl-a : quit' to stop
it)
debug-gdb Report GDB bridge information on target's components
debug-ls Report debug information on target
debug-start Start debugging support on target
debug-stop Stop debugging support on target
debug-halt Halt target's CPUs
debug-reset Reset target's CPUs
debug-reset-halt Reset and halt target's CPUs
debug-resume Resume the target's CPUs
images-ls List supported image types
images-flash (maybe upload) and flash images in the target
ioc_flash_server_app
Run ioc_flash_server_app command
fastboot Run a fastboot command
fastboot-ls List allowed fastboot commands
power-on Power on target's power rail (or individual
components)
power-off Power off target's power rail (or individual
components)
power-cycle Power cycle target's power rail (or individual
components)
power-sequence Execute a power sequence
power-ls List power rail components and their state
power-get Print target's power state.A target is considered *on*
when all of its power railcomponents are on; fake
power components report power state as*n/a* and those
are not taken into account.
store-upload Upload a local file to the server
store-dnload Download a file from the server
store-rm Delete a file from the server
store-ls List files stored in the server
thing-plug Plug a thing to the target
thing-unplug Unplug a thing from the target
thing-get Return current thing's state
thing-ls List plugged and unplugged things
tunnel-add create an IP tunnel
tunnel-rm remove an existing IP tunnel
tunnel-ls List existing IP tunnels
user-ls List users known to the server (note you need admin
role privilege to list users others than your own)
logout Log user out of the servers brokers
role-gain Gain access to a role which has been dropped
role-drop Drop access to a role
servers List configured servers
healthcheck Do a very basic health check
optional arguments:
-h, --help show this help message and exit
-v, --verbose Increase verbosity
--log-pid-tid Print PID and TID in the logs
--log-time Print Date and time in the logs
--config-file CONFIG-FILE.py, -c CONFIG-FILE.py
Files to parse as configuration (this is used for
testing, along with --config-path ""
-p CONFIG_PATH, --config-path CONFIG_PATH
List of ':' separated paths from where to load
conf_.*.py configuration files in alphabetic order
(['.tcf', '/root/.tcf', '/root/.local/etc/tcf'])
--state-path STATE_PATH
Directory where to save state (/root/.tcf)
-u URL, --url URL URL to the test broker (multiple may be specified)
-d, --debug Enable internal debug prints and checks
-x, --traces Print exception traces
-i, --ignore-ssl Ignore server SSL certificate
--make-jobserver MAKE_JOBSERVER
[internal] used to re-execute under a make jobserver.
--no-make-jobserver [internal] do not re-run under a make jobserver.
-V, --version show program's version number and exit
-t TICKET, --ticket TICKET
DEPRECATED & IGNORED
-a ALLOCATIONID, --allocid ALLOCATIONID
Use this allocid to access targets
-C DIR Change to DIR before starting
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)