ID:457 - Display User ID enable/disable status

Commit implements `Enable status` which shows/is in alignment with (22.27) Get
User Access Command and displays User ID Enable/Disable status of given User ID
at given channel.
This commit is contained in:
Zdenek Styblik
2016-08-21 12:17:10 +02:00
parent ea471ed5fa
commit cc9a6b3964
3 changed files with 11 additions and 1 deletions

View File

@@ -646,6 +646,14 @@ const struct valstr ipmi_encryption_algorithms[] = {
{ 0x00, NULL }
};
const struct valstr ipmi_user_enable_status_vals[] = {
{ 0x00, "unknown" },
{ 0x40, "enabled" },
{ 0x80, "disabled" },
{ 0xC0, "reserved" },
{ 0xFF, NULL },
};
const struct valstr picmg_frucontrol_vals[] = {
{ 0, "Cold Reset" },
{ 1, "Warm Reset" },