ovirt 0.17.1 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e7467a2f899c03ecbbaa8a51d6bdf7f7970fb12
4
- data.tar.gz: 2ac6398844b3b3871a980849478f1b36983e48df
3
+ metadata.gz: a95d068a480c8e59a52f38ddd4bcc5911dd30583
4
+ data.tar.gz: 910d97320865a2af8598173e54c4705ff848b2ed
5
5
  SHA512:
6
- metadata.gz: '0299406c9dccf329732d47365b9c2eb24ba1fca775b61e71a622ef83c24bb1c06ca8734c12699f3569c272ebb4ce1064637fa764dcaab79086df4c2373bfc4c9'
7
- data.tar.gz: 034531dcc6d56171133afe90daa5f62680301faf28757b1c041661fbb7a2f8bf15c45a40ac74caabdb14c5be60b8814d6e854ada1664b716a442eef3a06bf29f
6
+ metadata.gz: 2c13180e3f09bd399b33d902415b702151d7dc32517ba8a725961f22a310a4f6ac5bca3b0bb9e5ed3345207761ee73355cb5489d2bde07fcdad7cc39186926ca
7
+ data.tar.gz: e885ef63cb886a662e46fe2f6c212d52d40039795c283bd824537af3fb5d8c3e71b437975284d8b22fa5da6333d32999b4dfab07a45234e6d0ea0268507da4e3
data/lib/ovirt/event.rb CHANGED
@@ -24,465 +24,468 @@ module Ovirt
24
24
 
