Jarrod Johnson
c5cf829117
Avoid stacktrace on pipe on non-ascii
...
Various commands may (accidentally or intentionally) encounter
non-ascii data. While python stdout without pipe is fine, when piping
it assumes ascii. Fix this to always assume utf-8 explicitly.
2017-08-16 09:57:57 -04:00
Jarrod Johnson
7c1bbe1618
Fix error in the usage text of nodeinventory
2017-08-08 15:45:53 -04:00
Jarrod Johnson
76e6f2dd17
Update online usage message for nodeinventory
2017-08-08 11:56:06 -04:00
Jarrod Johnson
b98eea81ad
Add filtering to nodeinventory
...
Allow filtering output by various parameters.
2017-08-08 11:49:50 -04:00
Jarrod Johnson
e0cc67f57a
Implement Lenovo Thinksystem and discovery support
2017-06-20 14:56:24 -04:00
Jarrod Johnson
8c13e738c0
Make usage/help more consistent across the commands
...
Have every client command run argparse to get a chance at '-h'. When
lacking arguments, always use print_help() to provide detail rather than usage.
2017-01-06 13:28:28 -05:00
Jarrod Johnson
05a6664165
Add a noderun command
...
This command enables running various commands against the nodes.
While I was at it, fix permissions on some files in git.
2016-10-06 16:30:29 -04:00
Jarrod Johnson
9a93baed0e
Fix handling of unicode data in inventory
...
It is possible for unicode data to appear in some data values. Use a unicode
string to hold the value, in case of unicode data coming from server.
2016-05-23 15:36:30 -04:00
Jarrod Johnson
b328c53d91
Fix error handling for nodeinventory command
...
Cleanly handle error messages from server
2016-05-12 10:25:35 -04:00
Jarrod Johnson
129f034c07
Provide some more friendly string values
...
Some keys from the API are a little weird, provide a mapping for them.
2016-05-12 09:19:30 -04:00
Jarrod Johnson
b5fbfe730d
Add nodeinventory command
...
Provide a native confluent client alternative to 'rinv'.
Also add missing flags to nodesetboot.
2016-05-11 17:03:05 -04:00