mirror of
https://opendev.org/x/pyghmi
synced 2025-02-16 02:29:26 +00:00
Add more constants to ipmi constant list
Allow use of the more helpful names for net function codes in ipmi specification Change-Id: I3c7bc71e5df1936fbeac6fcc65e144e1b52ea68a
This commit is contained in:
parent
e9ef542b65
commit
a7b4b4a71d
@ -48,6 +48,16 @@ rmcp_codes = {
|
||||
0x12: "Illegal or unrecognized parameter",
|
||||
}
|
||||
|
||||
netfn_codes = {
|
||||
"chassis": 0x0,
|
||||
"bridge": 0x2,
|
||||
"sensorevent": 0x4,
|
||||
"application": 0x6,
|
||||
"firmware": 0x8,
|
||||
"storage": 0xa,
|
||||
"transport": 0xc,
|
||||
}
|
||||
|
||||
command_completion_codes = {
|
||||
(7, 0x39): {
|
||||
0x81: "Invalid user name",
|
||||
@ -75,7 +85,7 @@ command_completion_codes = {
|
||||
}
|
||||
|
||||
ipmi_completion_codes = {
|
||||
0x0: "Success",
|
||||
0x00: "Success",
|
||||
0xc0: "Node Busy",
|
||||
0xc1: "Invalid command",
|
||||
0xc2: "Invalid command for given LUN",
|
||||
|
Loading…
x
Reference in New Issue
Block a user