25
25
  EVENT_CODES = {
26
26
  # Code Description
27
- 0 => "UNASSIGNED",
28
- 1 => "VDC_START",
29
- 2 => "VDC_STOP",
30
- 12 => "HOST_FAILURE",
31
- 13 => "HOST_DETECTED",
32
- 14 => "HOST_RECOVER",
33
- 15 => "HOST_MAINTENANCE",
34
- 16 => "HOST_ACTIVATE",
35
- 17 => "HOST_MAINTENANCE_FAILED",
36
- 18 => "HOST_ACTIVATE_FAILED",
37
- 19 => "HOST_RECOVER_FAILED",
38
- 20 => "USER_HOST_START",
39
- 21 => "USER_HOST_STOP",
40
- 22 => "IRS_FAILURE",
41
- 26 => "IRS_DISK_SPACE_LOW",
42
- 30 => "USER_VDC_LOGIN",
43
- 31 => "USER_VDC_LOGOUT",
44
- 32 => "USER_RUN_VM",
45
- 33 => "USER_STOP_VM",
46
- 34 => "USER_ADD_VM",
47
- 35 => "USER_UPDATE_VM",
48
- 36 => "USER_REMOVE_VM",
49
- 37 => "USER_ADD_VM_STARTED",
50
- 38 => "USER_CHANGE_DISK_VM",
51
- 39 => "USER_PAUSE_VM",
52
- 40 => "USER_RESUME_VM",
53
- 41 => "USER_HOST_RESTART",
54
- 42 => "USER_ADD_HOST",
55
- 43 => "USER_UPDATE_HOST",
56
- 44 => "USER_REMOVE_HOST",
57
- 45 => "USER_CREATE_SNAPSHOT",
58
- 46 => "USER_TRY_BACK_TO_SNAPSHOT",
59
- 47 => "USER_RESTORE_FROM_SNAPSHOT",
60
- 48 => "USER_ADD_VM_TEMPLATE",
61
- 49 => "USER_UPDATE_VM_TEMPLATE",
62
- 50 => "USER_REMOVE_VM_TEMPLATE",
63
- 51 => "USER_ADD_VM_TEMPLATE_FINISHED_SUCCESS",
64
- 52 => "USER_ADD_VM_TEMPLATE_FINISHED_FAILURE",
65
- 53 => "USER_ADD_VM_FINISHED_SUCCESS",
66
- 54 => "USER_FAILED_RUN_VM",
67
- 55 => "USER_FAILED_PAUSE_VM",
68
- 56 => "USER_FAILED_STOP_VM",
69
- 57 => "USER_FAILED_ADD_VM",
70
- 58 => "USER_FAILED_UPDATE_VM",
71
- 59 => "USER_FAILED_REMOVE_VM",
72
- 60 => "USER_ADD_VM_FINISHED_FAILURE",
73
- 61 => "VM_DOWN",
74
- 62 => "VM_MIGRATION_START",
75
- 63 => "VM_MIGRATION_DONE",
76
- 64 => "VM_MIGRATION_ABORT",
77
- 65 => "VM_MIGRATION_FAILED",
78
- 66 => "VM_FAILURE",
79
- 68 => "USER_CREATE_SNAPSHOT_FINISHED_SUCCESS",
80
- 69 => "USER_CREATE_SNAPSHOT_FINISHED_FAILURE",
81
- 70 => "USER_RUN_VM_AS_STATELESS_FINISHED_FAILURE",
82
- 71 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_SUCCESS",
83
- 72 => "USER_CHANGE_FLOPPY_VM",
84
- 73 => "USER_INITIATED_SHUTDOWN_VM",
85
- 74 => "USER_FAILED_SHUTDOWN_VM",
86
- 75 => "USER_FAILED_CHANGE_FLOPPY_VM",
87
- 76 => "USER_STOPPED_VM_INSTEAD_OF_SHUTDOWN",
88
- 77 => "USER_FAILED_STOPPING_VM_INSTEAD_OF_SHUTDOWN",
89
- 78 => "USER_ADD_DISK_TO_VM",
90
- 79 => "USER_FAILED_ADD_DISK_TO_VM",
91
- 80 => "USER_REMOVE_DISK_FROM_VM",
92
- 81 => "USER_FAILED_REMOVE_DISK_FROM_VM",
93
- 82 => "USER_MOVED_VM",
94
- 83 => "USER_FAILED_MOVE_VM",
95
- 84 => "USER_MOVED_TEMPLATE",
96
- 85 => "USER_FAILED_MOVE_TEMPLATE",
97
- 86 => "USER_COPIED_TEMPLATE",
98
- 87 => "USER_FAILED_COPY_TEMPLATE",
99
- 88 => "USER_UPDATE_VM_DISK",
100
- 89 => "USER_FAILED_UPDATE_VM_DISK",
101
- 90 => "USER_HOST_SHUTDOWN",
102
- 91 => "USER_MOVED_VM_FINISHED_SUCCESS",
103
- 92 => "USER_MOVED_VM_FINISHED_FAILURE",
104
- 93 => "USER_MOVED_TEMPLATE_FINISHED_SUCCESS",
105
- 94 => "USER_MOVED_TEMPLATE_FINISHED_FAILURE",
106
- 95 => "USER_COPIED_TEMPLATE_FINISHED_SUCCESS",
107
- 96 => "USER_COPIED_TEMPLATE_FINISHED_FAILURE",
108
- 97 => "USER_ADD_DISK_TO_VM_FINISHED_SUCCESS",
109
- 98 => "USER_ADD_DISK_TO_VM_FINISHED_FAILURE",
110
- 99 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE",
111
- 100 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_SUCCESS",
112
- 101 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_FAILURE",
113
- 102 => "USER_FAILED_CHANGE_DISK_VM",
114
- 103 => "USER_FAILED_RESUME_VM",
115
- 104 => "USER_FAILED_ADD_HOST",
116
- 105 => "USER_FAILED_UPDATE_HOST",
117
- 106 => "USER_FAILED_REMOVE_HOST",
118
- 107 => "USER_FAILED_HOST_RESTART",
119
- 108 => "USER_FAILED_ADD_VM_TEMPLATE",
120
- 109 => "USER_FAILED_UPDATE_VM_TEMPLATE",
121
- 110 => "USER_FAILED_REMOVE_VM_TEMPLATE",
122
- 111 => "USER_STOP_SUSPENDED_VM",
123
- 112 => "USER_STOP_SUSPENDED_VM_FAILED",
124
- 113 => "USER_REMOVE_VM_FINISHED",
125
- 114 => "USER_VDC_LOGIN_FAILED",
126
- 115 => "USER_FAILED_TRY_BACK_TO_SNAPSHOT",
127
- 116 => "USER_FAILED_RESTORE_FROM_SNAPSHOT",
128
- 117 => "USER_FAILED_CREATE_SNAPSHOT",
129
- 118 => "USER_FAILED_HOST_START",
130
- 119 => "VM_DOWN_ERROR",
131
- 120 => "VM_MIGRATION_FAILED_FROM_TO",
132
- 121 => "SYSTEM_HOST_RESTART",
133
- 122 => "SYSTEM_FAILED_HOST_RESTART",
134
- 123 => "HOST_SLOW_STORAGE_RESPONSE_TIME",
135
- 124 => "VM_IMPORT",
136
- 125 => "VM_IMPORT_FAILED",
137
- 126 => "VM_NOT_RESPONDING",
138
- 127 => "HOST_RUN_IN_NO_KVM_MODE",
139
- 128 => "VM_MIGRATION_TRYING_RERUN",
140
- 129 => "VM_CLEARED",
141
- 130 => "USER_FAILED_HOST_SHUTDOWN",
142
- 131 => "USER_EXPORT_VM",
143
- 132 => "USER_EXPORT_VM_FAILED",
144
- 133 => "USER_EXPORT_TEMPLATE",
145
- 134 => "USER_EXPORT_TEMPLATE_FAILED",
146
- 135 => "TEMPLATE_IMPORT",
147
- 136 => "TEMPLATE_IMPORT_FAILED",
148
- 137 => "USER_FAILED_HOST_STOP",
149
- 138 => "VM_PAUSED_ENOSPC",
150
- 139 => "VM_PAUSED_ERROR",
151
- 140 => "VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTANANCE",
152
- 141 => "HOST_VERSION_NOT_SUPPORTED_FOR_CLUSTER",
153
- 142 => "VM_SET_TO_UNKNOWN_STATUS",
154
- 143 => "VM_WAS_SET_DOWN_DUE_TO_HOST_REBOOT_OR_MANUAL_FENCE",
155
- 144 => "VM_IMPORT_INFO",
156
- 145 => "VM_BLK_VIRTIO_NO_CACHE",
157
- 147 => "VM_SHUTDOWN_FAILED",
158
- 149 => "USER_ADD",
159
- 150 => "USER_INITIATED_RUN_VM",
160
- 151 => "USER_INITIATED_RUN_VM_FAILED",
161
- 152 => "USER_RUN_VM_ON_NON_DEFAULT_HOST",
162
- 153 => "USER_STARTED_VM",
163
- 182 => "USER_FAILED_ATTACH_USER_TO_VM",
164
- 201 => "IRS_DISK_SPACE_LOW_ERROR",
165
- 204 => "IRS_HOSTED_ON_HOST",
166
- 250 => "USER_UPDATE_VM_CLUSTER_DEFAULT_HOST_CLEARED",
167
- 251 => "USER_REMOVE_VM_TEMPLATE_FINISHED",
168
- 300 => "USER_ADD_VM_POOL",
169
- 301 => "USER_ADD_VM_POOL_FAILED",
170
- 302 => "USER_ADD_VM_POOL_WITH_VMS",
171
- 303 => "USER_ADD_VM_POOL_WITH_VMS_FAILED",
172
- 304 => "USER_REMOVE_VM_POOL",
173
- 305 => "USER_REMOVE_VM_POOL_FAILED",
174
- 306 => "USER_ADD_VM_TO_POOL",
175
- 307 => "USER_ADD_VM_TO_POOL_FAILED",
176
- 308 => "USER_REMOVE_VM_FROM_POOL",
177
- 309 => "USER_REMOVE_VM_FROM_POOL_FAILED",
178
- 310 => "USER_ATTACH_USER_TO_POOL",
179
- 311 => "USER_ATTACH_USER_TO_POOL_FAILED",
180
- 312 => "USER_DETACH_USER_FROM_POOL",
181
- 313 => "USER_DETACH_USER_FROM_POOL_FAILED",
182
- 314 => "USER_UPDATE_VM_POOL",
183
- 315 => "USER_UPDATE_VM_POOL_FAILED",
184
- 316 => "USER_ATTACH_USER_TO_VM_FROM_POOL",
185
- 317 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FAILED",
186
- 318 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_SUCCESS",
187
- 319 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_FAILURE",
188
- 320 => "USER_ADD_VM_POOL_WITH_VMS_ADD_HOST_FAILED",
189
- 325 => "USER_REMOVE_ADUSER",
190
- 326 => "USER_FAILED_REMOVE_ADUSER",
191
- 327 => "USER_FAILED_ADD_ADUSER",
192
- 328 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL",
193
- 329 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL_FAILED",
194
- 330 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL",
195
- 331 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED",
196
- 332 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL",
197
- 333 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
198
- 334 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL",
199
- 335 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED",
200
- 336 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL",
201
- 337 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL_FAILED",
202
- 338 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL",
203
- 339 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
204
- 342 => "USER_MERGE_SNAPSHOT",
205
- 343 => "USER_FAILED_MERGE_SNAPSHOT",
206
- 344 => "USER_UPDATE_VM_POOL_WITH_VMS",
207
- 345 => "USER_UPDATE_VM_POOL_WITH_VMS_FAILED",
208
- 346 => "USER_PASSWORD_CHANGED",
209
- 347 => "USER_PASSWORD_CHANGE_FAILED",
210
- 348 => "USER_CLEAR_UNKNOWN_VMS",
211
- 349 => "USER_FAILED_CLEAR_UNKNOWN_VMS",
212
- 350 => "USER_ADD_BOOKMARK",
213
- 351 => "USER_ADD_BOOKMARK_FAILED",
214
- 352 => "USER_UPDATE_BOOKMARK",
215
- 353 => "USER_UPDATE_BOOKMARK_FAILED",
216
- 354 => "USER_REMOVE_BOOKMARK",
217
- 355 => "USER_REMOVE_BOOKMARK_FAILED",
218
- 356 => "USER_MERGE_SNAPSHOT_FINISHED_SUCCESS",
219
- 357 => "USER_MERGE_SNAPSHOT_FINISHED_FAILURE",
220
- 360 => "USER_DETACH_USER_FROM_VM",
221
- 361 => "USER_FAILED_DETACH_USER_FROM_VM",
222
- 400 => "USER_ATTACH_VM_TO_AD_GROUP",
223
- 401 => "USER_ATTACH_VM_TO_AD_GROUP_FAILED",
224
- 402 => "USER_DETACH_VM_TO_AD_GROUP",
225
- 403 => "USER_DETACH_VM_TO_AD_GROUP_FAILED",
226
- 404 => "USER_ATTACH_VM_POOL_TO_AD_GROUP",
227
- 405 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED",
228
- 406 => "USER_DETACH_VM_POOL_TO_AD_GROUP",
229
- 407 => "USER_DETACH_VM_POOL_TO_AD_GROUP_FAILED",
230
- 408 => "USER_REMOVE_AD_GROUP",
231
- 409 => "USER_REMOVE_AD_GROUP_FAILED",
232
- 430 => "USER_UPDATE_TAG",
233
- 431 => "USER_UPDATE_TAG_FAILED",
234
- 432 => "USER_ADD_TAG",
235
- 433 => "USER_ADD_TAG_FAILED",
236
- 434 => "USER_REMOVE_TAG",
237
- 435 => "USER_REMOVE_TAG_FAILED",
238
- 436 => "USER_ATTACH_TAG_TO_USER",
239
- 437 => "USER_ATTACH_TAG_TO_USER_FAILED",
240
- 438 => "USER_ATTACH_TAG_TO_USER_GROUP",
241
- 439 => "USER_ATTACH_TAG_TO_USER_GROUP_FAILED",
242
- 440 => "USER_ATTACH_TAG_TO_VM",
243
- 441 => "USER_ATTACH_TAG_TO_VM_FAILED",
244
- 442 => "USER_ATTACH_TAG_TO_HOST",
245
- 443 => "USER_ATTACH_TAG_TO_HOST_FAILED",
246
- 444 => "USER_DETACH_HOST_FROM_TAG",
247
- 445 => "USER_DETACH_HOST_FROM_TAG_FAILED",
248
- 446 => "USER_DETACH_VM_FROM_TAG",
249
- 447 => "USER_DETACH_VM_FROM_TAG_FAILED",
250
- 448 => "USER_DETACH_USER_FROM_TAG",
251
- 449 => "USER_DETACH_USER_FROM_TAG_FAILED",
252
- 450 => "USER_DETACH_USER_GROUP_FROM_TAG",
253
- 451 => "USER_DETACH_USER_GROUP_FROM_TAG_FAILED",
254
- 452 => "USER_ATTACH_TAG_TO_USER_EXISTS",
255
- 453 => "USER_ATTACH_TAG_TO_USER_GROUP_EXISTS",
256
- 454 => "USER_ATTACH_TAG_TO_VM_EXISTS",
257
- 455 => "USER_ATTACH_TAG_TO_HOST_EXISTS",
258
- 456 => "USER_LOGGED_IN_VM",
259
- 457 => "USER_LOGGED_OUT_VM",
260
- 458 => "USER_LOCKED_VM",
261
- 459 => "USER_UNLOCKED_VM",
262
- 460 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_INTERNAL",
263
- 461 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
264
- 462 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_INTERNAL",
265
- 463 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
266
- 467 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE",
267
- 468 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE_FAILED",
268
- 470 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_INTERNAL",
269
- 471 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED_INTERNAL",
270
- 472 => "USER_ATTACH_USER_TO_POOL_INTERNAL",
271
- 473 => "USER_ATTACH_USER_TO_POOL_FAILED_INTERNAL",
272
- 494 => "HOST_MANUAL_FENCE_STATUS",
273
- 495 => "HOST_MANUAL_FENCE_STATUS_FAILED",
274
- 496 => "HOST_FENCE_STATUS",
275
- 497 => "HOST_FENCE_STATUS_FAILED",
276
- 498 => "HOST_APPROVE",
277
- 499 => "HOST_APPROVE_FAILED",
278
- 500 => "HOST_FAILED_TO_RUN_VMS",
279
- 501 => "USER_SUSPEND_VM",
280
- 502 => "USER_FAILED_SUSPEND_VM",
281
- 503 => "USER_SUSPEND_VM_OK",
282
- 504 => "HOST_INSTALL",
283
- 505 => "HOST_INSTALL_FAILED",
284
- 506 => "HOST_INITIATED_RUN_VM",
285
- 507 => "HOST_INITIATED_RUN_VM_FAILED",
286
- 509 => "HOST_INSTALL_IN_PROGRESS",
287
- 510 => "HOST_INSTALL_IN_PROGRESS_WARNING",
288
- 511 => "HOST_INSTALL_IN_PROGRESS_ERROR",
289
- 512 => "USER_SUSPEND_VM_FINISH_SUCCESS",
290
- 513 => "HOST_RECOVER_FAILED_VMS_UNKNOWN",
291
- 514 => "HOST_INITIALIZING",
292
- 515 => "HOST_CPU_LOWER_THAN_CLUSTER",
293
- 516 => "HOST_CPU_RETRIEVE_FAILED",
294
- 517 => "HOST_SET_NONOPERATIONAL",
295
- 518 => "HOST_SET_NONOPERATIONAL_FAILED",
296
- 519 => "HOST_SET_NONOPERATIONAL_NETWORK",
297
- 520 => "USER_ATTACH_USER_TO_VM",
298
- 521 => "USER_SUSPEND_VM_FINISH_FAILURE",
299
- 522 => "HOST_SET_NONOPERATIONAL_DOMAIN",
300
- 523 => "HOST_SET_NONOPERATIONAL_DOMAIN_FAILED",
301
- 524 => "HOST_DOMAIN_DELAY_INTERVAL",
302
- 525 => "AUTO_SUSPEND_VM_FINISH_SUCCESS",
303
- 526 => "AUTO_SUSPEND_VM_FINISH_FAILURE",
304
- 527 => "AUTO_FAILED_SUSPEND_VM",
305
- 528 => "USER_EJECT_VM_DISK",
306
- 529 => "USER_EJECT_VM_FLOPPY",
307
- 530 => "HOST_MANUAL_FENCE_FAILED_CALL_FENCE_SPM",
308
- 531 => "HOST_LOW_MEM",
309
- 533 => "VDS_HIGH_NETWORK_USE",
310
- 555 => "USER_MOVE_TAG",
311
- 556 => "USER_MOVE_TAG_FAILED",
312
- 600 => "USER_HOST_MAINTENANCE",
313
- 601 => "CPU_FLAGS_NX_IS_MISSING",
314
- 602 => "USER_HOST_MAINTENANCE_MIGRATION_FAILED",
315
- 603 => "HOST_SET_NONOPERATIONAL_IFACE_DOWN",
316
- 605 => "HOST_USED_AS_PROXY",
317
- 800 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_VDC",
318
- 801 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IMAGE_EXIST",
319
- 802 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_VDC",
320
- 803 => "IMAGES_SYNCRONIZER_SNAPSHOTS_NOT_ATTACHED_TO_VM_IN_VDC",
321
- 804 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IN_VDC",
322
- 805 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_IRS",
323
- 806 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_IRS",
324
- 807 => "IMAGES_SYNCRONIZER_DESKTOP_WITHOUT_TEMPLATE_VDC",
325
- 808 => "IMAGES_SYNCRONIZER_IMAGE_TEMPLATE_NOT_EXIST",
326
- 809 => "USER_ADD_HOST_GROUP",
327
- 810 => "USER_ADD_HOST_GROUP_FAILED",
328
- 811 => "USER_UPDATE_HOST_GROUP",
329
- 812 => "USER_UPDATE_HOST_GROUP_FAILED",
330
- 813 => "USER_REMOVE_HOST_GROUP",
331
- 814 => "USER_REMOVE_HOST_GROUP_FAILED",
332
- 815 => "USER_VDC_LOGOUT_FAILED",
333
- 816 => "MAC_POOL_EMPTY",
334
- 817 => "CERTIFICATE_FILE_NOT_FOUND",
335
- 818 => "RUN_VM_FAILED",
336
- 819 => "HOST_REGISTER_ERROR_UPDATING_HOST",
337
- 820 => "HOST_REGISTER_ERROR_UPDATING_HOST_ALL_TAKEN",
338
- 821 => "HOST_REGISTER_HOST_IS_ACTIVE",
339
- 822 => "HOST_REGISTER_ERROR_UPDATING_NAME",
340
- 823 => "HOST_REGISTER_ERROR_UPDATING_NAMES_ALL_TAKEN",
341
- 824 => "HOST_REGISTER_NAME_IS_ACTIVE",
342
- 825 => "HOST_REGISTER_AUTO_APPROVE_PATTERN",
343
- 826 => "HOST_REGISTER_FAILED",
344
- 827 => "HOST_REGISTER_EXISTING_HOST_UPDATE_FAILED",
345
- 828 => "HOST_REGISTER_SUCCEEDED",
346
- 829 => "VM_MIGRATION_ON_CONNECT_CHECK_FAILED",
347
- 830 => "VM_MIGRATION_ON_CONNECT_CHECK_SUCCEEDED",
348
- 831 => "USER_DEDICATE_VM_TO_POWERCLIENT",
349
- 832 => "USER_DEDICATE_VM_TO_POWERCLIENT_FAILED",
350
- 833 => "MAC_ADDRESS_IS_IN_USE",
351
- 835 => "SYSTEM_UPDATE_HOST_GROUP",
352
- 836 => "SYSTEM_UPDATE_HOST_GROUP_FAILED",
353
- 850 => "USER_ADD_PERMISSION",
354
- 851 => "USER_ADD_PERMISSION_FAILED",
355
- 852 => "USER_REMOVE_PERMISSION",
356
- 853 => "USER_REMOVE_PERMISSION_FAILED",
357
- 854 => "USER_ADD_ROLE",
358
- 855 => "USER_ADD_ROLE_FAILED",
359
- 856 => "USER_UPDATE_ROLE",
360
- 857 => "USER_UPDATE_ROLE_FAILED",
361
- 858 => "USER_REMOVE_ROLE",
362
- 859 => "USER_REMOVE_ROLE_FAILED",
363
- 860 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE",
364
- 861 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE_FAILED",
365
- 862 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE",
366
- 863 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE_FAILED",
367
- 864 => "USER_ADD_ROLE_WITH_ACTION_GROUP",
368
- 865 => "USER_ADD_ROLE_WITH_ACTION_GROUP_FAILED",
369
- 900 => "AD_COMPUTER_ACCOUNT_SUCCEEDED",
370
- 901 => "AD_COMPUTER_ACCOUNT_FAILED",
371
- 920 => "NETWORK_ATTACH_NETWORK_TO_HOST",
372
- 921 => "NETWORK_ATTACH_NETWORK_TO_HOST_FAILED",
373
- 922 => "NETWORK_DETACH_NETWORK_FROM_HOST",
374
- 923 => "NETWORK_DETACH_NETWORK_FROM_HOST_FAILED",
375
- 924 => "NETWORK_ADD_BOND",
376
- 925 => "NETWORK_ADD_BOND_FAILED",
377
- 926 => "NETWORK_REMOVE_BOND",
378
- 927 => "NETWORK_REMOVE_BOND_FAILED",
379
- 928 => "NETWORK_HOST_NETWORK_MATCH_CLUSTER",
380
- 929 => "NETWORK_HOST_NETWORK_NOT_MATCH_CLUSTER",
381
- 930 => "NETWORK_REMOVE_VM_INTERFACE",
382
- 931 => "NETWORK_REMOVE_VM_INTERFACE_FAILED",
383
- 932 => "NETWORK_ADD_VM_INTERFACE",
384
- 933 => "NETWORK_ADD_VM_INTERFACE_FAILED",
385
- 934 => "NETWORK_UPDATE_VM_INTERFACE",
386
- 935 => "NETWORK_UPDATE_VM_INTERFACE_FAILED",
387
- 936 => "NETWORK_ADD_TEMPLATE_INTERFACE",
388
- 937 => "NETWORK_ADD_TEMPLATE_INTERFACE_FAILED",
389
- 938 => "NETWORK_REMOVE_TEMPLATE_INTERFACE",
390
- 939 => "NETWORK_REMOVE_TEMPLATE_INTERFACE_FAILED",
391
- 940 => "NETWORK_UPDATE_TEMPLATE_INTERFACE",
392
- 941 => "NETWORK_UPDATE_TEMPLATE_INTERFACE_FAILED",
393
- 942 => "NETWORK_ADD_NETWORK",
394
- 943 => "NETWORK_ADD_NETWORK_FAILED",
395
- 944 => "NETWORK_REMOVE_NETWORK",
396
- 945 => "NETWORK_REMOVE_NETWORK_FAILED",
397
- 946 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP",
398
- 947 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED",
399
- 948 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP",
400
- 949 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED",
401
- 950 => "USER_ADD_STORAGE_POOL",
402
- 951 => "USER_ADD_STORAGE_POOL_FAILED",
403
- 952 => "USER_UPDATE_STORAGE_POOL",
404
- 953 => "USER_UPDATE_STORAGE_POOL_FAILED",
405
- 954 => "USER_REMOVE_STORAGE_POOL",
406
- 955 => "USER_REMOVE_STORAGE_POOL_FAILED",
407
- 956 => "USER_ADD_STORAGE_DOMAIN",
408
- 957 => "USER_ADD_STORAGE_DOMAIN_FAILED",
409
- 958 => "USER_UPDATE_STORAGE_DOMAIN",
410
- 959 => "USER_UPDATE_STORAGE_DOMAIN_FAILED",
411
- 960 => "USER_REMOVE_STORAGE_DOMAIN",
412
- 961 => "USER_REMOVE_STORAGE_DOMAIN_FAILED",
413
- 962 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL",
414
- 963 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED",
415
- 964 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL",
416
- 965 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED",
417
- 966 => "USER_ACTIVATED_STORAGE_DOMAIN",
418
- 967 => "USER_ACTIVATE_STORAGE_DOMAIN_FAILED",
419
- 968 => "USER_DEACTIVATED_STORAGE_DOMAIN",
420
- 969 => "USER_DEACTIVATE_STORAGE_DOMAIN_FAILED",
421
- 970 => "SYSTEM_DEACTIVATED_STORAGE_DOMAIN",
422
- 971 => "SYSTEM_DEACTIVATE_STORAGE_DOMAIN_FAILED",
423
- 972 => "USER_EXTENDED_STORAGE_DOMAIN",
424
- 973 => "USER_EXTENDED_STORAGE_DOMAIN_FAILED",
425
- 974 => "USER_REMOVE_VG",
426
- 975 => "USER_REMOVE_VG_FAILED",
427
- 976 => "USER_ACTIVATE_STORAGE_POOL",
428
- 977 => "USER_ACTIVATE_STORAGE_POOL_FAILED",
429
- 978 => "SYSTEM_FAILED_CHANGE_STORAGE_POOL_STATUS",
430
- 979 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM",
431
- 980 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC",
432
- 981 => "USER_FORCE_REMOVE_STORAGE_DOMAIN",
433
- 982 => "USER_FORCE_REMOVE_STORAGE_DOMAIN_FAILED",
434
- 983 => "RECONSTRUCT_MASTER_FAILED_NO_MASTER",
435
- 984 => "RECONSTRUCT_MASTER_DONE",
436
- 985 => "RECONSTRUCT_MASTER_FAILED",
437
- 986 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_SEARCHING_NEW_SPM",
438
- 987 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR",
439
- 988 => "USER_CONNECT_HOSTS_TO_LUN_FAILED",
440
- 989 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_FROM_NON_OPERATIONAL",
441
- 990 => "SYSTEM_MASTER_DOMAIN_NOT_IN_SYNC",
442
- 991 => "RECOVERY_STORAGE_POOL",
443
- 992 => "RECOVERY_STORAGE_POOL_FAILED",
444
- 993 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_RESET_IRS",
445
- 994 => "CONNECT_STORAGE_SERVERS_FAILED",
446
- 995 => "CONNECT_STORAGE_POOL_FAILED",
447
- 996 => "STORAGE_DOMAIN_ERROR",
448
- 998 => "ISO_DOMAIN_REFRESH_SUCCESSFUL",
449
- 1012 => "NETWORK_INTERFACE_PLUGGED_INTO_VM",
450
- 1100 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP",
451
- 1101 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED",
452
- 1102 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE",
453
- 1103 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE_FAILED",
454
- 1104 => "NETWORK_COMMINT_NETWORK_CHANGES",
455
- 1105 => "NETWORK_COMMINT_NETWORK_CHANGES_FAILED",
456
- 1106 => "NETWORK_HOST_USING_WRONG_CLUSER_VLAN",
457
- 1107 => "NETWORK_HOST_MISSING_CLUSER_VLAN",
458
- 1150 => "IMPORTEXPORT_EXPORT_VM",
459
- 1151 => "IMPORTEXPORT_EXPORT_VM_FAILED",
460
- 1152 => "IMPORTEXPORT_IMPORT_VM",
461
- 1153 => "IMPORTEXPORT_IMPORT_VM_FAILED",
462
- 1154 => "IMPORTEXPORT_REMOVE_TEMPLATE",
463
- 1155 => "IMPORTEXPORT_REMOVE_TEMPLATE_FAILED",
464
- 1156 => "IMPORTEXPORT_EXPORT_TEMPLATE",
465
- 1157 => "IMPORTEXPORT_EXPORT_TEMPLATE_FAILED",
466
- 1158 => "IMPORTEXPORT_IMPORT_TEMPLATE",
467
- 1159 => "IMPORTEXPORT_IMPORT_TEMPLATE_FAILED",
468
- 1160 => "IMPORTEXPORT_REMOVE_VM",
469
- 1161 => "IMPORTEXPORT_REMOVE_VM_FAILED",
470
- 1162 => "IMPORTEXPORT_STARTING_EXPORT_VM",
471
- 1163 => "IMPORTEXPORT_STARTING_IMPORT_TEMPLATE",
472
- 1164 => "IMPORTEXPORT_STARTING_EXPORT_TEMPLATE",
473
- 1165 => "IMPORTEXPORT_STARTING_IMPORT_VM",
474
- 1166 => "IMPORTEXPORT_STARTING_REMOVE_TEMPLATE",
475
- 1167 => "IMPORTEXPORT_STARTING_REMOVE_VM",
476
- 1168 => "IMPORTEXPORT_FAILED_TO_IMPORT_VM",
477
- 1169 => "IMPORTEXPORT_FAILED_TO_IMPORT_TEMPLATE",
478
- 1200 => "VM_RENAMED",
479
- 9000 => "HOST_ALERT_FENCING_IS_NOT_CONFIGURED",
480
- 9001 => "HOST_ALERT_FENCING_TEST_FAILED",
481
- 9002 => "HOST_ALERT_FENCING_OPERATION_FAILED",
482
- 9003 => "HOST_ALERT_FENCING_OPERATION_SKIPPED",
483
- 9004 => "HOST_ALERT_FENCING_NO_PROXY_HOST",
484
- 9500 => "TASK_STOPPING_ASYNC_TASK",
485
- 9501 => "TASK_CLEARING_ASYNC_TASK",
486
- }
27
+ 0 => "UNASSIGNED",
28
+ 1 => "VDC_START",
29
+ 2 => "VDC_STOP",
30
+ 12 => "HOST_FAILURE",
31
+ 13 => "HOST_DETECTED",
32
+ 14 => "HOST_RECOVER",
33
+ 15 => "HOST_MAINTENANCE",
34
+ 16 => "HOST_ACTIVATE",
35
+ 17 => "HOST_MAINTENANCE_FAILED",
36
+ 18 => "HOST_ACTIVATE_FAILED",
37
+ 19 => "HOST_RECOVER_FAILED",
38
+ 20 => "USER_HOST_START",
39
+ 21 => "USER_HOST_STOP",
40
+ 22 => "IRS_FAILURE",
41
+ 26 => "IRS_DISK_SPACE_LOW",
42
+ 30 => "USER_VDC_LOGIN",
43
+ 31 => "USER_VDC_LOGOUT",
44
+ 32 => "USER_RUN_VM",
45
+ 33 => "USER_STOP_VM",
46
+ 34 => "USER_ADD_VM",
47
+ 35 => "USER_UPDATE_VM",
48
+ 36 => "USER_REMOVE_VM",
49
+ 37 => "USER_ADD_VM_STARTED",
50
+ 38 => "USER_CHANGE_DISK_VM",
51
+ 39 => "USER_PAUSE_VM",
52
+ 40 => "USER_RESUME_VM",
53
+ 41 => "USER_HOST_RESTART",
54
+ 42 => "USER_ADD_HOST",
55
+ 43 => "USER_UPDATE_HOST",
56
+ 44 => "USER_REMOVE_HOST",
57
+ 45 => "USER_CREATE_SNAPSHOT",
58
+ 46 => "USER_TRY_BACK_TO_SNAPSHOT",
59
+ 47 => "USER_RESTORE_FROM_SNAPSHOT",
60
+ 48 => "USER_ADD_VM_TEMPLATE",
61
+ 49 => "USER_UPDATE_VM_TEMPLATE",
62
+ 50 => "USER_REMOVE_VM_TEMPLATE",
63
+ 51 => "USER_ADD_VM_TEMPLATE_FINISHED_SUCCESS",
64
+ 52 => "USER_ADD_VM_TEMPLATE_FINISHED_FAILURE",
65
+ 53 => "USER_ADD_VM_FINISHED_SUCCESS",
66
+ 54 => "USER_FAILED_RUN_VM",
67
+ 55 => "USER_FAILED_PAUSE_VM",
68
+ 56 => "USER_FAILED_STOP_VM",
69
+ 57 => "USER_FAILED_ADD_VM",
70
+ 58 => "USER_FAILED_UPDATE_VM",
71
+ 59 => "USER_FAILED_REMOVE_VM",
72
+ 60 => "USER_ADD_VM_FINISHED_FAILURE",
73
+ 61 => "VM_DOWN",
74
+ 62 => "VM_MIGRATION_START",
75
+ 63 => "VM_MIGRATION_DONE",
76
+ 64 => "VM_MIGRATION_ABORT",
77
+ 65 => "VM_MIGRATION_FAILED",
78
+ 66 => "VM_FAILURE",
79
+ 68 => "USER_CREATE_SNAPSHOT_FINISHED_SUCCESS",
80
+ 69 => "USER_CREATE_SNAPSHOT_FINISHED_FAILURE",
81
+ 70 => "USER_RUN_VM_AS_STATELESS_FINISHED_FAILURE",
82
+ 71 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_SUCCESS",
83
+ 72 => "USER_CHANGE_FLOPPY_VM",
84
+ 73 => "USER_INITIATED_SHUTDOWN_VM",
85
+ 74 => "USER_FAILED_SHUTDOWN_VM",
86
+ 75 => "USER_FAILED_CHANGE_FLOPPY_VM",
87
+ 76 => "USER_STOPPED_VM_INSTEAD_OF_SHUTDOWN",
88
+ 77 => "USER_FAILED_STOPPING_VM_INSTEAD_OF_SHUTDOWN",
89
+ 78 => "USER_ADD_DISK_TO_VM",
90
+ 79 => "USER_FAILED_ADD_DISK_TO_VM",
91
+ 80 => "USER_REMOVE_DISK_FROM_VM",
92
+ 81 => "USER_FAILED_REMOVE_DISK_FROM_VM",
93
+ 82 => "USER_MOVED_VM",
94
+ 83 => "USER_FAILED_MOVE_VM",
95
+ 84 => "USER_MOVED_TEMPLATE",
96
+ 85 => "USER_FAILED_MOVE_TEMPLATE",
97
+ 86 => "USER_COPIED_TEMPLATE",
98
+ 87 => "USER_FAILED_COPY_TEMPLATE",
99
+ 88 => "USER_UPDATE_VM_DISK",
100
+ 89 => "USER_FAILED_UPDATE_VM_DISK",
101
+ 90 => "USER_HOST_SHUTDOWN",
102
+ 91 => "USER_MOVED_VM_FINISHED_SUCCESS",
103
+ 92 => "USER_MOVED_VM_FINISHED_FAILURE",
104
+ 93 => "USER_MOVED_TEMPLATE_FINISHED_SUCCESS",
105
+ 94 => "USER_MOVED_TEMPLATE_FINISHED_FAILURE",
106
+ 95 => "USER_COPIED_TEMPLATE_FINISHED_SUCCESS",
107
+ 96 => "USER_COPIED_TEMPLATE_FINISHED_FAILURE",
108
+ 97 => "USER_ADD_DISK_TO_VM_FINISHED_SUCCESS",
109
+ 98 => "USER_ADD_DISK_TO_VM_FINISHED_FAILURE",
110
+ 99 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE",
111
+ 100 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_SUCCESS",
112
+ 101 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_FAILURE",
113
+ 102 => "USER_FAILED_CHANGE_DISK_VM",
114
+ 103 => "USER_FAILED_RESUME_VM",
115
+ 104 => "USER_FAILED_ADD_HOST",
116
+ 105 => "USER_FAILED_UPDATE_HOST",
117
+ 106 => "USER_FAILED_REMOVE_HOST",
118
+ 107 => "USER_FAILED_HOST_RESTART",
119
+ 108 => "USER_FAILED_ADD_VM_TEMPLATE",
120
+ 109 => "USER_FAILED_UPDATE_VM_TEMPLATE",
121
+ 110 => "USER_FAILED_REMOVE_VM_TEMPLATE",
122
+ 111 => "USER_STOP_SUSPENDED_VM",
123
+ 112 => "USER_STOP_SUSPENDED_VM_FAILED",
124
+ 113 => "USER_REMOVE_VM_FINISHED",
125
+ 114 => "USER_VDC_LOGIN_FAILED",
126
+ 115 => "USER_FAILED_TRY_BACK_TO_SNAPSHOT",
127
+ 116 => "USER_FAILED_RESTORE_FROM_SNAPSHOT",
128
+ 117 => "USER_FAILED_CREATE_SNAPSHOT",
129
+ 118 => "USER_FAILED_HOST_START",
130
+ 119 => "VM_DOWN_ERROR",
131
+ 120 => "VM_MIGRATION_FAILED_FROM_TO",
132
+ 121 => "SYSTEM_HOST_RESTART",
133
+ 122 => "SYSTEM_FAILED_HOST_RESTART",
134
+ 123 => "HOST_SLOW_STORAGE_RESPONSE_TIME",
135
+ 124 => "VM_IMPORT",
136
+ 125 => "VM_IMPORT_FAILED",
137
+ 126 => "VM_NOT_RESPONDING",
138
+ 127 => "HOST_RUN_IN_NO_KVM_MODE",
139
+ 128 => "VM_MIGRATION_TRYING_RERUN",
140
+ 129 => "VM_CLEARED",
141
+ 130 => "USER_FAILED_HOST_SHUTDOWN",
142
+ 131 => "USER_EXPORT_VM",
143
+ 132 => "USER_EXPORT_VM_FAILED",
144
+ 133 => "USER_EXPORT_TEMPLATE",
145
+ 134 => "USER_EXPORT_TEMPLATE_FAILED",
146
+ 135 => "TEMPLATE_IMPORT",
147
+ 136 => "TEMPLATE_IMPORT_FAILED",
148
+ 137 => "USER_FAILED_HOST_STOP",
149
+ 138 => "VM_PAUSED_ENOSPC",
150
+ 139 => "VM_PAUSED_ERROR",
151
+ 140 => "VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTANANCE",
152
+ 141 => "HOST_VERSION_NOT_SUPPORTED_FOR_CLUSTER",
153
+ 142 => "VM_SET_TO_UNKNOWN_STATUS",
154
+ 143 => "VM_WAS_SET_DOWN_DUE_TO_HOST_REBOOT_OR_MANUAL_FENCE",
155
+ 144 => "VM_IMPORT_INFO",
156
+ 145 => "VM_BLK_VIRTIO_NO_CACHE",
157
+ 147 => "VM_SHUTDOWN_FAILED",
158
+ 149 => "USER_ADD",
159
+ 150 => "USER_INITIATED_RUN_VM",
160
+ 151 => "USER_INITIATED_RUN_VM_FAILED",
161
+ 152 => "USER_RUN_VM_ON_NON_DEFAULT_HOST",
162
+ 153 => "USER_STARTED_VM",
163
+ 182 => "USER_FAILED_ATTACH_USER_TO_VM",
164
+ 201 => "IRS_DISK_SPACE_LOW_ERROR",
165
+ 204 => "IRS_HOSTED_ON_HOST",
166
+ 250 => "USER_UPDATE_VM_CLUSTER_DEFAULT_HOST_CLEARED",
167
+ 251 => "USER_REMOVE_VM_TEMPLATE_FINISHED",
168
+ 300 => "USER_ADD_VM_POOL",
169
+ 301 => "USER_ADD_VM_POOL_FAILED",
170
+ 302 => "USER_ADD_VM_POOL_WITH_VMS",
171
+ 303 => "USER_ADD_VM_POOL_WITH_VMS_FAILED",
172
+ 304 => "USER_REMOVE_VM_POOL",
173
+ 305 => "USER_REMOVE_VM_POOL_FAILED",
174
+ 306 => "USER_ADD_VM_TO_POOL",
175
+ 307 => "USER_ADD_VM_TO_POOL_FAILED",
176
+ 308 => "USER_REMOVE_VM_FROM_POOL",
177
+ 309 => "USER_REMOVE_VM_FROM_POOL_FAILED",
178
+ 310 => "USER_ATTACH_USER_TO_POOL",
179
+ 311 => "USER_ATTACH_USER_TO_POOL_FAILED",
180
+ 312 => "USER_DETACH_USER_FROM_POOL",
181
+ 313 => "USER_DETACH_USER_FROM_POOL_FAILED",
182
+ 314 => "USER_UPDATE_VM_POOL",
183
+ 315 => "USER_UPDATE_VM_POOL_FAILED",
184
+ 316 => "USER_ATTACH_USER_TO_VM_FROM_POOL",
185
+ 317 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FAILED",
186
+ 318 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_SUCCESS",
187
+ 319 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_FAILURE",
188
+ 320 => "USER_ADD_VM_POOL_WITH_VMS_ADD_HOST_FAILED",
189
+ 325 => "USER_REMOVE_ADUSER",
190
+ 326 => "USER_FAILED_REMOVE_ADUSER",
191
+ 327 => "USER_FAILED_ADD_ADUSER",
192
+ 328 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL",
193
+ 329 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL_FAILED",
194
+ 330 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL",
195
+ 331 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED",
196
+ 332 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL",
197
+ 333 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
198
+ 334 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL",
199
+ 335 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED",
200
+ 336 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL",
201
+ 337 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL_FAILED",
202
+ 338 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL",
203
+ 339 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
204
+ 342 => "USER_MERGE_SNAPSHOT",
205
+ 343 => "USER_FAILED_MERGE_SNAPSHOT",
206
+ 344 => "USER_UPDATE_VM_POOL_WITH_VMS",
207
+ 345 => "USER_UPDATE_VM_POOL_WITH_VMS_FAILED",
208
+ 346 => "USER_PASSWORD_CHANGED",
209
+ 347 => "USER_PASSWORD_CHANGE_FAILED",
210
+ 348 => "USER_CLEAR_UNKNOWN_VMS",
211
+ 349 => "USER_FAILED_CLEAR_UNKNOWN_VMS",
212
+ 350 => "USER_ADD_BOOKMARK",
213
+ 351 => "USER_ADD_BOOKMARK_FAILED",
214
+ 352 => "USER_UPDATE_BOOKMARK",
215
+ 353 => "USER_UPDATE_BOOKMARK_FAILED",
216
+ 354 => "USER_REMOVE_BOOKMARK",
217
+ 355 => "USER_REMOVE_BOOKMARK_FAILED",
218
+ 356 => "USER_MERGE_SNAPSHOT_FINISHED_SUCCESS",
219
+ 357 => "USER_MERGE_SNAPSHOT_FINISHED_FAILURE",
220
+ 360 => "USER_DETACH_USER_FROM_VM",
221
+ 361 => "USER_FAILED_DETACH_USER_FROM_VM",
222
+ 400 => "USER_ATTACH_VM_TO_AD_GROUP",
223
+ 401 => "USER_ATTACH_VM_TO_AD_GROUP_FAILED",
224
+ 402 => "USER_DETACH_VM_TO_AD_GROUP",
225
+ 403 => "USER_DETACH_VM_TO_AD_GROUP_FAILED",
226
+ 404 => "USER_ATTACH_VM_POOL_TO_AD_GROUP",
227
+ 405 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED",
228
+ 406 => "USER_DETACH_VM_POOL_TO_AD_GROUP",
229
+ 407 => "USER_DETACH_VM_POOL_TO_AD_GROUP_FAILED",
230
+ 408 => "USER_REMOVE_AD_GROUP",
231
+ 409 => "USER_REMOVE_AD_GROUP_FAILED",
232
+ 430 => "USER_UPDATE_TAG",
233
+ 431 => "USER_UPDATE_TAG_FAILED",
234
+ 432 => "USER_ADD_TAG",
235
+ 433 => "USER_ADD_TAG_FAILED",
236
+ 434 => "USER_REMOVE_TAG",
237
+ 435 => "USER_REMOVE_TAG_FAILED",
238
+ 436 => "USER_ATTACH_TAG_TO_USER",
239
+ 437 => "USER_ATTACH_TAG_TO_USER_FAILED",
240
+ 438 => "USER_ATTACH_TAG_TO_USER_GROUP",
241
+ 439 => "USER_ATTACH_TAG_TO_USER_GROUP_FAILED",
242
+ 440 => "USER_ATTACH_TAG_TO_VM",
243
+ 441 => "USER_ATTACH_TAG_TO_VM_FAILED",
244
+ 442 => "USER_ATTACH_TAG_TO_HOST",
245
+ 443 => "USER_ATTACH_TAG_TO_HOST_FAILED",
246
+ 444 => "USER_DETACH_HOST_FROM_TAG",
247
+ 445 => "USER_DETACH_HOST_FROM_TAG_FAILED",
248
+ 446 => "USER_DETACH_VM_FROM_TAG",
249
+ 447 => "USER_DETACH_VM_FROM_TAG_FAILED",
250
+ 448 => "USER_DETACH_USER_FROM_TAG",
251
+ 449 => "USER_DETACH_USER_FROM_TAG_FAILED",
252
+ 450 => "USER_DETACH_USER_GROUP_FROM_TAG",
253
+ 451 => "USER_DETACH_USER_GROUP_FROM_TAG_FAILED",
254
+ 452 => "USER_ATTACH_TAG_TO_USER_EXISTS",
255
+ 453 => "USER_ATTACH_TAG_TO_USER_GROUP_EXISTS",
256
+ 454 => "USER_ATTACH_TAG_TO_VM_EXISTS",
257
+ 455 => "USER_ATTACH_TAG_TO_HOST_EXISTS",
258
+ 456 => "USER_LOGGED_IN_VM",
259
+ 457 => "USER_LOGGED_OUT_VM",
260
+ 458 => "USER_LOCKED_VM",
261
+ 459 => "USER_UNLOCKED_VM",
262
+ 460 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_INTERNAL",
263
+ 461 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
264
+ 462 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_INTERNAL",
265
+ 463 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
266
+ 467 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE",
267
+ 468 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE_FAILED",
268
+ 470 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_INTERNAL",
269
+ 471 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED_INTERNAL",
270
+ 472 => "USER_ATTACH_USER_TO_POOL_INTERNAL",
271
+ 473 => "USER_ATTACH_USER_TO_POOL_FAILED_INTERNAL",
272
+ 494 => "HOST_MANUAL_FENCE_STATUS",
273
+ 495 => "HOST_MANUAL_FENCE_STATUS_FAILED",
274
+ 496 => "HOST_FENCE_STATUS",
275
+ 497 => "HOST_FENCE_STATUS_FAILED",
276
+ 498 => "HOST_APPROVE",
277
+ 499 => "HOST_APPROVE_FAILED",
278
+ 500 => "HOST_FAILED_TO_RUN_VMS",
279
+ 501 => "USER_SUSPEND_VM",
280
+ 502 => "USER_FAILED_SUSPEND_VM",
281
+ 503 => "USER_SUSPEND_VM_OK",
282
+ 504 => "HOST_INSTALL",
283
+ 505 => "HOST_INSTALL_FAILED",
284
+ 506 => "HOST_INITIATED_RUN_VM",
285
+ 507 => "HOST_INITIATED_RUN_VM_FAILED",
286
+ 509 => "HOST_INSTALL_IN_PROGRESS",
287
+ 510 => "HOST_INSTALL_IN_PROGRESS_WARNING",
288
+ 511 => "HOST_INSTALL_IN_PROGRESS_ERROR",
289
+ 512 => "USER_SUSPEND_VM_FINISH_SUCCESS",
290
+ 513 => "HOST_RECOVER_FAILED_VMS_UNKNOWN",
291
+ 514 => "HOST_INITIALIZING",
292
+ 515 => "HOST_CPU_LOWER_THAN_CLUSTER",
293
+ 516 => "HOST_CPU_RETRIEVE_FAILED",
294
+ 517 => "HOST_SET_NONOPERATIONAL",
295
+ 518 => "HOST_SET_NONOPERATIONAL_FAILED",
296
+ 519 => "HOST_SET_NONOPERATIONAL_NETWORK",
297
+ 520 => "USER_ATTACH_USER_TO_VM",
298
+ 521 => "USER_SUSPEND_VM_FINISH_FAILURE",
299
+ 522 => "HOST_SET_NONOPERATIONAL_DOMAIN",
300
+ 523 => "HOST_SET_NONOPERATIONAL_DOMAIN_FAILED",
301
+ 524 => "HOST_DOMAIN_DELAY_INTERVAL",
302
+ 525 => "AUTO_SUSPEND_VM_FINISH_SUCCESS",
303
+ 526 => "AUTO_SUSPEND_VM_FINISH_FAILURE",
304
+ 527 => "AUTO_FAILED_SUSPEND_VM",
305
+ 528 => "USER_EJECT_VM_DISK",
306
+ 529 => "USER_EJECT_VM_FLOPPY",
307
+ 530 => "HOST_MANUAL_FENCE_FAILED_CALL_FENCE_SPM",
308
+ 531 => "HOST_LOW_MEM",
309
+ 533 => "VDS_HIGH_NETWORK_USE",
310
+ 555 => "USER_MOVE_TAG",
311
+ 556 => "USER_MOVE_TAG_FAILED",
312
+ 600 => "USER_HOST_MAINTENANCE",
313
+ 601 => "CPU_FLAGS_NX_IS_MISSING",
314
+ 602 => "USER_HOST_MAINTENANCE_MIGRATION_FAILED",
315
+ 603 => "HOST_SET_NONOPERATIONAL_IFACE_DOWN",
316
+ 605 => "HOST_USED_AS_PROXY",
317
+ 620 => "USER_HOST_MAINTENANCE",
318
+ 800 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_VDC",
319
+ 801 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IMAGE_EXIST",
320
+ 802 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_VDC",
321
+ 803 => "IMAGES_SYNCRONIZER_SNAPSHOTS_NOT_ATTACHED_TO_VM_IN_VDC",
322
+ 804 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IN_VDC",
323
+ 805 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_IRS",
324
+ 806 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_IRS",
325
+ 807 => "IMAGES_SYNCRONIZER_DESKTOP_WITHOUT_TEMPLATE_VDC",
326
+ 808 => "IMAGES_SYNCRONIZER_IMAGE_TEMPLATE_NOT_EXIST",
327
+ 809 => "USER_ADD_HOST_GROUP",
328
+ 810 => "USER_ADD_HOST_GROUP_FAILED",
329
+ 811 => "USER_UPDATE_HOST_GROUP",
330
+ 812 => "USER_UPDATE_HOST_GROUP_FAILED",
331
+ 813 => "USER_REMOVE_HOST_GROUP",
332
+ 814 => "USER_REMOVE_HOST_GROUP_FAILED",
333
+ 815 => "USER_VDC_LOGOUT_FAILED",
334
+ 816 => "MAC_POOL_EMPTY",
335
+ 817 => "CERTIFICATE_FILE_NOT_FOUND",
336
+ 818 => "RUN_VM_FAILED",
337
+ 819 => "HOST_REGISTER_ERROR_UPDATING_HOST",
338
+ 820 => "HOST_REGISTER_ERROR_UPDATING_HOST_ALL_TAKEN",
339
+ 821 => "HOST_REGISTER_HOST_IS_ACTIVE",
340
+ 822 => "HOST_REGISTER_ERROR_UPDATING_NAME",
341
+ 823 => "HOST_REGISTER_ERROR_UPDATING_NAMES_ALL_TAKEN",
342
+ 824 => "HOST_REGISTER_NAME_IS_ACTIVE",
343
+ 825 => "HOST_REGISTER_AUTO_APPROVE_PATTERN",
344
+ 826 => "HOST_REGISTER_FAILED",
345
+ 827 => "HOST_REGISTER_EXISTING_HOST_UPDATE_FAILED",
346
+ 828 => "HOST_REGISTER_SUCCEEDED",
347
+ 829 => "VM_MIGRATION_ON_CONNECT_CHECK_FAILED",
348
+ 830 => "VM_MIGRATION_ON_CONNECT_CHECK_SUCCEEDED",
349
+ 831 => "USER_DEDICATE_VM_TO_POWERCLIENT",
350
+ 832 => "USER_DEDICATE_VM_TO_POWERCLIENT_FAILED",
351
+ 833 => "MAC_ADDRESS_IS_IN_USE",
352
+ 835 => "SYSTEM_UPDATE_HOST_GROUP",
353
+ 836 => "SYSTEM_UPDATE_HOST_GROUP_FAILED",
354
+ 850 => "USER_ADD_PERMISSION",
355
+ 851 => "USER_ADD_PERMISSION_FAILED",
356
+ 852 => "USER_REMOVE_PERMISSION",
357
+ 853 => "USER_REMOVE_PERMISSION_FAILED",
358
+ 854 => "USER_ADD_ROLE",
359
+ 855 => "USER_ADD_ROLE_FAILED",
360
+ 856 => "USER_UPDATE_ROLE",
361
+ 857 => "USER_UPDATE_ROLE_FAILED",
362
+ 858 => "USER_REMOVE_ROLE",
363
+ 859 => "USER_REMOVE_ROLE_FAILED",
364
+ 860 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE",
365
+ 861 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE_FAILED",
366
+ 862 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE",
367
+ 863 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE_FAILED",
368
+ 864 => "USER_ADD_ROLE_WITH_ACTION_GROUP",
369
+ 865 => "USER_ADD_ROLE_WITH_ACTION_GROUP_FAILED",
370
+ 900 => "AD_COMPUTER_ACCOUNT_SUCCEEDED",
371
+ 901 => "AD_COMPUTER_ACCOUNT_FAILED",
372
+ 920 => "NETWORK_ATTACH_NETWORK_TO_HOST",
373
+ 921 => "NETWORK_ATTACH_NETWORK_TO_HOST_FAILED",
374
+ 922 => "NETWORK_DETACH_NETWORK_FROM_HOST",
375
+ 923 => "NETWORK_DETACH_NETWORK_FROM_HOST_FAILED",
376
+ 924 => "NETWORK_ADD_BOND",
377
+ 925 => "NETWORK_ADD_BOND_FAILED",
378
+ 926 => "NETWORK_REMOVE_BOND",
379
+ 927 => "NETWORK_REMOVE_BOND_FAILED",
380
+ 928 => "NETWORK_HOST_NETWORK_MATCH_CLUSTER",
381
+ 929 => "NETWORK_HOST_NETWORK_NOT_MATCH_CLUSTER",
382
+ 930 => "NETWORK_REMOVE_VM_INTERFACE",
383
+ 931 => "NETWORK_REMOVE_VM_INTERFACE_FAILED",
384
+ 932 => "NETWORK_ADD_VM_INTERFACE",
385
+ 933 => "NETWORK_ADD_VM_INTERFACE_FAILED",
386
+ 934 => "NETWORK_UPDATE_VM_INTERFACE",
387
+ 935 => "NETWORK_UPDATE_VM_INTERFACE_FAILED",
388
+ 936 => "NETWORK_ADD_TEMPLATE_INTERFACE",
389
+ 937 => "NETWORK_ADD_TEMPLATE_INTERFACE_FAILED",
390
+ 938 => "NETWORK_REMOVE_TEMPLATE_INTERFACE",
391
+ 939 => "NETWORK_REMOVE_TEMPLATE_INTERFACE_FAILED",
392
+ 940 => "NETWORK_UPDATE_TEMPLATE_INTERFACE",
393
+ 941 => "NETWORK_UPDATE_TEMPLATE_INTERFACE_FAILED",
394
+ 942 => "NETWORK_ADD_NETWORK",
395
+ 943 => "NETWORK_ADD_NETWORK_FAILED",
396
+ 944 => "NETWORK_REMOVE_NETWORK",
397
+ 945 => "NETWORK_REMOVE_NETWORK_FAILED",
398
+ 946 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP",
399
+ 947 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED",
400
+ 948 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP",
401
+ 949 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED",
402
+ 950 => "USER_ADD_STORAGE_POOL",
403
+ 951 => "USER_ADD_STORAGE_POOL_FAILED",
404
+ 952 => "USER_UPDATE_STORAGE_POOL",
405
+ 953 => "USER_UPDATE_STORAGE_POOL_FAILED",
406
+ 954 => "USER_REMOVE_STORAGE_POOL",
407
+ 955 => "USER_REMOVE_STORAGE_POOL_FAILED",
408
+ 956 => "USER_ADD_STORAGE_DOMAIN",
409
+ 957 => "USER_ADD_STORAGE_DOMAIN_FAILED",
410
+ 958 => "USER_UPDATE_STORAGE_DOMAIN",
411
+ 959 => "USER_UPDATE_STORAGE_DOMAIN_FAILED",
412
+ 960 => "USER_REMOVE_STORAGE_DOMAIN",
413
+ 961 => "USER_REMOVE_STORAGE_DOMAIN_FAILED",
414
+ 962 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL",
415
+ 963 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED",
416
+ 964 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL",
417
+ 965 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED",
418
+ 966 => "USER_ACTIVATED_STORAGE_DOMAIN",
419
+ 967 => "USER_ACTIVATE_STORAGE_DOMAIN_FAILED",
420
+ 968 => "USER_DEACTIVATED_STORAGE_DOMAIN",
421
+ 969 => "USER_DEACTIVATE_STORAGE_DOMAIN_FAILED",
422
+ 970 => "SYSTEM_DEACTIVATED_STORAGE_DOMAIN",
423
+ 971 => "SYSTEM_DEACTIVATE_STORAGE_DOMAIN_FAILED",
424
+ 972 => "USER_EXTENDED_STORAGE_DOMAIN",
425
+ 973 => "USER_EXTENDED_STORAGE_DOMAIN_FAILED",
426
+ 974 => "USER_REMOVE_VG",
427
+ 975 => "USER_REMOVE_VG_FAILED",
428
+ 976 => "USER_ACTIVATE_STORAGE_POOL",
429
+ 977 => "USER_ACTIVATE_STORAGE_POOL_FAILED",
430
+ 978 => "SYSTEM_FAILED_CHANGE_STORAGE_POOL_STATUS",
431
+ 979 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM",
432
+ 980 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC",
433
+ 981 => "USER_FORCE_REMOVE_STORAGE_DOMAIN",
434
+ 982 => "USER_FORCE_REMOVE_STORAGE_DOMAIN_FAILED",
435
+ 983 => "RECONSTRUCT_MASTER_FAILED_NO_MASTER",
436
+ 984 => "RECONSTRUCT_MASTER_DONE",
437
+ 985 => "RECONSTRUCT_MASTER_FAILED",
438
+ 986 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_SEARCHING_NEW_SPM",
439
+ 987 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR",
440
+ 988 => "USER_CONNECT_HOSTS_TO_LUN_FAILED",
441
+ 989 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_FROM_NON_OPERATIONAL",
442
+ 990 => "SYSTEM_MASTER_DOMAIN_NOT_IN_SYNC",
443
+ 991 => "RECOVERY_STORAGE_POOL",
444
+ 992 => "RECOVERY_STORAGE_POOL_FAILED",
445
+ 993 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_RESET_IRS",
446
+ 994 => "CONNECT_STORAGE_SERVERS_FAILED",
447
+ 995 => "CONNECT_STORAGE_POOL_FAILED",
448
+ 996 => "STORAGE_DOMAIN_ERROR",
449
+ 998 => "ISO_DOMAIN_REFRESH_SUCCESSFUL",
450
+ 1012 => "NETWORK_INTERFACE_PLUGGED_INTO_VM",
451
+ 1100 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP",
452
+ 1101 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED",
453
+ 1102 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE",
454
+ 1103 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE_FAILED",
455
+ 1104 => "NETWORK_COMMINT_NETWORK_CHANGES",
456
+ 1105 => "NETWORK_COMMINT_NETWORK_CHANGES_FAILED",
457
+ 1106 => "NETWORK_HOST_USING_WRONG_CLUSER_VLAN",
458
+ 1107 => "NETWORK_HOST_MISSING_CLUSER_VLAN",
459
+ 1150 => "IMPORTEXPORT_EXPORT_VM",
460
+ 1151 => "IMPORTEXPORT_EXPORT_VM_FAILED",
461
+ 1152 => "IMPORTEXPORT_IMPORT_VM",
462
+ 1153 => "IMPORTEXPORT_IMPORT_VM_FAILED",
463
+ 1154 => "IMPORTEXPORT_REMOVE_TEMPLATE",
464
+ 1155 => "IMPORTEXPORT_REMOVE_TEMPLATE_FAILED",
465
+ 1156 => "IMPORTEXPORT_EXPORT_TEMPLATE",
466
+ 1157 => "IMPORTEXPORT_EXPORT_TEMPLATE_FAILED",
467
+ 1158 => "IMPORTEXPORT_IMPORT_TEMPLATE",
468
+ 1159 => "IMPORTEXPORT_IMPORT_TEMPLATE_FAILED",
469
+ 1160 => "IMPORTEXPORT_REMOVE_VM",
470
+ 1161 => "IMPORTEXPORT_REMOVE_VM_FAILED",
471
+ 1162 => "IMPORTEXPORT_STARTING_EXPORT_VM",
472
+ 1163 => "IMPORTEXPORT_STARTING_IMPORT_TEMPLATE",
473
+ 1164 => "IMPORTEXPORT_STARTING_EXPORT_TEMPLATE",
474
+ 1165 => "IMPORTEXPORT_STARTING_IMPORT_VM",
475
+ 1166 => "IMPORTEXPORT_STARTING_REMOVE_TEMPLATE",
476
+ 1167 => "IMPORTEXPORT_STARTING_REMOVE_VM",
477
+ 1168 => "IMPORTEXPORT_FAILED_TO_IMPORT_VM",
478
+ 1169 => "IMPORTEXPORT_FAILED_TO_IMPORT_TEMPLATE",
479
+ 1200 => "VM_RENAMED",
480
+ 9000 => "HOST_ALERT_FENCING_IS_NOT_CONFIGURED",
481
+ 9001 => "HOST_ALERT_FENCING_TEST_FAILED",
482
+ 9002 => "HOST_ALERT_FENCING_OPERATION_FAILED",
483
+ 9003 => "HOST_ALERT_FENCING_OPERATION_SKIPPED",
484
+ 9004 => "HOST_ALERT_FENCING_NO_PROXY_HOST",
485
+ 9500 => "TASK_STOPPING_ASYNC_TASK",
486
+ 9501 => "TASK_CLEARING_ASYNC_TASK",
487
+ 10452 => "USER_HOST_MAINTENANCE",
488
+ 10453 => "USER_HOST_MAINTENANCE"
489
+ }.freeze
487
490
  end
