openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Expected response table for ipmi standard commands used for verification
@ 2021-10-12 11:19 Tony Lee (李文富)
  2021-10-18 14:31 ` Rahul Maheshwari
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lee (李文富) @ 2021-10-12 11:19 UTC (permalink / raw)
  To: George Keishing; +Cc: openbmc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Expected response table for ipmi standard commands used for verification
  2021-10-12 11:19 Expected response table for ipmi standard commands used for verification Tony Lee (李文富)
@ 2021-10-18 14:31 ` Rahul Maheshwari
  2021-10-19  3:24   ` Tony Lee (李文富)
  0 siblings, 1 reply; 3+ messages in thread
From: Rahul Maheshwari @ 2021-10-18 14:31 UTC (permalink / raw)
  To: Tony Lee (李文富); +Cc: openbmc, George Keishing

[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]

Hi Tony,

It would be better if you can come up with a sample file with the required
fields for IPMI standard commands. And the sample file can have the table
which you have suggested except the machine field. Later command usage for
required IPMI standard commands can be changed in IPMI suite. Others can
use the same sample file to create one for their specific system and use it.

Thanks
Rahul


On Tue, Oct 12, 2021 at 4:49 PM Tony Lee (李文富) <Tony.Lee@quantatw.com>
wrote:

> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2303 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Expected response table for ipmi standard commands used for verification
  2021-10-18 14:31 ` Rahul Maheshwari
@ 2021-10-19  3:24   ` Tony Lee (李文富)
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lee (李文富) @ 2021-10-19  3:24 UTC (permalink / raw)
  To: Rahul Maheshwari; +Cc: openbmc, George Keishing

Hi Rahul,

OK, I will give a sample file. Thanks for your reply.

From: Rahul Maheshwari <rahulmaheshwari01@gmail.com> 
Sent: Monday, October 18, 2021 10:32 PM
To: Tony Lee (李文富) <Tony.Lee@quantatw.com>
Cc: George Keishing <gkeishin@in.ibm.com>; openbmc <openbmc@lists.ozlabs.org>
Subject: Re: Expected response table for ipmi standard commands used for verification

Hi Tony,

It would be better if you can come up with a sample file with the required fields for IPMI standard commands. And the sample file can have the table which you have suggested except the machine field. Later command usage for required IPMI standard commands can be changed in IPMI suite. Others can use the same sample file to create one for their specific system and use it.

Thanks
Rahul


On Tue, Oct 12, 2021 at 4:49 PM Tony Lee (李文富) <mailto:Tony.Lee@quantatw.com> wrote:
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-19  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 11:19 Expected response table for ipmi standard commands used for verification Tony Lee (李文富)
2021-10-18 14:31 ` Rahul Maheshwari
2021-10-19  3:24   ` Tony Lee (李文富)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).