@vates/types 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common.d.mts +510 -0
- package/dist/common.mjs +441 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +3 -0
- package/dist/xen-api.d.mts +1164 -0
- package/dist/xen-api.mjs +1 -0
- package/dist/xo.d.mts +166 -0
- package/dist/xo.mjs +2 -0
- package/package.json +44 -0
- package/tsconfig.json +12 -0
package/dist/common.mjs
ADDED
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
export const TASK_ALLOWED_OPERATIONS = {
|
|
2
|
+
CANCEL: 'cancel',
|
|
3
|
+
DESTROY: 'destroy',
|
|
4
|
+
};
|
|
5
|
+
export const TASK_STATUS_TYPE = {
|
|
6
|
+
CANCELLED: 'cancelled',
|
|
7
|
+
CANCELLING: 'cancelling',
|
|
8
|
+
FAILURE: 'failure',
|
|
9
|
+
PENDING: 'pending',
|
|
10
|
+
SUCCESS: 'success',
|
|
11
|
+
};
|
|
12
|
+
export const EVENT_OPERATION = {
|
|
13
|
+
ADD: 'add',
|
|
14
|
+
DEL: 'del',
|
|
15
|
+
MOD: 'mod',
|
|
16
|
+
};
|
|
17
|
+
export const POOL_ALLOWED_OPERATIONS = {
|
|
18
|
+
APPLY_UPDATES: 'apply_updates',
|
|
19
|
+
CERT_REFRESH: 'cert_refresh',
|
|
20
|
+
CLUSTER_CREATE: 'cluster_create',
|
|
21
|
+
CONFIGURE_REPOSITORIES: 'configure_repositories',
|
|
22
|
+
COPY_PRIMARY_HOST_CERTS: 'copy_primary_host_certs',
|
|
23
|
+
DESIGNATE_NEW_MASTER: 'designate_new_master',
|
|
24
|
+
EJECT: 'eject',
|
|
25
|
+
EXCHANGE_CA_CERTIFICATES_ON_JOIN: 'exchange_ca_certificates_on_join',
|
|
26
|
+
EXCHANGE_CERTIFICATES_ON_JOIN: 'exchange_certificates_on_join',
|
|
27
|
+
GET_UPDATES: 'get_updates',
|
|
28
|
+
HA_DISABLE: 'ha_disable',
|
|
29
|
+
HA_ENABLE: 'ha_enable',
|
|
30
|
+
SYNC_UPDATES: 'sync_updates',
|
|
31
|
+
TLS_VERIFICATION_ENABLE: 'tls_verification_enable',
|
|
32
|
+
};
|
|
33
|
+
export const TELEMETRY_FREQUENCY = {
|
|
34
|
+
DAILY: 'daily',
|
|
35
|
+
MONTHLY: 'monthly',
|
|
36
|
+
WEEKLY: 'weekly',
|
|
37
|
+
};
|
|
38
|
+
export const UPDATE_SYNC_FREQUENCY = {
|
|
39
|
+
DAILY: 'daily',
|
|
40
|
+
WEEKLY: 'weekly',
|
|
41
|
+
};
|
|
42
|
+
export const AFTER_APPLY_GUIDANCE = {
|
|
43
|
+
RESTART_HOST: 'restartHost',
|
|
44
|
+
RESTART_HVM: 'restartHVM',
|
|
45
|
+
RESTART_PV: 'restartPV',
|
|
46
|
+
RESTART_XAPI: 'restartXAPI',
|
|
47
|
+
};
|
|
48
|
+
export const UPDATE_AFTER_APPLY_GUIDANCE = {
|
|
49
|
+
RESTART_HOST: 'restartHost',
|
|
50
|
+
RESTART_HVM: 'restartHVM',
|
|
51
|
+
RESTART_PV: 'restartPV',
|
|
52
|
+
RESTART_XAPI: 'restartXAPI',
|
|
53
|
+
};
|
|
54
|
+
export const LIVEPATCH_STATUS = {
|
|
55
|
+
OK: 'ok',
|
|
56
|
+
OK_LIVEPATCH_COMPLETE: 'ok_livepatch_complete',
|
|
57
|
+
OK_LIVEPATCH_INCOMPLETE: 'ok_livepatch_incomplete',
|
|
58
|
+
};
|
|
59
|
+
export const VM_POWER_STATE = {
|
|
60
|
+
HALTED: 'Halted',
|
|
61
|
+
PAUSED: 'Paused',
|
|
62
|
+
RUNNING: 'Running',
|
|
63
|
+
SUSPENDED: 'Suspended',
|
|
64
|
+
};
|
|
65
|
+
export const UPDATE_GUIDANCES = {
|
|
66
|
+
REBOOT_HOST: 'reboot_host',
|
|
67
|
+
REBOOT_HOST_ON_KERNEL_LIVEPATCH_FAILURE: 'reboot_host_on_kernel_livepatch_failure',
|
|
68
|
+
REBOOT_HOST_ON_LIVEPATCH_FAILURE: 'reboot_host_on_livepatch_failure',
|
|
69
|
+
REBOOT_HOST_ON_XEN_LIVEPATCH_FAILURE: 'reboot_host_on_xen_livepatch_failure',
|
|
70
|
+
RESTART_DEVICE_MODEL: 'restart_device_model',
|
|
71
|
+
RESTART_TOOLSTACK: 'restart_toolstack',
|
|
72
|
+
RESTART_VM: 'restart_vm',
|
|
73
|
+
};
|
|
74
|
+
export const ON_SOFTREBOOT_BEHAVIOR = {
|
|
75
|
+
DESTROY: 'destroy',
|
|
76
|
+
PRESERVE: 'preserve',
|
|
77
|
+
RESTART: 'restart',
|
|
78
|
+
SOFT_REBOOT: 'soft_reboot',
|
|
79
|
+
};
|
|
80
|
+
export const ON_NORMAL_EXIT = {
|
|
81
|
+
DESTROY: 'destroy',
|
|
82
|
+
RESTART: 'restart',
|
|
83
|
+
};
|
|
84
|
+
export const VM_OPERATIONS = {
|
|
85
|
+
ASSERT_OPERATION_VALID: 'assert_operation_valid',
|
|
86
|
+
AWAITING_MEMORY_LIVE: 'awaiting_memory_live',
|
|
87
|
+
CALL_PLUGIN: 'call_plugin',
|
|
88
|
+
CHANGING_DYNAMIC_RANGE: 'changing_dynamic_range',
|
|
89
|
+
CHANGING_MEMORY_LIMITS: 'changing_memory_limits',
|
|
90
|
+
CHANGING_MEMORY_LIVE: 'changing_memory_live',
|
|
91
|
+
CHANGING_NVRAM: 'changing_NVRAM',
|
|
92
|
+
CHANGING_SHADOW_MEMORY: 'changing_shadow_memory',
|
|
93
|
+
CHANGING_SHADOW_MEMORY_LIVE: 'changing_shadow_memory_live',
|
|
94
|
+
CHANGING_STATIC_RANGE: 'changing_static_range',
|
|
95
|
+
CHANGING_VCPUS: 'changing_VCPUs',
|
|
96
|
+
CHANGING_VCPUS_LIVE: 'changing_VCPUs_live',
|
|
97
|
+
CHECKPOINT: 'checkpoint',
|
|
98
|
+
CLEAN_REBOOT: 'clean_reboot',
|
|
99
|
+
CLEAN_SHUTDOWN: 'clean_shutdown',
|
|
100
|
+
CLONE: 'clone',
|
|
101
|
+
COPY: 'copy',
|
|
102
|
+
CREATE_TEMPLATE: 'create_template',
|
|
103
|
+
CREATE_VTPM: 'create_vtpm',
|
|
104
|
+
CSVM: 'csvm',
|
|
105
|
+
DATA_SOURCE_OP: 'data_source_op',
|
|
106
|
+
DESTROY: 'destroy',
|
|
107
|
+
EXPORT: 'export',
|
|
108
|
+
GET_BOOT_RECORD: 'get_boot_record',
|
|
109
|
+
HARD_REBOOT: 'hard_reboot',
|
|
110
|
+
HARD_SHUTDOWN: 'hard_shutdown',
|
|
111
|
+
IMPORT: 'import',
|
|
112
|
+
MAKE_INTO_TEMPLATE: 'make_into_template',
|
|
113
|
+
METADATA_EXPORT: 'metadata_export',
|
|
114
|
+
MIGRATE_SEND: 'migrate_send',
|
|
115
|
+
PAUSE: 'pause',
|
|
116
|
+
POOL_MIGRATE: 'pool_migrate',
|
|
117
|
+
POWER_STATE_RESET: 'power_state_reset',
|
|
118
|
+
PROVISION: 'provision',
|
|
119
|
+
QUERY_SERVICES: 'query_services',
|
|
120
|
+
RESUME: 'resume',
|
|
121
|
+
RESUME_ON: 'resume_on',
|
|
122
|
+
REVERT: 'revert',
|
|
123
|
+
REVERTING: 'reverting',
|
|
124
|
+
SEND_SYSRQ: 'send_sysrq',
|
|
125
|
+
SEND_TRIGGER: 'send_trigger',
|
|
126
|
+
SHUTDOWN: 'shutdown',
|
|
127
|
+
SNAPSHOT: 'snapshot',
|
|
128
|
+
SNAPSHOT_WITH_QUIESCE: 'snapshot_with_quiesce',
|
|
129
|
+
START: 'start',
|
|
130
|
+
START_ON: 'start_on',
|
|
131
|
+
SUSPEND: 'suspend',
|
|
132
|
+
UNPAUSE: 'unpause',
|
|
133
|
+
UPDATE_ALLOWED_OPERATIONS: 'update_allowed_operations',
|
|
134
|
+
};
|
|
135
|
+
export const ON_CRASH_BEHAVIOUR = {
|
|
136
|
+
COREDUMP_AND_DESTROY: 'coredump_and_destroy',
|
|
137
|
+
COREDUMP_AND_RESTART: 'coredump_and_restart',
|
|
138
|
+
DESTROY: 'destroy',
|
|
139
|
+
PRESERVE: 'preserve',
|
|
140
|
+
RENAME_RESTART: 'rename_restart',
|
|
141
|
+
RESTART: 'restart',
|
|
142
|
+
};
|
|
143
|
+
export const DOMAIN_TYPE = {
|
|
144
|
+
HVM: 'hvm',
|
|
145
|
+
PV: 'pv',
|
|
146
|
+
PVH: 'pvh',
|
|
147
|
+
PV_IN_PVH: 'pv_in_pvh',
|
|
148
|
+
UNSPECIFIED: 'unspecified',
|
|
149
|
+
};
|
|
150
|
+
export const TRISTATE_TYPE = {
|
|
151
|
+
NO: 'no',
|
|
152
|
+
UNSPECIFIED: 'unspecified',
|
|
153
|
+
YES: 'yes',
|
|
154
|
+
};
|
|
155
|
+
export const VMPP_BACKUP_TYPE = {
|
|
156
|
+
CHECKPOINT: 'checkpoint',
|
|
157
|
+
SNAPSHOT: 'snapshot',
|
|
158
|
+
};
|
|
159
|
+
export const VMPP_BACKUP_FREQUENCY = {
|
|
160
|
+
DAILY: 'daily',
|
|
161
|
+
HOURLY: 'hourly',
|
|
162
|
+
WEEKLY: 'weekly',
|
|
163
|
+
};
|
|
164
|
+
export const VMPP_ARCHIVE_FREQUENCY = {
|
|
165
|
+
ALWAYS_AFTER_BACKUP: 'always_after_backup',
|
|
166
|
+
DAILY: 'daily',
|
|
167
|
+
NEVER: 'never',
|
|
168
|
+
WEEKLY: 'weekly',
|
|
169
|
+
};
|
|
170
|
+
export const VMPP_ARCHIVE_TARGET_TYPE = {
|
|
171
|
+
CIFS: 'cifs',
|
|
172
|
+
NFS: 'nfs',
|
|
173
|
+
NONE: 'none',
|
|
174
|
+
};
|
|
175
|
+
export const VMSS_FREQUENCY = {
|
|
176
|
+
DAILY: 'daily',
|
|
177
|
+
HOURLY: 'hourly',
|
|
178
|
+
WEEKLY: 'weekly',
|
|
179
|
+
};
|
|
180
|
+
export const VMSS_TYPE = {
|
|
181
|
+
CHECKPOINT: 'checkpoint',
|
|
182
|
+
SNAPSHOT: 'snapshot',
|
|
183
|
+
SNAPSHOT_WITH_QUIESCE: 'snapshot_with_quiesce',
|
|
184
|
+
};
|
|
185
|
+
export const VM_APPLIANCE_OPERATION = {
|
|
186
|
+
CLEAN_SHUTDOWN: 'clean_shutdown',
|
|
187
|
+
HARD_SHUTDOWN: 'hard_shutdown',
|
|
188
|
+
SHUTDOWN: 'shutdown',
|
|
189
|
+
START: 'start',
|
|
190
|
+
};
|
|
191
|
+
export const HOST_ALLOWED_OPERATIONS = {
|
|
192
|
+
APPLY_UPDATES: 'apply_updates',
|
|
193
|
+
ENABLE: 'enable',
|
|
194
|
+
EVACUATE: 'evacuate',
|
|
195
|
+
POWER_ON: 'power_on',
|
|
196
|
+
PROVISION: 'provision',
|
|
197
|
+
REBOOT: 'reboot',
|
|
198
|
+
SHUTDOWN: 'shutdown',
|
|
199
|
+
VM_MIGRATE: 'vm_migrate',
|
|
200
|
+
VM_RESUME: 'vm_resume',
|
|
201
|
+
VM_START: 'vm_start',
|
|
202
|
+
};
|
|
203
|
+
export const LATEST_SYNCED_UPDATES_APPLIED_STATE = {
|
|
204
|
+
NO: 'no',
|
|
205
|
+
UNKNOWN: 'unknown',
|
|
206
|
+
YES: 'yes',
|
|
207
|
+
};
|
|
208
|
+
export const HOST_DISPLAY = {
|
|
209
|
+
DISABLED: 'disabled',
|
|
210
|
+
DISABLE_ON_REBOOT: 'disable_on_reboot',
|
|
211
|
+
ENABLED: 'enabled',
|
|
212
|
+
ENABLE_ON_REBOOT: 'enable_on_reboot',
|
|
213
|
+
};
|
|
214
|
+
export const HOST_SCHED_GRAN = {
|
|
215
|
+
CORE: 'core',
|
|
216
|
+
CPU: 'cpu',
|
|
217
|
+
SOCKET: 'socket',
|
|
218
|
+
};
|
|
219
|
+
export const HOST_NUMA_AFFINITY_POLICY = {
|
|
220
|
+
ANY: 'any',
|
|
221
|
+
BEST_EFFORT: 'best_effort',
|
|
222
|
+
DEFAULT_POLICY: 'default_policy',
|
|
223
|
+
};
|
|
224
|
+
export const NETWORK_OPERATIONS = {
|
|
225
|
+
ATTACHING: 'attaching',
|
|
226
|
+
};
|
|
227
|
+
export const NETWORK_DEFAULT_LOCKING_MODE = {
|
|
228
|
+
DISABLED: 'disabled',
|
|
229
|
+
UNLOCKED: 'unlocked',
|
|
230
|
+
};
|
|
231
|
+
export const NETWORK_PURPOSE = {
|
|
232
|
+
INSECURE_NBD: 'insecure_nbd',
|
|
233
|
+
NBD: 'nbd',
|
|
234
|
+
};
|
|
235
|
+
export const VIF_OPERATIONS = {
|
|
236
|
+
ATTACH: 'attach',
|
|
237
|
+
PLUG: 'plug',
|
|
238
|
+
UNPLUG: 'unplug',
|
|
239
|
+
};
|
|
240
|
+
export const VIF_LOCKING_MODE = {
|
|
241
|
+
DISABLED: 'disabled',
|
|
242
|
+
LOCKED: 'locked',
|
|
243
|
+
NETWORK_DEFAULT: 'network_default',
|
|
244
|
+
UNLOCKED: 'unlocked',
|
|
245
|
+
};
|
|
246
|
+
export const VIF_IPV4_CONFIGURATION_MODE = {
|
|
247
|
+
NONE: 'None',
|
|
248
|
+
STATIC: 'Static',
|
|
249
|
+
};
|
|
250
|
+
export const VIF_IPV6_CONFIGURATION_MODE = {
|
|
251
|
+
NONE: 'None',
|
|
252
|
+
STATIC: 'Static',
|
|
253
|
+
};
|
|
254
|
+
export const PIF_IGMP_STATUS = {
|
|
255
|
+
DISABLED: 'disabled',
|
|
256
|
+
ENABLED: 'enabled',
|
|
257
|
+
UNKNOWN: 'unknown',
|
|
258
|
+
};
|
|
259
|
+
export const IP_CONFIGURATION_MODE = {
|
|
260
|
+
DHCP: 'DHCP',
|
|
261
|
+
NONE: 'None',
|
|
262
|
+
STATIC: 'Static',
|
|
263
|
+
};
|
|
264
|
+
export const IPV6_CONFIGURATION_MODE = {
|
|
265
|
+
AUTOCONF: 'Autoconf',
|
|
266
|
+
DHCP: 'DHCP',
|
|
267
|
+
NONE: 'None',
|
|
268
|
+
STATIC: 'Static',
|
|
269
|
+
};
|
|
270
|
+
export const PRIMARY_ADDRESS_TYPE = {
|
|
271
|
+
IPV4: 'IPv4',
|
|
272
|
+
IPV6: 'IPv6',
|
|
273
|
+
};
|
|
274
|
+
export const BOND_MODE = {
|
|
275
|
+
ACTIVE_BACKUP: 'active-backup',
|
|
276
|
+
BALANCE_SLB: 'balance-slb',
|
|
277
|
+
LACP: 'lacp',
|
|
278
|
+
};
|
|
279
|
+
export const STORAGE_OPERATIONS = {
|
|
280
|
+
DESTROY: 'destroy',
|
|
281
|
+
FORGET: 'forget',
|
|
282
|
+
PBD_CREATE: 'pbd_create',
|
|
283
|
+
PBD_DESTROY: 'pbd_destroy',
|
|
284
|
+
PLUG: 'plug',
|
|
285
|
+
SCAN: 'scan',
|
|
286
|
+
UNPLUG: 'unplug',
|
|
287
|
+
UPDATE: 'update',
|
|
288
|
+
VDI_CLONE: 'vdi_clone',
|
|
289
|
+
VDI_CREATE: 'vdi_create',
|
|
290
|
+
VDI_DATA_DESTROY: 'vdi_data_destroy',
|
|
291
|
+
VDI_DESTROY: 'vdi_destroy',
|
|
292
|
+
VDI_DISABLE_CBT: 'vdi_disable_cbt',
|
|
293
|
+
VDI_ENABLE_CBT: 'vdi_enable_cbt',
|
|
294
|
+
VDI_INTRODUCE: 'vdi_introduce',
|
|
295
|
+
VDI_LIST_CHANGED_BLOCKS: 'vdi_list_changed_blocks',
|
|
296
|
+
VDI_MIRROR: 'vdi_mirror',
|
|
297
|
+
VDI_RESIZE: 'vdi_resize',
|
|
298
|
+
VDI_SET_ON_BOOT: 'vdi_set_on_boot',
|
|
299
|
+
VDI_SNAPSHOT: 'vdi_snapshot',
|
|
300
|
+
};
|
|
301
|
+
export const SR_HEALTH = {
|
|
302
|
+
HEALTHY: 'healthy',
|
|
303
|
+
RECOVERING: 'recovering',
|
|
304
|
+
};
|
|
305
|
+
export const VDI_OPERATIONS = {
|
|
306
|
+
BLOCKED: 'blocked',
|
|
307
|
+
CLONE: 'clone',
|
|
308
|
+
COPY: 'copy',
|
|
309
|
+
DATA_DESTROY: 'data_destroy',
|
|
310
|
+
DESTROY: 'destroy',
|
|
311
|
+
DISABLE_CBT: 'disable_cbt',
|
|
312
|
+
ENABLE_CBT: 'enable_cbt',
|
|
313
|
+
FORCE_UNLOCK: 'force_unlock',
|
|
314
|
+
FORGET: 'forget',
|
|
315
|
+
GENERATE_CONFIG: 'generate_config',
|
|
316
|
+
LIST_CHANGED_BLOCKS: 'list_changed_blocks',
|
|
317
|
+
MIRROR: 'mirror',
|
|
318
|
+
RESIZE: 'resize',
|
|
319
|
+
RESIZE_ONLINE: 'resize_online',
|
|
320
|
+
SET_ON_BOOT: 'set_on_boot',
|
|
321
|
+
SNAPSHOT: 'snapshot',
|
|
322
|
+
UPDATE: 'update',
|
|
323
|
+
};
|
|
324
|
+
export const VDI_TYPE = {
|
|
325
|
+
CBT_METADATA: 'cbt_metadata',
|
|
326
|
+
CRASHDUMP: 'crashdump',
|
|
327
|
+
EPHEMERAL: 'ephemeral',
|
|
328
|
+
HA_STATEFILE: 'ha_statefile',
|
|
329
|
+
METADATA: 'metadata',
|
|
330
|
+
PVS_CACHE: 'pvs_cache',
|
|
331
|
+
REDO_LOG: 'redo_log',
|
|
332
|
+
RRD: 'rrd',
|
|
333
|
+
SUSPEND: 'suspend',
|
|
334
|
+
SYSTEM: 'system',
|
|
335
|
+
USER: 'user',
|
|
336
|
+
};
|
|
337
|
+
export const ON_BOOT = {
|
|
338
|
+
PERSIST: 'persist',
|
|
339
|
+
RESET: 'reset',
|
|
340
|
+
};
|
|
341
|
+
export const VBD_OPERATIONS = {
|
|
342
|
+
ATTACH: 'attach',
|
|
343
|
+
EJECT: 'eject',
|
|
344
|
+
INSERT: 'insert',
|
|
345
|
+
PAUSE: 'pause',
|
|
346
|
+
PLUG: 'plug',
|
|
347
|
+
UNPAUSE: 'unpause',
|
|
348
|
+
UNPLUG: 'unplug',
|
|
349
|
+
UNPLUG_FORCE: 'unplug_force',
|
|
350
|
+
};
|
|
351
|
+
export const VBD_TYPE = {
|
|
352
|
+
CD: 'CD',
|
|
353
|
+
DISK: 'Disk',
|
|
354
|
+
FLOPPY: 'Floppy',
|
|
355
|
+
};
|
|
356
|
+
export const VBD_MODE = {
|
|
357
|
+
RO: 'RO',
|
|
358
|
+
RW: 'RW',
|
|
359
|
+
};
|
|
360
|
+
export const VTPM_OPERATIONS = {
|
|
361
|
+
DESTROY: 'destroy',
|
|
362
|
+
};
|
|
363
|
+
export const PERSISTENCE_BACKEND = {
|
|
364
|
+
XAPI: 'xapi',
|
|
365
|
+
};
|
|
366
|
+
export const CONSOLE_PROTOCOL = {
|
|
367
|
+
RDP: 'rdp',
|
|
368
|
+
RFB: 'rfb',
|
|
369
|
+
VT100: 'vt100',
|
|
370
|
+
};
|
|
371
|
+
export const CLS = {
|
|
372
|
+
CERTIFICATE: 'Certificate',
|
|
373
|
+
HOST: 'Host',
|
|
374
|
+
POOL: 'Pool',
|
|
375
|
+
PVS_PROXY: 'PVS_proxy',
|
|
376
|
+
SR: 'SR',
|
|
377
|
+
VDI: 'VDI',
|
|
378
|
+
VM: 'VM',
|
|
379
|
+
VMPP: 'VMPP',
|
|
380
|
+
VMSS: 'VMSS',
|
|
381
|
+
};
|
|
382
|
+
export const TUNNEL_PROTOCOL = {
|
|
383
|
+
GRE: 'gre',
|
|
384
|
+
VXLAN: 'vxlan',
|
|
385
|
+
};
|
|
386
|
+
export const SRIOV_CONFIGURATION_MODE = {
|
|
387
|
+
MANUAL: 'manual',
|
|
388
|
+
MODPROBE: 'modprobe',
|
|
389
|
+
SYSFS: 'sysfs',
|
|
390
|
+
UNKNOWN: 'unknown',
|
|
391
|
+
};
|
|
392
|
+
export const PGPU_DOM0_ACCESS = {
|
|
393
|
+
DISABLED: 'disabled',
|
|
394
|
+
DISABLE_ON_REBOOT: 'disable_on_reboot',
|
|
395
|
+
ENABLED: 'enabled',
|
|
396
|
+
ENABLE_ON_REBOOT: 'enable_on_reboot',
|
|
397
|
+
};
|
|
398
|
+
export const ALLOCATION_ALGORITHM = {
|
|
399
|
+
BREADTH_FIRST: 'breadth_first',
|
|
400
|
+
DEPTH_FIRST: 'depth_first',
|
|
401
|
+
};
|
|
402
|
+
export const VGPU_TYPE_IMPLEMENTATION = {
|
|
403
|
+
GVT_G: 'gvt_g',
|
|
404
|
+
MXGPU: 'mxgpu',
|
|
405
|
+
NVIDIA: 'nvidia',
|
|
406
|
+
NVIDIA_SRIOV: 'nvidia_sriov',
|
|
407
|
+
PASSTHROUGH: 'passthrough',
|
|
408
|
+
};
|
|
409
|
+
export const PVS_PROXY_STATUS = {
|
|
410
|
+
CACHING: 'caching',
|
|
411
|
+
INCOMPATIBLE_PROTOCOL_VERSION: 'incompatible_protocol_version',
|
|
412
|
+
INCOMPATIBLE_WRITE_CACHE_MODE: 'incompatible_write_cache_mode',
|
|
413
|
+
INITIALISED: 'initialised',
|
|
414
|
+
STOPPED: 'stopped',
|
|
415
|
+
};
|
|
416
|
+
export const SDN_CONTROLLER_PROTOCOL = {
|
|
417
|
+
PSSL: 'pssl',
|
|
418
|
+
SSL: 'ssl',
|
|
419
|
+
};
|
|
420
|
+
export const VUSB_OPERATIONS = {
|
|
421
|
+
ATTACH: 'attach',
|
|
422
|
+
PLUG: 'plug',
|
|
423
|
+
UNPLUG: 'unplug',
|
|
424
|
+
};
|
|
425
|
+
export const CLUSTER_OPERATION = {
|
|
426
|
+
ADD: 'add',
|
|
427
|
+
DESTROY: 'destroy',
|
|
428
|
+
DISABLE: 'disable',
|
|
429
|
+
ENABLE: 'enable',
|
|
430
|
+
REMOVE: 'remove',
|
|
431
|
+
};
|
|
432
|
+
export const CLUSTER_HOST_OPERATION = {
|
|
433
|
+
DESTROY: 'destroy',
|
|
434
|
+
DISABLE: 'disable',
|
|
435
|
+
ENABLE: 'enable',
|
|
436
|
+
};
|
|
437
|
+
export const CERTIFICATE_TYPE = {
|
|
438
|
+
CA: 'ca',
|
|
439
|
+
HOST: 'host',
|
|
440
|
+
HOST_INTERNAL: 'host_internal',
|
|
441
|
+
};
|
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED