Commit fb618b2
committed
xapi: Add new message-destroy-all API call
We've seen issues where a client will try to dismiss all their alerts
and fail due to the message-destroy call hitting the maximum XAPI
request size at ~5000 messages.
A new message-destroy-all API avoids this issue while saving the
bandwidth required to send a ref for each message. Users of the new
API call can choose to dismiss messages that arrived before or after
a certain date, or only those with a given priority.
Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>1 parent c6eda1a commit fb618b2
File tree
5 files changed
+89
-3
lines changed- ocaml
- idl
- xapi-cli-server
- xapi
5 files changed
+89
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8915 | 8915 | | |
8916 | 8916 | | |
8917 | 8917 | | |
| 8918 | + | |
| 8919 | + | |
| 8920 | + | |
| 8921 | + | |
| 8922 | + | |
| 8923 | + | |
| 8924 | + | |
| 8925 | + | |
| 8926 | + | |
| 8927 | + | |
| 8928 | + | |
| 8929 | + | |
| 8930 | + | |
| 8931 | + | |
| 8932 | + | |
| 8933 | + | |
| 8934 | + | |
| 8935 | + | |
| 8936 | + | |
| 8937 | + | |
| 8938 | + | |
| 8939 | + | |
| 8940 | + | |
| 8941 | + | |
| 8942 | + | |
| 8943 | + | |
| 8944 | + | |
| 8945 | + | |
| 8946 | + | |
| 8947 | + | |
| 8948 | + | |
| 8949 | + | |
| 8950 | + | |
| 8951 | + | |
8918 | 8952 | | |
8919 | 8953 | | |
8920 | 8954 | | |
| |||
9002 | 9036 | | |
9003 | 9037 | | |
9004 | 9038 | | |
| 9039 | + | |
9005 | 9040 | | |
9006 | 9041 | | |
9007 | 9042 | | |
| |||
9067 | 9102 | | |
9068 | 9103 | | |
9069 | 9104 | | |
9070 | | - | |
| 9105 | + | |
9071 | 9106 | | |
9072 | 9107 | | |
9073 | 9108 | | |
9074 | 9109 | | |
9075 | 9110 | | |
9076 | 9111 | | |
9077 | | - | |
| 9112 | + | |
9078 | 9113 | | |
9079 | 9114 | | |
9080 | 9115 | | |
9081 | 9116 | | |
9082 | 9117 | | |
9083 | 9118 | | |
9084 | | - | |
| 9119 | + | |
9085 | 9120 | | |
9086 | 9121 | | |
9087 | 9122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1423 | 1445 | | |
1424 | 1446 | | |
1425 | 1447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
733 | 751 | | |
734 | 752 | | |
735 | 753 | | |
| |||
0 commit comments