3da67db806
Fix early bailout of nodeconfig
...
Do not have nodeconfig bail out on first sign of trouble, attempt to continue.
2022-06-08 13:43:25 -04:00
47a8da5ed0
Update nodeconfig
...
updated line 46:
argparser = optparse.OptionParser(usage="Usage: %prog [options] <noderange> [setting|setting=value]")
to match the man SYNOPSIS
nodeconfig [options] <noderange> [setting|setting=value]
2021-06-16 15:26:28 +03:00
b63565972b
Improve error on nodeconfig parse errors
...
The current error is vague and confusing, clarify with
more data showing what went wrong.
2021-05-18 10:33:27 -04:00
22dc852277
Remove now redundent errors
...
printerror now searches for deeper errors,
no longer need to call it as much.
2021-01-21 16:38:35 -05:00
8f94149627
Have batch files optionally not need quotes
2020-09-22 12:25:25 -04:00
91fa5bd1eb
Enhance nodeconfig treatment of IMM
...
This makes the IMM attributes usable, but not intrusive.
2020-01-29 14:20:56 -05:00
0c4cb49c20
Implement nodeconfig -e
...
This provides access to 'extra' settings.
Mainly intended to avoid slowing down nodeconfig
with IMM attributes that most people don't
want anyway.
2020-01-29 10:15:32 -05:00
620263db3e
Add maxnodes argument to potentially risky commands
...
This uses the client maxnodes check to double check. Useful
for clients that want to sanity check unexpectedly large numbers of
nodes.
2019-10-23 14:20:40 -04:00
44d6bde3ff
Make /usr/bin/env python point to python2
...
Same as before, more RHEL8 compatibility changes
2019-09-23 11:04:52 -04:00
f03bb36dbe
Fix nodeconfig treatment of bmc attributes
...
Make bmc behave like other categories/settings.
2019-08-29 15:24:14 -04:00
65629548c9
Add support for new BMC config capabilities
...
This enables nodeconfig -r bmc and nodeconfig bmc.<attr> function.
2019-08-27 14:56:19 -04:00
2691722f48
Update usage example in nodeconfig
...
Provide a customized usage string to more accurately show
the structure of a nodeconfig command.
2019-02-21 15:02:53 -05:00
b1a91ad409
Add support for comments in batch
...
Use # as comment character in nodeconfig batch.
2019-02-12 11:12:47 -05:00
1378b01feb
Fix nodeconfig handling of multiple colons
...
If multiple colon designated settings are present, correctly
associate settings with appropriate key.
2019-01-16 11:31:06 -05:00
8197c750bb
Add batch support to nodeconfig
2018-12-10 09:47:49 -05:00
46d62e67de
Do not include advanced in comparedefault by default
...
Advanced settings may do unusual things, only check if explicitly
requested to do so.
2018-08-30 09:58:15 -04:00
7c9089c87d
Change nodeconfig -r to take a parameter
...
This opens up for future ability to control the restore to default.
2018-08-30 09:35:16 -04:00
ba18b9936f
Fix mistakes in previous commit
2018-08-29 15:15:34 -04:00
3b7ecd0095
Add ability to clear system configuration
...
This provides a method to request the system firmware be restored to
factory defaults.
2018-08-29 14:49:19 -04:00
319fec2145
Add advanced to nodeconfig
2018-08-17 11:16:11 -04:00
daef9fa60b
Fix confusing nodeconfig error handling
...
Properly react to error conditions
2018-06-01 16:48:34 -04:00
cefca49128
Fix mistake in variable name in nodeconfig
2018-05-25 10:21:34 -04:00
675dc966c7
Clean up errors on bad ipv4 addresses
...
confluent errors are better now
2018-05-17 16:24:06 -04:00
6cba560f6a
Fix nodeconfig handling of general errors
...
nodeconfig was not handling errors in results well, fix this by
refactoring the nodefirmware facility into it.
2018-05-16 11:21:26 -04:00
3dd86c71fd
Add bmc.hostname to nodeconfig
2018-03-27 16:32:37 -04:00
94bce2f65b
Unofficially tolerate pasu and own input
...
If someone tries to use this with pasu syntax, try to do the right
thing. Similarly, if trying to paste the same syntax nodeconfig
uses on output, tolerate that as well.
2018-02-08 19:39:39 -05:00
7dbdf2a6aa
Add ability to exclude settings
...
This permits nodeconfig to prune out less interesting pieces of data
2018-02-07 15:46:08 -05:00
024d37d633
Add support to show settings detail in nodeconfig
...
settings have lots of text, provide access through '-d' argument
2018-02-06 16:52:13 -05:00
8ef90a457a
Add comparedefault to nodeconfig command
...
This allows gathering relevant settings that differ from default
2018-02-06 16:31:20 -05:00
0afd9beeac
Fix nodeconfig error handling
...
Additionally, make more strong effort to sort the data.
2018-02-05 15:23:13 -05:00
b37ef7e90c
Implement nodeconfig access to system settings
...
First draft
2018-02-02 17:17:02 -05:00
9d2ec60b50
Set executable bits on various commands
2017-11-14 14:59:37 -05:00
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
21fce4098b
Add ability to list all configuration supported
2017-11-03 10:36:32 -04:00
8eca6b156b
Automatically request static when setting ip
...
If someone is setting IP address, they are implying static.
Change that implicit reality to explicit statement.
2017-11-03 10:31:00 -04:00
9f3fe01a49
Evolve the concept, it does not currently work
2017-11-02 17:07:44 -04:00
de6ecdab38
Start work on nodeconfig command
...
This reworks the client to reuse some bits of nodeattrib, and has
nodeconfig able to read values.
2017-11-01 16:48:17 -04:00