[BMC] Add new Redfish methods for manual session management, and some fixes#622
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@benle7 the BMC root password is set in the build parameters, correct? |
Correct - BMC_ROOT_ACCOUNT_DEFAULT_PASSWORD If the variable is not set, the SONiC command to reset the BMC root password will fail with an error log of |
|
@judyjoseph Can you please help to review/approve? |
… fixes (sonic-net#622) - Description Added new BMC and Redfish methods for the CLIs of: Reset the BMC root password Manually open a BMC session to get a token Manually close a BMC session Motivation and Context If the user forgets the BMC root password, we will provide the SONiC CLI to reset it to the default. If the user wants to send direct Redfish commands (without SONiC CLIs), we will provide a SONiC CLI for getting a BMC Auth session token. - How Has This Been Tested? config bmc reset-root-password config bmc open-session config bmc close-session --session-id with the new CLI but not must. Signed-off-by: Ben Levi <belevi@nvidia.com>
…assword (#4238) This PR should be merged after: sonic-net/sonic-platform-common#622 - What I did Added new BMC CLIs of: Reset the BMC root password Manually open a BMC session to get a token Manually close a BMC session - How I did it Create the relevant CLI methods using the BMC object. - How to verify it config bmc reset-root-password config bmc open-session config bmc close-session --session-id SESSION_ID Signed-off-by: Ben Levi <belevi@nvidia.com>
This PR should be merged before: sonic-net/sonic-utilities#4238
Description
Added new BMC and Redfish methods for the CLIs of:
Motivation and Context
If the user forgets the BMC root password, we will provide the SONiC CLI to reset it to the default.
If the user wants to send direct Redfish commands (without SONiC CLIs), we will provide a SONiC CLI for getting a BMC Auth session token.
How Has This Been Tested?
config bmc reset-root-password
config bmc open-session
config bmc close-session --session-id
with the new CLI but not must.
Additional Information (Optional)