Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 1 | *** Settings *** |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 2 | Documentation BMC and host redfish utility keywords. |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 3 | |
George Keishing | 2db7bca | 2019-02-14 13:03:08 -0600 | [diff] [blame] | 4 | Resource resource.robot |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 5 | Resource bmc_redfish_resource.robot |
| 6 | |
| 7 | |
| 8 | *** Keywords *** |
| 9 | |
| 10 | Redfish Power Operation |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 11 | [Documentation] Do Redfish host power operation. |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 12 | [Arguments] ${reset_type} |
Sushil Singh | b910d89 | 2021-11-17 05:34:29 -0600 | [diff] [blame] | 13 | |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 14 | # Description of arguments: |
| 15 | # reset_type Type of power operation. |
| 16 | # (e.g. On/ForceOff/GracefulRestart/GracefulShutdown) |
| 17 | |
| 18 | # Example: |
| 19 | # "Actions": { |
| 20 | # "#ComputerSystem.Reset": { |
| 21 | # "ResetType@Redfish.AllowableValues": [ |
| 22 | # "On", |
| 23 | # "ForceOff", |
George Keishing | eeb526c | 2020-03-03 07:39:44 -0600 | [diff] [blame] | 24 | # "ForceOn", |
| 25 | # "ForceRestart", |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 26 | # "GracefulRestart", |
| 27 | # "GracefulShutdown" |
George Keishing | eeb526c | 2020-03-03 07:39:44 -0600 | [diff] [blame] | 28 | # "PowerCycle", |
| 29 | # "Nmi" |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 30 | # ], |
George Keishing | 2deec3c | 2019-02-26 09:20:10 -0600 | [diff] [blame] | 31 | # "target": "/redfish/v1/Systems/system/Actions/ComputerSystem.Reset" |
| 32 | # } |
| 33 | # } |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 34 | |
George Keishing | c2b176e | 2019-03-02 23:31:30 -0600 | [diff] [blame] | 35 | ${target}= redfish_utils.Get Target Actions /redfish/v1/Systems/system/ ComputerSystem.Reset |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 36 | ${payload}= Create Dictionary ResetType=${reset_type} |
Michael Walsh | 213feb3 | 2019-03-08 14:44:31 -0600 | [diff] [blame] | 37 | ${resp}= Redfish.Post ${target} body=&{payload} |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 38 | |
| 39 | |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 40 | Redfish BMC Reset Operation |
| 41 | [Documentation] Do Redfish BMC reset operation. |
Sushil Singh | b910d89 | 2021-11-17 05:34:29 -0600 | [diff] [blame] | 42 | [Arguments] ${reset_type}=GracefulRestart |
Sridevi Ramesh | 0047de8 | 2019-02-01 06:33:08 -0600 | [diff] [blame] | 43 | |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 44 | # Example: |
| 45 | # "Actions": { |
| 46 | # "#Manager.Reset": { |
| 47 | # "ResetType@Redfish.AllowableValues": [ |
Sushil Singh | b910d89 | 2021-11-17 05:34:29 -0600 | [diff] [blame] | 48 | # "GracefulRestart", |
| 49 | # "ForceRestart" |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 50 | # ], |
ganesanb | 4d43028 | 2023-04-27 14:33:23 +0000 | [diff] [blame] | 51 | # "target": "/redfish/v1/Managers/${MANAGER_ID}/Actions/Manager.Reset" |
George Keishing | b10eaca | 2019-02-24 05:07:30 -0600 | [diff] [blame] | 52 | # } |
| 53 | |
ganesanb | 4d43028 | 2023-04-27 14:33:23 +0000 | [diff] [blame] | 54 | ${target}= redfish_utils.Get Target Actions /redfish/v1/Managers/${MANAGER_ID}/ Manager.Reset |
Sushil Singh | b910d89 | 2021-11-17 05:34:29 -0600 | [diff] [blame] | 55 | ${payload}= Create Dictionary ResetType=${reset_type} |
George Keishing | 07fb41f | 2020-06-16 08:09:19 -0500 | [diff] [blame] | 56 | Redfish.Post ${target} body=&{payload} |
George Keishing | caa718b | 2019-03-10 00:08:33 -0600 | [diff] [blame] | 57 | |
| 58 | |
Anvesh Kumar Rayankula | 0296f1d | 2019-12-17 03:33:16 -0600 | [diff] [blame] | 59 | Reset BIOS Via Redfish |
| 60 | [Documentation] Do BIOS reset through Redfish. |
| 61 | |
| 62 | ${target}= redfish_utils.Get Target Actions /redfish/v1/Systems/system/Bios/ Bios.ResetBios |
| 63 | Redfish.Post ${target} valid_status_codes=[${HTTP_OK}] |
| 64 | |
| 65 | |
Sushil Singh | 87e984c | 2020-10-20 01:43:47 -0500 | [diff] [blame] | 66 | Redfish Delete Session |
| 67 | [Documentation] Redfish delete session. |
| 68 | [Arguments] ${session_info} |
| 69 | |
| 70 | # Description of argument(s): |
| 71 | # session_info Session information are stored in dictionary. |
| 72 | |
| 73 | # ${session_info} = { |
| 74 | # 'SessionIDs': 'XXXXXXXXX', |
| 75 | # 'ClientID': 'XXXXXX', |
| 76 | # 'SessionToken': 'XXXXXXXXX', |
| 77 | # 'SessionResp': session response from redfish login |
| 78 | # } |
| 79 | |
| 80 | # SessionIDs : Session IDs |
| 81 | # ClientID : Client ID |
| 82 | # SessionToken : Session token |
| 83 | # SessionResp : Response of creating an redfish login session |
| 84 | |
| 85 | Redfish.Delete /redfish/v1/SessionService/Sessions/${session_info["SessionIDs"]} |
| 86 | |
| 87 | |
| 88 | Redfish Delete List Of Session |
| 89 | [Documentation] Redfish delete session from list of session records, individual session information |
| 90 | ... are stored in dictionary. |
| 91 | [Arguments] ${session_info_list} |
| 92 | |
| 93 | # Description of argument(s): |
| 94 | # session_info_list List contains individual session record are stored in dictionary. |
| 95 | |
| 96 | # ${session_info_list} = [{ |
| 97 | # 'SessionIDs': 'XXXXXXXXX', |
| 98 | # 'ClientID': 'XXXXXX', |
| 99 | # 'SessionToken': 'XXXXXXXXX', |
| 100 | # 'SessionResp': session response from redfish login |
| 101 | # }] |
| 102 | |
| 103 | # SessionIDs : Session IDs |
| 104 | # ClientID : Client ID |
| 105 | # SessionToken : Session token |
| 106 | # SessionResp : Response of creating an redfish login session |
| 107 | |
| 108 | FOR ${session_record} IN @{session_info_list} |
| 109 | Redfish.Delete /redfish/v1/SessionService/Sessions/${session_record["SessionIDs"]} |
| 110 | END |
| 111 | |
| 112 | |
George Keishing | caa718b | 2019-03-10 00:08:33 -0600 | [diff] [blame] | 113 | Delete All Redfish Sessions |
| 114 | [Documentation] Delete all active redfish sessions. |
| 115 | |
Sagar Anand | ed73765 | 2023-01-10 02:00:31 -0600 | [diff] [blame] | 116 | ${saved_session_info}= Redfish_Utils.Get Redfish Session Info |
George Keishing | caa718b | 2019-03-10 00:08:33 -0600 | [diff] [blame] | 117 | |
| 118 | ${resp_list}= Redfish_Utils.Get Member List |
| 119 | ... /redfish/v1/SessionService/Sessions |
| 120 | |
| 121 | # Remove the current login session from the list. |
| 122 | Remove Values From List ${resp_list} ${saved_session_info["location"]} |
| 123 | |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 124 | # Remove session with client_id populated from the list. |
| 125 | ${client_id_list}= Get Session With Client Id ${resp_list} |
| 126 | Log To Console Client sessions skip list: ${client_id_list} |
| 127 | FOR ${client_session} IN @{client_id_list} |
| 128 | Remove Values From List ${resp_list} ${client_session} |
| 129 | END |
| 130 | |
Marissa Garza | 20ccfc7 | 2020-06-19 12:51:10 -0500 | [diff] [blame] | 131 | FOR ${session} IN @{resp_list} |
George Keishing | 74c1c85 | 2020-12-09 09:03:55 -0600 | [diff] [blame] | 132 | Run Keyword And Ignore Error Redfish.Delete ${session} |
Marissa Garza | 20ccfc7 | 2020-06-19 12:51:10 -0500 | [diff] [blame] | 133 | END |
Michael Walsh | cf16332 | 2019-05-22 16:56:17 -0500 | [diff] [blame] | 134 | |
Sushil Singh | 87e984c | 2020-10-20 01:43:47 -0500 | [diff] [blame] | 135 | |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 136 | Get Session With Client Id |
George Keishing | f9babff | 2023-08-16 18:40:22 +0530 | [diff] [blame] | 137 | [Documentation] Iterate through the active sessions and return sessions |
| 138 | ... populated with Context. |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 139 | [Arguments] ${session_list} |
| 140 | |
| 141 | # Description of argument(s): |
| 142 | # session_list Active session list from SessionService. |
| 143 | |
George Keishing | f9babff | 2023-08-16 18:40:22 +0530 | [diff] [blame] | 144 | # "@odata.type": "#Session.v1_5_0.Session", |
| 145 | # "ClientOriginIPAddress": "xx.xx.xx.xx", |
| 146 | # "Context": "MYID-01" |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 147 | |
| 148 | ${client_id_sessions}= Create List |
| 149 | FOR ${session} IN @{session_list} |
| 150 | ${resp}= Redfish.Get ${session} valid_status_codes=[200,404] |
George Keishing | f9babff | 2023-08-16 18:40:22 +0530 | [diff] [blame] | 151 | # This prevents dictionary KeyError exception when the Context |
| 152 | # attribute is not populated in generic session response. |
| 153 | ${context_var}= Get Variable Value ${resp.dict["Context"]} ${EMPTY} |
George Keishing | d2bcbf7 | 2023-09-15 22:44:02 +0530 | [diff] [blame] | 154 | # Handle backward compatibility for OEM. |
| 155 | ${oem_var}= Get Variable Value ${resp.dict["Oem"]["OpenBMC"]["ClientID"]} ${EMPTY} |
George Keishing | f9babff | 2023-08-16 18:40:22 +0530 | [diff] [blame] | 156 | Run Keyword If '${context_var}' != '${EMPTY}' |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 157 | ... Append To List ${client_id_sessions} ${session} |
George Keishing | d2bcbf7 | 2023-09-15 22:44:02 +0530 | [diff] [blame] | 158 | Run Keyword If '${oem_var}' != '${EMPTY}' |
| 159 | ... Append To List ${client_id_sessions} ${session} |
George Keishing | 3612f3a | 2022-04-21 11:21:53 -0500 | [diff] [blame] | 160 | END |
| 161 | |
| 162 | [Return] ${client_id_sessions} |
| 163 | |
| 164 | |
Michael Walsh | cf16332 | 2019-05-22 16:56:17 -0500 | [diff] [blame] | 165 | Get Valid FRUs |
| 166 | [Documentation] Return a dictionary containing all of the valid FRU records for the given fru_type. |
| 167 | [Arguments] ${fru_type} |
| 168 | |
| 169 | # NOTE: A valid FRU record will have a "State" key of "Enabled" and a "Health" key of "OK". |
| 170 | |
| 171 | # Description of argument(s): |
| 172 | # fru_type The type of fru (e.g. "Processors", "Memory", etc.). |
| 173 | |
| 174 | ${fru_records}= Redfish_Utils.Enumerate Request |
| 175 | ... /redfish/v1/Systems/system/${fru_type} return_json=0 |
Michael Walsh | e256a4f | 2019-05-29 10:49:06 -0500 | [diff] [blame] | 176 | ${fru_records}= Filter Struct ${fru_records} [('State', 'Enabled'), ('Health', 'OK')] |
Michael Walsh | cf16332 | 2019-05-22 16:56:17 -0500 | [diff] [blame] | 177 | |
| 178 | [Return] ${fru_records} |
| 179 | |
| 180 | |
| 181 | Get Num Valid FRUs |
| 182 | [Documentation] Return the number of valid FRU records for the given fru_type. |
| 183 | [Arguments] ${fru_type} |
| 184 | |
| 185 | # Description of argument(s): |
| 186 | # fru_type The type of fru (e.g. "Processors", "Memory", etc.). |
| 187 | |
| 188 | ${fru_records}= Get Valid FRUs ${fru_type} |
| 189 | ${num_valid_frus}= Get length ${fru_records} |
| 190 | |
| 191 | [Return] ${num_valid_frus} |
Marissa Garza | d76b142 | 2019-09-13 16:31:54 -0500 | [diff] [blame] | 192 | |
| 193 | |
| 194 | Verify Valid Records |
| 195 | [Documentation] Verify all records retrieved with the given arguments are valid. |
| 196 | [Arguments] ${record_type} ${redfish_uri} ${reading_type} |
| 197 | |
| 198 | # Description of Argument(s): |
| 199 | # record_type The sensor record type (e.g. "PowerSupplies") |
| 200 | # redfish_uri The power supply URI (e.g. /redfish/v1/Chassis/chassis/Power) |
| 201 | # reading_type The power watt readings (e.g. "PowerInputWatts") |
| 202 | |
| 203 | # A valid record will have "State" key "Enabled" and "Health" key "OK". |
| 204 | ${records}= Redfish.Get Attribute ${redfish_uri} ${record_type} |
| 205 | |
| 206 | Rprint Vars records |
| 207 | |
| 208 | # Example output: |
| 209 | # records: |
| 210 | # [0]: |
| 211 | # [@odata.id]: /redfish/v1/Chassis/chassis/Power#/PowerControl/0 |
| 212 | # [@odata.type]: #Power.v1_0_0.PowerControl |
| 213 | # [MemberId]: 0 |
| 214 | # [Name]: Chassis Power Control |
| 215 | # [PowerConsumedWatts]: 264.0 |
| 216 | # [PowerLimit]: |
| 217 | # [LimitInWatts]: None |
| 218 | # [PowerMetrics]: |
| 219 | # [AverageConsumedWatts]: 325 |
| 220 | # [IntervalInMin]: 3 |
| 221 | # [MaxConsumedWatts]: 538 |
| 222 | # [Status]: |
| 223 | # [Health]: OK |
| 224 | # [State]: Enabled |
| 225 | |
| 226 | ${invalid_records}= Filter Struct ${records} |
| 227 | ... [('Health', '^OK$'), ('State', '^Enabled$'), ('${reading_type}', '')] regex=1 invert=1 |
| 228 | Valid Length invalid_records max_length=0 |
Marissa Garza | fdee1b0 | 2019-09-20 14:52:12 -0500 | [diff] [blame] | 229 | |
| 230 | [Return] ${records} |
Vijay | ff2c0bc | 2020-02-03 00:05:45 -0600 | [diff] [blame] | 231 | |
| 232 | |
| 233 | Redfish Create User |
| 234 | [Documentation] Redfish create user. |
| 235 | [Arguments] ${user_name} ${password} ${role_id} ${enabled} ${force}=${False} |
| 236 | |
| 237 | # Description of argument(s): |
| 238 | # user_name The user name to be created. |
| 239 | # password The password to be assigned. |
| 240 | # role_id The role ID of the user to be created. |
| 241 | # (e.g. "Administrator", "Operator", etc.). |
| 242 | # enabled Indicates whether the username being created. |
| 243 | # should be enabled (${True}, ${False}). |
| 244 | # force Delete user account and re-create if force is True. |
| 245 | |
| 246 | ${curr_role}= Run Keyword And Ignore Error Get User Role ${user_name} |
| 247 | # Ex: ${curr_role} = ('PASS', 'Administrator') |
| 248 | |
| 249 | ${user_exists}= Run Keyword And Return Status Should Be Equal As Strings ${curr_role}[0] PASS |
| 250 | |
| 251 | # Delete user account when force is True. |
| 252 | Run Keyword If ${force} == ${True} Redfish.Delete ${REDFISH_ACCOUNTS_URI}${user_name} |
| 253 | ... valid_status_codes=[${HTTP_OK}, ${HTTP_NOT_FOUND}] |
| 254 | |
| 255 | # Create specified user when force is True or User does not exist. |
| 256 | ${payload}= Create Dictionary |
| 257 | ... UserName=${user_name} Password=${password} RoleId=${role_id} Enabled=${enabled} |
| 258 | |
| 259 | Run Keyword If ${force} == ${True} or ${user_exists} == ${False} |
| 260 | ... Redfish.Post ${REDFISH_ACCOUNTS_URI} body=&{payload} |
| 261 | ... valid_status_codes=[${HTTP_CREATED}] |
| 262 | |
| 263 | |
| 264 | Get User Role |
| 265 | [Documentation] Get User Role. |
| 266 | [Arguments] ${user_name} |
| 267 | |
| 268 | # Description of argument(s): |
| 269 | # user_name User name to get it's role. |
| 270 | |
| 271 | ${role_config}= Redfish_Utils.Get Attribute |
| 272 | ... ${REDFISH_ACCOUNTS_URI}${user_name} RoleId |
| 273 | |
| 274 | [Return] ${role_config} |
| 275 | |
| 276 | |
| 277 | Create Users With Different Roles |
| 278 | [Documentation] Create users with different roles. |
| 279 | [Arguments] ${users} ${force}=${False} |
| 280 | |
| 281 | # Description of argument(s): |
| 282 | # users Dictionary of roles and user credentails to be created. |
| 283 | # Ex: {'Administrator': '[admin_user, TestPwd123]', 'Operator': '[operator_user, TestPwd123]'} |
| 284 | # force Delete given user account if already exists when force is True. |
| 285 | |
| 286 | FOR ${role} IN @{users} |
| 287 | Redfish Create User ${users['${role}'][0]} ${users['${role}']}[1] ${role} ${True} ${force} |
| 288 | END |
| 289 | |
Vijay | 3937315 | 2020-02-14 08:08:20 -0600 | [diff] [blame] | 290 | |
| 291 | Delete BMC Users Via Redfish |
| 292 | [Documentation] Delete BMC users via redfish. |
| 293 | [Arguments] ${users} |
| 294 | |
| 295 | # Description of argument(s): |
| 296 | # users Dictionary of roles and user credentials to be deleted. |
| 297 | |
| 298 | FOR ${role} IN @{users} |
| 299 | Redfish.Delete /redfish/v1/AccountService/Accounts/${users['${role}'][0]} |
| 300 | ... valid_status_codes=[${HTTP_OK}, ${HTTP_NOT_FOUND}] |
| 301 | END |
| 302 | |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 303 | |
| 304 | Expire And Update New Password Via Redfish |
| 305 | [Documentation] Expire and change password and verify using password. |
| 306 | [Arguments] ${username} ${password} ${new_password} |
| 307 | |
| 308 | # Description of argument(s): |
| 309 | # username The username to be used to login to the BMC. |
| 310 | # password The password to be used to login to the BMC. |
| 311 | # new_password The new password to be used to update password. |
| 312 | |
| 313 | # Expire admin password using ssh. |
Sushil Singh | 39848ba | 2022-08-10 05:49:32 -0500 | [diff] [blame] | 314 | Open Connection And Log In ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 315 | ${output} ${stderr} ${rc}= BMC Execute Command passwd --expire ${username} |
Brian Ma | 45aa881 | 2022-02-24 14:55:28 +0800 | [diff] [blame] | 316 | Should Contain Any ${output} password expiry information changed |
| 317 | ... password changed |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 318 | |
| 319 | # Verify user password expired using Redfish |
| 320 | Verify User Password Expired Using Redfish ${username} ${password} |
| 321 | |
| 322 | # Change user password. |
Brian Ma | 45aa881 | 2022-02-24 14:55:28 +0800 | [diff] [blame] | 323 | Redfish.Patch /redfish/v1/AccountService/Accounts/${username} |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 324 | ... body={'Password': '${new_password}'} |
| 325 | Redfish.Logout |
| 326 | |
| 327 | |
| 328 | Verify User Password Expired Using Redfish |
| 329 | [Documentation] Checking whether user password expired or not using redfish. |
Sushil Singh | 473cf7d | 2023-03-09 04:24:07 -0600 | [diff] [blame] | 330 | [Arguments] ${username} ${password} ${expected_result}=${True} |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 331 | |
| 332 | # Description of argument(s): |
| 333 | # username The username to be used to login to the BMC. |
| 334 | # password The password to be used to login to the BMC. |
| 335 | |
Anves Kumar rayankula | 7ed1ae8 | 2021-02-03 04:19:46 -0600 | [diff] [blame] | 336 | Redfish.Login ${username} ${password} |
| 337 | ${resp}= Redfish.Get /redfish/v1/AccountService/Accounts/${username} |
| 338 | Should Be Equal ${resp.dict["PasswordChangeRequired"]} ${expected_result} |
| 339 | |
Prashanth Katti | b3d1c7a | 2021-12-09 03:51:08 -0600 | [diff] [blame] | 340 | |
| 341 | Is BMC LastResetTime Changed |
| 342 | [Documentation] Return fail if BMC last reset time is not changed. |
| 343 | [Arguments] ${reset_time} |
| 344 | |
| 345 | # Description of argument(s): |
| 346 | # reset_time Last BMC reset time. |
| 347 | |
| 348 | ${last_reset_time}= Get BMC Last Reset Time |
| 349 | Should Not Be Equal ${last_reset_time} ${reset_time} |
| 350 | |
| 351 | |
| 352 | Redfish BMC Reboot |
| 353 | [Documentation] Use Redfish API reboot BMC and wait for BMC ready. |
| 354 | |
| 355 | # Get BMC last reset time for compare |
| 356 | ${last_reset_time}= Get BMC Last Reset Time |
| 357 | |
| 358 | # Reboot BMC by Redfish API |
| 359 | Redfish BMC Reset Operation |
| 360 | |
| 361 | # Wait for BMC real reboot and Redfish API ready |
| 362 | Wait Until Keyword Succeeds 3 min 10 sec Is BMC LastResetTime Changed ${last_reset_time} |
| 363 | |
| 364 | |
| 365 | Get BMC Last Reset Time |
| 366 | [Documentation] Return BMC LastResetTime. |
| 367 | |
ganesanb | 4d43028 | 2023-04-27 14:33:23 +0000 | [diff] [blame] | 368 | ${last_reset_time}= Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} LastResetTime |
Prashanth Katti | b3d1c7a | 2021-12-09 03:51:08 -0600 | [diff] [blame] | 369 | |
| 370 | [Return] ${last_reset_time} |