Lines Matching refs:IPMI
2 Documentation Test suite for OpenBMC IPMI user management.
39 Verify IPMI User Summary
40 [Documentation] Verify IPMI maximum supported IPMI user ID and
48 ${random_userid} ${random_username}= Create Random IPMI User
50 Run IPMI Standard Command user enable ${random_userid}
57 # Verify maximum user count IPMI local user can have.
61 Verify IPMI User List
62 [Documentation] Verify user list via IPMI.
67 ${random_userid} ${random_username}= Create Random IPMI User
70 Run IPMI Standard Command
72 Run IPMI Standard Command user enable ${random_userid}
73 # Delay added for IPMI user to get enabled.
75 # Set admin privilege and enable IPMI messaging for newly created user.
91 Verify IPMI User Creation With Valid Name And ID
92 [Documentation] Create user via IPMI and verify.
97 ${random_userid} ${random_username}= Create Random IPMI User
101 Verify IPMI User Creation With Invalid Name
102 [Documentation] Verify error while creating IPMI user with invalid
107 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
112 Verify IPMI User Creation With Invalid ID
113 [Documentation] Verify error while creating IPMI user with invalid
123 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
129 Verify Setting IPMI User With Invalid Password
130 [Documentation] Verify error while setting IPMI user with invalid
136 ${random_userid} ${random_username}= Create Random IPMI User
140 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
149 Verify Setting IPMI Root User With New Name
150 [Documentation] Verify error while setting IPMI root user with new
155 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
161 Verify IPMI User Password Via Test Command
162 [Documentation] Verify IPMI user password using test command.
167 ${random_userid} ${random_username}= Create Random IPMI User
171 Run IPMI Standard Command
175 ${msg}= Run IPMI Standard Command
181 Verify Setting Valid Password For IPMI User
182 [Documentation] Set valid password for IPMI user and verify.
187 ${random_userid} ${random_username}= Create Random IPMI User
191 Run IPMI Standard Command
194 Run IPMI Standard Command user enable ${random_userid}
196 # Delay added for IPMI user to get enable
199 # Set admin privilege and enable IPMI messaging for newly created user
202 Verify IPMI Username And Password ${random_username} ${valid_password}
205 Verify IPMI User Creation With Same Name
206 [Documentation] Verify error while creating two IPMI user with same name.
211 ${random_userid} ${random_username}= Create Random IPMI User
213 # Set same username for another IPMI user.
215 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
220 Verify Setting IPMI User With Null Password
221 [Documentation] Verify error while setting IPMI user with null
227 ${random_userid} ${random_username}= Create Random IPMI User
231 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
237 Verify IPMI User Deletion
238 [Documentation] Delete user via IPMI and verify.
243 ${random_userid} ${random_username}= Create Random IPMI User
245 # Delete IPMI User and verify
246 Run IPMI Standard Command user set name ${random_userid} ""
251 Test IPMI User Privilege Level
252 [Documentation] Verify IPMI user with user privilege can only run user level commands.
254 [Template] Test IPMI User Privilege
262 Test IPMI Operator Privilege Level
263 …[Documentation] Verify IPMI user with operator privilege can only run user and operator levels co…
266 [Template] Test IPMI User Privilege
274 Test IPMI Administrator Privilege Level
275 [Documentation] Verify IPMI user with admin privilege can run all levels command.
277 [Template] Test IPMI User Privilege
285 Enable IPMI User And Verify
286 [Documentation] Enable IPMI user and verify that the user is able
287 ... to run IPMI command.
292 ${random_userid} ${random_username}= Create Random IPMI User
294 Run IPMI Standard Command
297 # Set admin privilege and enable IPMI messaging for newly created user.
303 Enable IPMI User And Verify ${random_userid}
306 # Verify that enabled IPMI user is able to run IPMI command.
307 Verify IPMI Username And Password ${random_username} ${valid_password}
310 Disable IPMI User And Verify
311 [Documentation] Disable IPMI user and verify that that the user
312 ... is unable to run IPMI command.
317 ${random_userid} ${random_username}= Create Random IPMI User
319 Run IPMI Standard Command
322 # Set admin privilege and enable IPMI messaging for newly created user.
325 # Disable IPMI user and verify.
326 Run IPMI Standard Command user disable ${random_userid}
330 # Verify that disabled IPMI user is unable to run IPMI command.
331 ${msg}= Run Keyword And Expect Error * Verify IPMI Username And Password
333 Should Contain ${msg} Unable to establish IPMI
336 Verify IPMI Root User Password Change
337 [Documentation] Change IPMI root user password and verify that
338 ... root user is able to run IPMI command.
347 ... Restore Default Password For IPMI Root User
350 Run IPMI Standard Command
356 # Verify that root user is able to run IPMI command using new password.
357 Wait Until Keyword Succeeds 15 sec 5 sec Verify IPMI Username And Password
368 ${random_userid} ${random_username}= Create Random IPMI User
370 Run IPMI Standard Command
382 Enable IPMI User And Verify ${random_userid}
384 # Verify that user is able to run administrator level IPMI command with channel 1.
385 Verify IPMI Command ${random_username} ${valid_password} Administrator ${CHANNEL_NUMBER}
387 # Verify that user is unable to run IPMI command with channel 2.
388 Run IPMI Standard Command
399 ${random_userid} ${random_username}= Create Random IPMI User
401 Run IPMI Standard Command
413 Enable IPMI User And Verify ${random_userid}
415 # Verify that user is able to run operator level IPMI command with channel 1.
416 Verify IPMI Command ${random_username} ${valid_password} Operator ${CHANNEL_NUMBER}
418 # Verify that user is able to run user level IPMI command with channel 2.
419 Verify IPMI Command ${random_username} ${valid_password} User ${secondary_channel_number}
422 Verify Setting IPMI User With Max Password Length
423 [Documentation] Verify IPMI user creation with password length of 20 characters.
431 Verify Setting IPMI User With Invalid Password Length
432 [Documentation] Verify that IPMI user cannot be set with 21 character password using 16 char
442 Verify Setting IPMI User With 16 Character Password
443 [Documentation] Verify that IPMI user can create a 16 character password using 16 char or 20
453 Verify Default Selection Of 16 Character Password For IPMI User
464 Verify Minimum Password Length For IPMI User
476 Verify Continuous IPMI Command Execution
477 [Documentation] Verify that continuous IPMI command execution runs fine.
481 Run IPMI Standard Command lan print ${CHANNEL_NUMBER}
482 Run IPMI Standard Command power status
483 Run IPMI Standard Command fru list
484 Run IPMI Standard Command sel list
488 Modify IPMI User
489 [Documentation] Verify modified IPMI user is communicating via IPMI.
494 ${random_userid} ${random_username}= Create Random IPMI User
496 Run IPMI Standard Command
499 # Set admin privilege and enable IPMI messaging for newly created user.
505 Enable IPMI User And Verify ${random_userid}
507 # Verify that user is able to run administrator level IPMI command.
508 Verify IPMI Command ${random_username} ${valid_password} Administrator ${CHANNEL_NUMBER}
510 # Set different username for same IPMI user.
511 Run IPMI Standard Command
515 # Verify that user is able to run administrator level IPMI command.
516 Verify IPMI Command ${new_username} ${valid_password} Administrator ${CHANNEL_NUMBER}
521 Restore Default Password For IPMI Root User
522 [Documentation] Restore default password for IPMI root user
524 ${result}= Run External IPMI Standard Command
529 # Verify that root user is able to run IPMI command using default password.
530 Verify IPMI Username And Password root ${OPENBMC_PASSWORD}
533 Test IPMI User Privilege
534 [Documentation] Test IPMI user privilege by executing IPMI command with different privileges.
538 # privilege_level Privilege level of IPMI user (e.g. 4, 3).
539 # user_cmd_status Expected status of IPMI command run with the "User"
541 # operator_cmd_status Expected status of IPMI command run with the "Operator"
543 # admin_cmd_status Expected status of IPMI command run with the "Administrator"
546 # Create IPMI user and set valid password.
547 ${random_userid} ${random_username}= Create Random IPMI User
549 Run IPMI Standard Command
552 # Set privilege and enable IPMI messaging for newly created user.
558 Enable IPMI User And Verify ${random_userid}
560 Verify IPMI Command ${random_username} ${valid_password} User
562 Verify IPMI Command ${random_username} ${valid_password} Operator
564 Verify IPMI Command ${random_username} ${valid_password} Administrator
568 Verify IPMI Command
569 [Documentation] Verify IPMI command execution with given username,
575 # privilege The session privilege for IPMI command (e.g. "User", "Operator", etc.).
577 # expected_status Expected status of IPMI command run with the user
581 Wait Until Keyword Succeeds 15 sec 5 sec Run IPMI Standard Command
592 # password_option Password length option to be given in IPMI command (e.g. "16", "20").
596 ${random_userid} ${random_username}= Create Random IPMI User
602 ${status}= Run Keyword And Return Status Run IPMI Standard Command
608 # Set admin privilege and enable IPMI messaging for newly created user.
614 Enable IPMI User And Verify ${random_userid}
620 ${status}= Run Keyword And Return Status Verify IPMI Username And Password ${random_username}
659 ${resp}= Wait Until Keyword Succeeds 15 sec 1 sec Run IPMI Standard Command
690 # Looping verify that root user is able to run IPMI command using new password.
691 Wait Until Keyword Succeeds 15 sec 5 sec Verify IPMI Username And Password
700 ${resp}= Wait Until Keyword Succeeds 15 sec 1 sec Run IPMI Standard Command