Lines Matching refs:Redfish
2 Documentation Script to test Redfish privilege registry with various users
11 Suite Teardown Delete Created Redfish Users Except Default Admin
12 Test Teardown Redfish.Logout
31 Verify Redfish Privilege Registry Properties
32 [Documentation] Verify the Redfish Privilege Registry properties.
35 Redfish.Login
38 ${url}= Get Redfish Privilege Registry json URL
39 ${resp}= Redfish.Get ${url}
62 Verify Redfish Privilege Registry Mappings Properties For Account Service
66 # Below is the mapping for Redfish Privilege Registry property for
106 ${url}= Get Redfish Privilege Registry json URL
107 ${resp}= Redfish.Get ${url}
125 Verify Admin User Privileges Via Redfish
126 [Documentation] Verify Admin user privileges via Redfish.
129 Redfish.Login ${admin_user} ${admin_password}
133 Redfish.Post ${REDFISH_ACCOUNTS_URI} body=&{payload}
137 Redfish.patch ${REDFISH_ACCOUNTS_URI}${test_user} body=&{data}
140 ${patched_user_name}= Redfish.Get Attribute ${REDFISH_ACCOUNTS_URI}${patched_user} UserName
143 Verify Operator User Privileges Via Redfish
144 [Documentation] Verify Operator user privileges via Redfish.
147 Redfish.Login ${operator_user} ${operator_password}
151 Redfish.Post ${REDFISH_ACCOUNTS_URI} body=&{payload}
155 Redfish.patch ${REDFISH_ACCOUNTS_URI}${test_user} body=&{data}
158 Redfish.Get ${REDFISH_ACCOUNTS_URI}${patched_user}
161 Redfish.Delete ${REDFISH_ACCOUNTS_URI}${patched_user}
164 Verify ReadOnly User Privileges Via Redfish
165 [Documentation] Verify ReadOnly user privileges via Redfish.
168 Redfish.Login ${readonly_user} ${readonly_password}
172 Redfish.Post ${REDFISH_ACCOUNTS_URI} body=&{payload}
176 Redfish.patch ${REDFISH_ACCOUNTS_URI}${test_user} body=&{data}
179 Redfish.Get ${REDFISH_ACCOUNTS_URI}${patched_user}
182 Redfish.Delete ${REDFISH_ACCOUNTS_URI}${patched_user}
188 Get Redfish Privilege Registry Json URL
194 ${resp}= Redfish.Get
203 Redfish Create User ${test_user} ${test_password} Operator ${true}
204 Redfish Create User ${admin_user} ${admin_password} Administrator ${true}
205 Redfish Create User ${operator_user} ${operator_password} Operator ${true}
206 Redfish Create User ${readonly_user} ${readonly_password} ReadOnly ${true}
208 Redfish Verify User ${test_user} ${test_password} Operator
209 Redfish Verify User ${admin_user} ${admin_password} Administrator
210 Redfish Verify User ${operator_user} ${operator_password} Operator
211 Redfish Verify User ${readonly_user} ${readonly_password} ReadOnly
213 Redfish Verify User
214 [Documentation] Verify Redfish user with given credentials.
223 Run Keyword And Ignore Error Redfish.Logout
224 Redfish.Login ${username} ${password}
230 Redfish.Logout
232 Delete Created Redfish Users Except Default Admin
235 Redfish.Login
236 Run Keyword And Ignore Error Redfish.Delete ${REDFISH_ACCOUNTS_URI}${admin_user}
238 Run Keyword And Ignore Error Redfish.Delete ${REDFISH_ACCOUNTS_URI}${patched_user}
240 Run Keyword And Ignore Error Redfish.Delete ${REDFISH_ACCOUNTS_URI}${operator_user}
242 Run Keyword And Ignore Error Redfish.Delete ${REDFISH_ACCOUNTS_URI}${readonly_user}
244 Run Keyword And Ignore Error Redfish.Delete ${REDFISH_ACCOUNTS_URI}${post_user}
246 Redfish.Logout