pasu strips OneCLI's banner and status lines so only the requested settings are
shown, but OneCLI has grown several status lines over the years that were not
filtered and leaked into the output. Add the missing patterns.
Recovered from the unmerged lenovobuild branch (229533cb, a6932bb4), which added
"Connected to BMC at IP address" (master only matched "by"), "Succeed in running
the command:" and "start to convert cmd.". Extended after testing a current
OneCLI 5.3.0 on a Lenovo ThinkSystem SR635, which also emits "Start to connect
...", "Connected to the node(N) by KCS" and a trailing "Succeed." -- now
filtered too.
Validated by running a real OneCLI 5.3.0 "config show" through the filter:
every banner/footer line is removed and all 756 setting lines pass unchanged.
Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com>
* Filter out extraneous output of OneCli
* Remove extraneous content from pasu
* Update pasu filtering
* Fix recognizing success to filter
* Update for new Lenovo OneCLI rpm
The new packaging offers up iflash64 and asu in a consistent
location.
* Workaround different IPv6 syntax for asu/onecli
* Filter out header of new version of OneCLI
* Filter out the Invoking SET command output of onecli
getipmicons structures the data differently from getNodesAttribs.
Accomodate by merging each responses data in node by node rather
than simply overwriting with the last data.
Previously, pasu/piflash went to some trouble to hit common cases.
Switch to a method that uses the common target lookup code as
rpower/reventlog/etc to be consistent.