All notable changes to this project are documented in this file.
- Changed 'display_name' field to 'display' since 'display_name' field has been removed in Netbox 2.11.0
bmcmanager server factory reset
command for Lenovo servers.- Automatically enable auto-completion when installing with the snap package.
- Handling case where credentials on NetBox are not set.
- Initial support for MaaS DCIM. See README.md for configuration and usage.
- Switched to
pbr
for installation. - Build snap for
amd64
andarm64
architectures.
- Crashes when the IPMI address was not prefixed with
http://
orhttps://
. bmcmanager check sensor
command returned OK status when the underlying commands timed out.
bmcmanager server list
now also prints the server IPMI addresses.
bmcmanager firmware latest check --after YYYY-MM-DD
command, to check whether new firmware versions have been released after a specific date.
- When a command failed, sometimes a successful return code (0) was returned, along with a false "No servers found" message.
- Compare versions as tuples instead of strings if possible when checking for firmware upgrades.
- Bash auto completion.
- Get and list commands now support multiple output formats.
- Interactive mode.
- An error is printed when no servers are matched.
- Command for opening NetBox page (
bmcmanager open dcim
). - Command for calling ipmitool directly (
bmcmanager ipmi tool
). - Print possible commands when an invalid command is used.
- Documentation examples.
- Documentation for extending
bmcmanager
with new features. - Reduced Docker image size.
bmcmanager server list
command, to list available servers.timeout
option for NetBox DCIM.
- Using cliff.
- All commands are now grouped under namespaces, see
bmcmanager --help
. - Numerous speed improvements by avoiding useless queries to the DCIM.
- Updated documentation, added complete configuration example.
- Config file is now set using the
--config-file
flag.
- Improved log message levels so that no sensitive data is printed unless debugging.
- Command-line arguments handling.
- Show a helpful error message when no DCIM has been configured.
- Try to recover from expired session errors.
- Homogenous argument and command help messages.
Initial version as bmcmanager
.
- Added flake8 tests with tox.
- Documentation for Lenovo hosts.
bmcmanager get-firmware
command for Lenovo hosts.bmcmanager refresh-firmware
command for Lenovo hosts.bmcmanager console --print-cmd
argument.bmcmanager check-firmware-latest
command for Lenovo RD350/RD550 Lenovo servers. It can be extended in the future for more servers if needed.bmcmanager creds --ipmi-field (hostname|username|password)
argument.bmcmanager firmware-upgrade
command for Lenovo hosts. Can perform the upgrade usingosput
(--mode osput
) or RPC calls (--mode rpc
). Optionally clears log messages afterwards (--clear-logs
flag).bmcmanager lenovo-rpc
command.bmcmanager clear-upgrade-firmware-logs
command.bmcmanager get-ipmi-address
andbmcmanager refresh-ipmi-address
commands.
- Enforce a single coding style across the code.
- Installation dependencies and instructions.
- Linter warnings.
bmcmanager clear-ipmi-logs
command, clear system event log.bmcmanager ipmi-ssh
command, open interactive SSH session with IPMI.bmcmanager system-ram
command, check system RAM for Lenovo servers.- Add BIOS versions in
bmcmanager info
command. bmcmanager (un)lock-power-switch
commands.- Allow reading system-wide config (from
/etc/bmcmanager
or/etc/.bmcmanager
) - Allow using NetBox secrets for username and password.
bmcmanager creds
command, show IPMI credentials.bmcmanager ipmi-sensors
command, show IPMI sensors status.bmcmanager check-ipmi
command.bmcmanager check-ram
command for Lenovo servers.- bmcmanager now says which config files it uses.
- Include NetBox device ID in
bmcmanager info
command. bmcmanager check-firmware
command.bmcmanager get-disks
command for Lenovo servers.bmcmanager ipmi-logs-analysed
command for Lenovo servers.bmcmanager check-disks
command for Lenovo servers.- Main argument parser uses the unrecognised flags as command arguments. This allows commands to use their own parsers.
bmcmanager get-secrets
andbmcmanager set-secret
commands.bmcmanager set-ipmi-password
command, with ability to store the new password.- Limit NetBox search results using device type ids.
bmcmanager -h
shows available commands.
- Updated installation instructions.
bmcmanager open
command now works on Linux machines.- Netbox Token header.
- NetBox DCIM timeout.
- Avoid crashes when NetBox has no IPMI address.
- Fix stale
providers
andhosts
references in docs.
Initial version.