Pyghmi user access flags do not match ipmitool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyghmi |
New
|
Undecided
|
Unassigned |
Bug Description
IPMITOOL:
# ipmitool user list 2
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
2 username true true true ADMINISTRATOR
Pyghmi:
% ./ipmi_users -h iad2a-rm11-7d on ipmi_misc!
Channel: 2
+-----+
| UID | Name | Callin | Link Auth | IPMI Msg | Channel Priv |
+-----+
| 2 | username| False | True | True | administrator |
+-----+
```
Code:
---
print "Channel: {}".format(channel)
table = prettytable.
ipmi_result = ipmicmd.
for uid in ipmi_result:
)
print table.get_
---
Is this a bug or works as designed? The Pyghmi code seemed to jive with the SPEC, but the interpretation of callback is interesting and ipmitool seems to reverse it in their code.
Attached screenshot of IPMI spec.