File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ Redfish Clean Up
97
97
Run Keyword And Ignore Error Redfish Purge Event Log
98
98
Run Keyword And Ignore Error Redfish Delete All BMC Dumps
99
99
Run Keyword And Ignore Error Redfish Delete All System Dumps
100
+ Run Keyword And Ignore Error Clear All Subscriptions
100
101
Run Keyword And Ignore Error Delete All Redfish Sessions
101
102
102
103
@@ -168,3 +169,12 @@ MTU Ping Test
168
169
... ping -M do -s ${mtu } -c 10 ${OPENBMC_HOST }
169
170
Should Be Equal As Integers ${rc } 0
170
171
Should Not Contain ${output } 100 % packet loss
172
+
173
+
174
+ Clear All Subscriptions
175
+ [Documentation] Delete all subscriptions.
176
+
177
+ ${subscriptions } = Redfish.Get Attribute /redfish/v1/EventService/Subscriptions Members
178
+ FOR ${subscription } IN @{subscriptions }
179
+ Redfish.Delete ${subscription['@odata.id'] }
180
+ END
You can’t perform that action at this time.
0 commit comments