Jarrod Johnson
1cc659a3b0
Amend json output
...
Have the nodeinventory json output in a bit more directly useful format,
rather than regarding the API structured JSON...
2018-05-16 11:27:46 -04:00
Jarrod Johnson
8bc8faf0bc
Add --json to nodeinventory
...
Have nodeinventory have an option to output in json.
2018-05-16 11:27:46 -04:00
Jarrod Johnson
ae39a84a30
Improved unrecognized memory format
2017-12-07 16:54:35 -05:00
Jarrod Johnson
0ae315a12f
Fix bad SPD handling
...
If the memory is not DDR3/DDR4, cease further attempt to format
data.
2017-12-07 16:51:55 -05:00
Jarrod Johnson
78dea26d06
Switch glob suppression to detection
...
The suppression was unable to be accomplished for bash without
somehow otherwise breaking the shell. zsh and csh could be better at
one-off glob disabling though.
2017-11-13 11:49:40 -05:00
Jarrod Johnson
ffaabd5ae3
Do not process incomplete DIMM info
...
A malformed SPD given by BMC is now presented as Unrecognized,
rather than trying to format data that does not exist.
2017-10-18 09:51:31 -04:00
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