488
491
  end
data/lib/ovirt/logging.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  module Ovirt
2
2
  module Logging
3
- delegate :logger, :to => :Ovirt
3
+ def logger
4
+ Ovirt.logger
5
+ end
4
6
  end
5
7
  end
data/lib/ovirt/service.rb CHANGED
@@ -62,14 +62,8 @@ module Ovirt
62
62
  @api_path = @options[:path]
63
63
  @ca_certs = @options[:ca_certs]
64
64
 
65
- # Create a temporary file to store the CA certificates. This file will be deleted when the 'disconnect' method
66
- # is called, or, if that is never called, when the Ruby process finishes.
65
+ # The temporary file to store the CA certificates will be created when needed:
67
66
  @ca_file = nil
68
- if @ca_certs
69
- @ca_file = Tempfile.new('ca_file')
70
- @ca_file.write(@ca_certs)
71
- @ca_file.close
72
- end
73
67
  end
74
68
 
75
69
  def inspect # just like the default inspect, but WITHOUT @password
@@ -156,7 +150,10 @@ module Ovirt
156
150
 
157
151
  def disconnect
158
152
  # Remove the temporary file that was created to store the trusted CA certificates:
159
- @ca_file.unlink if @ca_file
153
+ if @ca_file
154
+ @ca_file.unlink
155
+ @ca_file = nil
156
+ end
160
157
  end
