Expected response table for ipmi standard commands used for verification

Tony Lee (李文富) Tony.Lee at quantatw.com
Tue Oct 12 22:19:04 AEDT 2021


Hi George,

I would like to add a table which similar to data/ipmi_raw_cmd_table.py for ipmi standard commands.

For example, in the test "Verify_SDR_Info".
The output of the SDR info command could be different for different machines.

The table will be like:
'''
ipmi_standard_cmd_resp_map = {
    "${machine}": {
        "sdr_info": {
            "free_space": "unspecified",
            "most_recent_addition": "01/01/1970 00:00:59",
            "most_recent_erase": "01/01/1970 00:00:59",
            "sdr_overflow": "yes",
            "sdr_repository_update_support": "unspecified",
            "delete_sdr_supported": "no",
            "partial_add_sdr_supported": "no",
            "reserve_sdr_repository_supported": "yes",
            "sdr_repository_alloc_info_supported": "yes"
        },
		"${ipmi_standard_cmd}":{

		...
		}
    }
'''

Does this seem feasible to you?

Thanks
Best Regards,
Tony



More information about the openbmc mailing list