11
29
Fork
You've already forked ipmitool
33

Allow for numeric IDs in sdr get and sensor get #45

Merged
AlexanderAmelkin merged 2 commits from feature/numeric-sdr-id into master 2024年10月04日 12:44:03 +02:00

Sometimes, it is required to get a sensor info or sensor data record by sensor's number.
Before this change, ipmitool would only accept sensor or entity names in sdr get and sensor get commands.
With this change it is now possible to specify a numeric (hex, octal, or decimal) id.

NOTE: Works on sensor records only. Locator records and their numeric 'entity ID' is not supported by this change.

Properly reimplements #40

Sometimes, it is required to get a sensor info or sensor data record by sensor's number. Before this change, `ipmitool` would only accept sensor or entity names in `sdr get` and `sensor get` commands. With this change it is now possible to specify a numeric (hex, octal, or decimal) id. NOTE: Works on sensor records only. Locator records and their numeric 'entity ID' is not supported by this change. Properly reimplements #40
Reduce code duplication, make the code easier to read and understand
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
AlexanderAmelkin deleted branch feature/numeric-sdr-id 2024年10月04日 12:44:06 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
IPMITool/ipmitool!45
Reference in a new issue
IPMITool/ipmitool
No description provided.
Delete branch "feature/numeric-sdr-id"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?