161
158
 
162
159
  def get_resource_by_ems_ref(uri_suffix, element_name = nil)
@@ -392,7 +389,7 @@ module Ovirt
392
389
  options[:timeout] = timeout if timeout
393
390
  options[:open_timeout] = open_timeout if open_timeout
394
391
  options[:verify_ssl] = verify_ssl unless verify_ssl.nil?
395
- options[:ssl_ca_file] = @ca_file.path if @ca_file
392
+ options[:ssl_ca_file] = ca_file.path if ca_file
396
393
  options
397
394
  end
398
395
 
@@ -467,5 +464,20 @@ module Ovirt
467
464
  v = v.sub("-", ".").split(".")[0..3]
468
465
  Hash[[:major, :minor, :revision, :build].zip(v)]
469
466
  end
467
+
468
+ #
469
+ # Returns a file object containing the trusted CA certificates. The file will be created if it
470
+ # doesn't exist, and it shouldn't be removed or modified by the caller.
471
+ #
472
+ # @return [File] The temporary file containing the trusted CA certificates, or nil if no custom
473
+ # CA certificates are used by the connection.
474
+ #
475
+ def ca_file
476
+ return unless @ca_certs
477
+ @ca_file ||= Tempfile.new('ca_file').tap do |tempfile|
478
+ tempfile.write(@ca_certs)
479
+ tempfile.close
480
+ end
481
+ end
470
482
  end
471
483
  end
data/lib/ovirt/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ovirt
2
- VERSION = "0.17.1".freeze
2
+ VERSION = "0.18.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Frey
@@ -26,7 +26,7 @@ authors:
26
26
  autorequire:
27
27
  bindir: bin
28
28
  cert_chain: []
29
- date: 2017-07-03 00:00:00.000000000 Z
29
+ date: 2017-08-25 00:00:00.000000000 Z
30
30
  dependencies:
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: activesupport
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  requirements: []
248
248
  rubyforge_project:
249
- rubygems_version: 2.6.11
249
+ rubygems_version: 2.5.2
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Ovirt provides a simple Object Oriented interface to the REST API of oVirt