bfg-common 1.5.757 → 1.5.760

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.
Files changed (124) hide show
  1. package/CODE_STYLE.md +109 -109
  2. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  3. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  4. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  5. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  6. package/assets/localization/local_be.json +10 -5
  7. package/assets/localization/local_en.json +10 -5
  8. package/assets/localization/local_hy.json +10 -5
  9. package/assets/localization/local_kk.json +10 -5
  10. package/assets/localization/local_ru.json +14 -9
  11. package/assets/localization/local_zh.json +9 -4
  12. package/components/atoms/TheIcon3.vue +50 -50
  13. package/components/atoms/collapse/CollapseNav.vue +170 -170
  14. package/components/atoms/perPage/PerPage.vue +58 -58
  15. package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
  16. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
  17. package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
  18. package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
  19. package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
  20. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  21. package/components/common/browse/lib/models/interfaces.ts +5 -5
  22. package/components/common/diagramMain/network/Contents.vue +497 -497
  23. package/components/common/layout/console/Console.vue +70 -70
  24. package/components/common/layout/theHeader/New.vue +2 -0
  25. package/components/common/layout/theHeader/Old.vue +2 -0
  26. package/components/common/layout/theHeader/TheHeader.vue +2 -0
  27. package/components/common/layout/theHeader/modals/reconnect/New.vue +1 -1
  28. package/components/common/layout/theHeader/modals/reconnect/Reconnect.vue +3 -1
  29. package/components/common/layout/theHeader/userMenu/UserMenu.vue +2 -0
  30. package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +2 -0
  31. package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -0
  32. package/components/common/layout/theHeader/userMenu/modals/preferences/Preferences.vue +2 -0
  33. package/components/common/layout/theHeader/userMenu/modals/preferences/lib/models/types.ts +7 -7
  34. package/components/common/layout/theHeader/userMenu/modals/preferences/view/New.vue +64 -47
  35. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +19 -0
  36. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +3 -0
  37. package/components/common/pages/backups/DetailView.vue +52 -52
  38. package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
  39. package/components/common/pages/backups/modals/Modals.vue +243 -243
  40. package/components/common/pages/backups/modals/createBackup/New.vue +22 -9
  41. package/components/common/pages/backups/modals/createBackup/configuration/ConfigurationNew.vue +17 -3
  42. package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
  43. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +8 -8
  44. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/TableView.vue +1 -1
  45. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/lib/config/table.ts +7 -7
  46. package/components/common/pages/backups/modals/createBackup/general/GeneralNew.vue +1 -1
  47. package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +5 -5
  48. package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +1 -1
  49. package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +11 -2
  50. package/components/common/pages/backups/modals/createBackup/lib/validation/validations.ts +6 -6
  51. package/components/common/pages/backups/modals/lib/config/restore.ts +116 -116
  52. package/components/common/pages/backups/modals/lib/models/interfaces.ts +187 -187
  53. package/components/common/pages/backups/modals/restore/Restore.vue +302 -302
  54. package/components/common/pages/backups/modals/restore/disks/Disks.vue +50 -50
  55. package/components/common/pages/backups/modals/restore/lib/config/readyToCompleteOptions.ts +94 -94
  56. package/components/common/pages/backups/modals/restore/lib/config/steps.ts +130 -130
  57. package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
  58. package/components/common/pages/backups/modals/restore/types/New.vue +95 -95
  59. package/components/common/pages/backups/modals/restore/types/Old.vue +62 -62
  60. package/components/common/pages/backups/modals/restore/types/Types.vue +31 -31
  61. package/components/common/pages/home/lib/models/interfaces.ts +48 -48
  62. package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
  63. package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
  64. package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
  65. package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
  66. package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
  67. package/components/common/pages/tasks/Tasks.vue +125 -125
  68. package/components/common/pages/tasks/table/Table.vue +373 -373
  69. package/components/common/pages/tasks/table/lib/config/config.ts +279 -279
  70. package/components/common/pages/tasks/table/lib/models/interfaces.ts +9 -9
  71. package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
  72. package/components/common/select/radio/RadioGroup.vue +137 -137
  73. package/components/common/spiceConsole/Drawer.vue +420 -420
  74. package/components/common/spiceConsole/SpiceConsole.vue +184 -184
  75. package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
  76. package/components/common/tools/Actions.vue +207 -207
  77. package/components/common/treeView/TreeView.vue +52 -52
  78. package/components/common/vm/actions/clone/lib/config/steps.ts +295 -295
  79. package/components/common/vm/actions/clone/new/New.vue +438 -438
  80. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
  81. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +283 -283
  82. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +156 -156
  83. package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
  84. package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
  85. package/components/common/vm/actions/common/select/options/New.vue +264 -264
  86. package/components/common/vm/actions/common/select/options/Options.vue +58 -58
  87. package/components/common/vm/actions/common/select/storage/Old.vue +125 -125
  88. package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
  89. package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
  90. package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
  91. package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
  92. package/components/common/wizards/common/compatibility/Compatibility.vue +35 -35
  93. package/components/common/wizards/common/steps/name/Name.vue +178 -178
  94. package/components/common/wizards/common/steps/name/New.vue +221 -221
  95. package/components/common/wizards/common/steps/name/Old.vue +121 -121
  96. package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
  97. package/components/common/wizards/common/steps/name/location/New.vue +40 -40
  98. package/components/common/wizards/datastore/add/Add.vue +227 -227
  99. package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
  100. package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
  101. package/composables/useAppVersion.ts +21 -21
  102. package/composables/useBrowse.ts +24 -24
  103. package/composables/useLocal.ts +6 -6
  104. package/composables/useLocalCommon.ts +39 -39
  105. package/lib/models/types.ts +59 -59
  106. package/package.json +1 -1
  107. package/plugins/console.ts +21 -21
  108. package/plugins/mouse.ts +21 -21
  109. package/plugins/panelStates.ts +70 -70
  110. package/plugins/text.ts +59 -59
  111. package/plugins/time.ts +58 -58
  112. package/public/spice-console/application/clientgui.js +854 -854
  113. package/public/spice-console/application/packetfactory.js +211 -211
  114. package/public/spice-console/application/virtualmouse.js +147 -147
  115. package/public/spice-console/lib/images/bitmap.js +203 -203
  116. package/public/spice-console/network/spicechannel.js +440 -440
  117. package/public/spice-console/process/cursorprocess.js +128 -128
  118. package/public/spice-console/process/inputprocess.js +227 -227
  119. package/public/spice-console/process/mainprocess.js +212 -212
  120. package/public/spice-console/run.js +210 -210
  121. package/store/main/mutations.ts +7 -7
  122. package/store/main/state.ts +7 -7
  123. package/store/tasks/mappers/recentTasks.ts +123 -123
  124. package/store/tasks/mutations.ts +82 -82
@@ -7,7 +7,7 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
7
7
  import type {
8
8
  UI_I_BackupDatastore,
9
9
  } from '~/components/common/pages/backups/modals/lib/models/interfaces'
10
- import { datastoreLocalizationByState } from '~/components/common/lib/config/states'
10
+ import { backupStorageIconByState, datastoreLocalizationByState } from '~/components/common/lib/config/states'
11
11
  import type {
12
12
  I_BackupDatastoreChipStatus
13
13
  } from "~/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/models/interfaces";
@@ -22,7 +22,7 @@ export const getHeaderDataFunc = (
22
22
  text: localization.common.name,
23
23
  isSortable: true,
24
24
  sort: 'asc',
25
- width: '104px',
25
+ width: '160px',
26
26
  show: true,
27
27
  filter: true
28
28
  },
@@ -32,7 +32,7 @@ export const getHeaderDataFunc = (
32
32
  text: localization.common.state,
33
33
  isSortable: true,
34
34
  sort: 'asc',
35
- width: '128px',
35
+ width: '160px',
36
36
  show: true,
37
37
  filter: true
38
38
  },
@@ -42,7 +42,7 @@ export const getHeaderDataFunc = (
42
42
  text: localization.common.capacity,
43
43
  isSortable: true,
44
44
  sort: 'asc',
45
- width: '96px',
45
+ width: '120px',
46
46
  show: true,
47
47
  filter: true
48
48
  },
@@ -52,7 +52,7 @@ export const getHeaderDataFunc = (
52
52
  text: localization.common.provisioned,
53
53
  isSortable: true,
54
54
  sort: 'asc',
55
- width: '96px',
55
+ width: '128px',
56
56
  show: true,
57
57
  filter: true
58
58
  },
@@ -82,7 +82,7 @@ export const getHeaderDataFunc = (
82
82
  text: localization.common.type,
83
83
  isSortable: true,
84
84
  sort: 'asc',
85
- width: '80',
85
+ width: '104px',
86
86
  show: true,
87
87
  filter: true
88
88
  },
@@ -92,7 +92,7 @@ export const getHeaderDataFunc = (
92
92
  text: localization.common.location,
93
93
  isSortable: true,
94
94
  sort: 'asc',
95
- width: '160px',
95
+ width: '184px',
96
96
  show: true,
97
97
  filter: true
98
98
  }
@@ -179,7 +179,7 @@ export const getBodyDataFunc = (
179
179
  col: 'col0',
180
180
  text: datastore.name,
181
181
  data: {
182
- iconClassName: [3, 5, 6].includes(datastore.state) ? 'vsphere-icon-datastore-error' : 'vsphere-icon-datastore',
182
+ iconClassName: `icon-${backupStorageIconByState[datastore.state]}`,
183
183
  id: datastore.id
184
184
  }
185
185
  },
@@ -61,7 +61,7 @@ const texts = computed<UI_I_TableTexts>(() => ({
61
61
  searchHere: localization.value.common.searchHere,
62
62
  rowsPerPage: localization.value.common.rowsPerPage,
63
63
  of: localization.value.common.of,
64
- selected: localization.value.common.selected,
64
+ selected: localization.value.common.selected2,
65
65
  columns: localization.value.common.columns,
66
66
  previous: localization.value.common.previous,
67
67
  next: localization.value.common.next,
@@ -19,7 +19,7 @@ export const getHeaderDataFunc = (
19
19
  text: localization.common.source,
20
20
  isSortable: true,
21
21
  sort: 'asc',
22
- width: '368px',
22
+ width: '352px',
23
23
  show: true,
24
24
  filter: true
25
25
  },
@@ -29,7 +29,7 @@ export const getHeaderDataFunc = (
29
29
  text: localization.common.deviceType,
30
30
  isSortable: true,
31
31
  sort: 'asc',
32
- width: '136px',
32
+ width: '160px',
33
33
  show: true,
34
34
  filter: true
35
35
  },
@@ -39,7 +39,7 @@ export const getHeaderDataFunc = (
39
39
  text: localization.common.bus,
40
40
  isSortable: true,
41
41
  sort: 'asc',
42
- width: '112px',
42
+ width: '136px',
43
43
  show: true,
44
44
  filter: true
45
45
  },
@@ -49,7 +49,7 @@ export const getHeaderDataFunc = (
49
49
  text: localization.common.target,
50
50
  isSortable: true,
51
51
  sort: 'asc',
52
- width: '112px',
52
+ width: '136px',
53
53
  show: true,
54
54
  filter: true
55
55
  },
@@ -59,7 +59,7 @@ export const getHeaderDataFunc = (
59
59
  text: localization.common.capacity,
60
60
  isSortable: true,
61
61
  sort: 'asc',
62
- width: '112px',
62
+ width: '136px',
63
63
  show: true,
64
64
  filter: true
65
65
  },
@@ -69,7 +69,7 @@ export const getHeaderDataFunc = (
69
69
  text: localization.common.used,
70
70
  isSortable: true,
71
71
  sort: 'asc',
72
- width: '112px',
72
+ width: '136px',
73
73
  show: true,
74
74
  filter: true
75
75
  },
@@ -79,7 +79,7 @@ export const getHeaderDataFunc = (
79
79
  text: localization.common.free,
80
80
  isSortable: true,
81
81
  sort: 'asc',
82
- width: '112px',
82
+ width: '136px',
83
83
  show: true,
84
84
  filter: true
85
85
  },
@@ -30,7 +30,7 @@
30
30
  v-model="model.description"
31
31
  :placeholder="localization.common.description"
32
32
  test-id="vm-backup-name-input"
33
- height="84"
33
+ height="92"
34
34
  />
35
35
  </div>
36
36
  </div>
@@ -18,12 +18,12 @@ export const readyToCompleteOptions = (
18
18
  // General
19
19
  {
20
20
  label: localization.common.name,
21
- value: backupForm.name,
21
+ value: backupForm.name || '--',
22
22
  iconClassName: 'icon-backup',
23
23
  },
24
24
  {
25
25
  label: localization.common.description,
26
- value: backupForm.description,
26
+ value: backupForm.description || '--',
27
27
  },
28
28
  ]
29
29
 
@@ -31,7 +31,7 @@ export const readyToCompleteOptions = (
31
31
  backupForm.disk_devices.forEach((disk_device, i) => {
32
32
  result.push({
33
33
  label: `${localization.common.disk} ${i + 1}`,
34
- value: disk_device.location,
34
+ value: disk_device.location || '--',
35
35
  iconClassName: 'icon-vSphere-dsVmDisk',
36
36
  })
37
37
  })
@@ -42,7 +42,7 @@ export const readyToCompleteOptions = (
42
42
  )
43
43
  result.push({
44
44
  label: localization.common.datastore,
45
- value: datastore?.name || '',
45
+ value: datastore?.name || '--',
46
46
  iconClassName: 'vsphere-icon-datastore',
47
47
  })
48
48
 
@@ -51,7 +51,7 @@ export const readyToCompleteOptions = (
51
51
  label: localization.common.strategy,
52
52
  value:
53
53
  strategyOptions.find((option) => option.value === backupForm.strategy)
54
- ?.label || '',
54
+ ?.label || '--',
55
55
  })
56
56
 
57
57
  const gbSizeByB = 1_073_741_824
@@ -62,7 +62,7 @@ export const stepsFunc = (
62
62
  stepName: '',
63
63
  title: localization.common.datastores,
64
64
 
65
- subTitle: localization.common.selectStorageConfigurationDiskFiles2,
65
+ subTitle: localization.common.selectBackupStorageConfigurationDiskFiles,
66
66
  status: UI_E_WIZARD_STATUS.INACTIVE,
67
67
  isValid: true,
68
68
  fields: {
@@ -4,10 +4,19 @@ import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/
4
4
  export const strategyOptionsFunc = (
5
5
  localization: UI_I_Localization
6
6
  ): UI_I_SelectInputItem[] => {
7
- return [
7
+ const { $text } = useNuxtApp()
8
+ const isLangEn = useLocalStorage('lang') === 'en_US'
9
+
10
+ const labels = [
8
11
  { label: localization.common.fullBackup, value: 0 },
9
12
  { label: localization.common.incrementalBackup, value: 1 },
10
13
  { label: localization.common.differentialBackup, value: 2 },
11
14
  ]
12
- }
13
15
 
16
+ return isLangEn
17
+ ? labels.map((item) => ({
18
+ ...item,
19
+ label: $text.toCapitalizeEveryWord(item.label),
20
+ }))
21
+ : labels
22
+ }
@@ -20,7 +20,7 @@ export const checkName = async (
20
20
  if (!name) {
21
21
  stepHasError = wizard.setValidation(dynamicSteps.general, 'name', {
22
22
  fieldMessage: localization.common.fieldRequired,
23
- alertMessage: localization.common.fieldRequired
23
+ alertMessage: ''
24
24
  })
25
25
  wizard.setLoader(false)
26
26
  return {
@@ -53,7 +53,7 @@ export const checkName = async (
53
53
 
54
54
  if (stepErrorMessage) {
55
55
  stepHasError = wizard.setValidation(dynamicSteps.general, 'name', {
56
- fieldMessage: stepErrorMessage,
56
+ fieldMessage: ' ',
57
57
  alertMessage: stepErrorMessage
58
58
  })
59
59
  } else if (wizard.hasMessage(dynamicSteps.general, 'name')) {
@@ -82,8 +82,8 @@ export const checkDisks = (
82
82
 
83
83
  if (!isValidStores) {
84
84
  stepHasError = wizard.setValidation(dynamicSteps.disks, 'disk_devices', {
85
- fieldMessage: localization.common.diskIsRequired,
86
- alertMessage: localization.common.diskIsRequired
85
+ fieldMessage: localization.common.selectLeastOneDisk,
86
+ alertMessage: localization.common.selectLeastOneDisk
87
87
  })
88
88
  } else if (wizard.hasMessage(dynamicSteps.disks, 'disk_devices')) {
89
89
  value = wizard.removeValidation(dynamicSteps.disks, 'disk_devices', value)
@@ -106,8 +106,8 @@ export const checkDatastore = (
106
106
 
107
107
  if (!isValidStorage) {
108
108
  stepHasError = wizard.setValidation(dynamicSteps.datastores, 'backup_storage', {
109
- fieldMessage: localization.common.datastoreIsRequired,
110
- alertMessage: localization.common.datastoreIsRequired
109
+ fieldMessage: localization.common.selectBackupStorageToProceed,
110
+ alertMessage: localization.common.selectBackupStorageToProceed
111
111
  })
112
112
  } else if (wizard.hasMessage(dynamicSteps.datastores, 'backup_storage')) {
113
113
  value = wizard.removeValidation(dynamicSteps.datastores, 'backup_storage', value)
@@ -1,116 +1,116 @@
1
- import type { UI_I_RestoreForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
2
-
3
- export const restoreDefaultFormFunc = (): UI_I_RestoreForm => {
4
- return {
5
- restore_code: 2,
6
- backup_storage: '',
7
- bucket: '',
8
- backup: '',
9
- copy_disks: [],
10
- pvm: {
11
- deployment_name: '',
12
- name: '',
13
- uuid: '',
14
- compatibility: '',
15
- guest_os_family: '',
16
- guest_os_version: '',
17
- storage: {
18
- id: '',
19
- folder: '',
20
- },
21
- machine_type: '',
22
- cpu: {
23
- vcpus: -1,
24
- max_vcpus: -1,
25
- core_per_socket: -1,
26
- model: '',
27
- reservation_mhz: -1,
28
- limit_mhz: -1,
29
- shares: -1,
30
- hotplug: false,
31
- },
32
- memory: {
33
- size_mb: -1,
34
- hotplug: false,
35
- reservation_mb: -1,
36
- limit_mb: -1,
37
- },
38
- video_card: {
39
- adapter: '',
40
- displays: -1,
41
- memory_mb: -1,
42
- },
43
- usb_controllers: [],
44
- input_devices: [],
45
- disk_devices: [],
46
- network_devices: [],
47
- passthrough_pci_devices: [],
48
- options: {
49
- remote_console: {
50
- type: '',
51
- port: -1,
52
- keymap: '',
53
- password: '',
54
- guest_os_lock: false,
55
- limit_sessions: -1,
56
- spice: {
57
- img_compression: '',
58
- jpeg_compression: '',
59
- zlib_glz_compression: '',
60
- streaming_mode: '',
61
- playback_compression: false,
62
- file_transfer: false,
63
- clipboard: false,
64
- },
65
- },
66
- guest_tools: {
67
- enabled: false,
68
- synchronized_time: false,
69
- },
70
- boot_options: {
71
- firmware: '',
72
- boot_delay_ms: -1,
73
- boot_menu: false,
74
- },
75
- },
76
- monitoring: {
77
- state: -1,
78
- memory: {
79
- dram_read_bandwidth: -1,
80
- pmem_read_bandwidth: -1,
81
- provisioned_mb: -1,
82
- used_mb: -1,
83
- resident_set_size_mb: -1,
84
- },
85
- cpu: {
86
- current_vcpus: -1,
87
- provisioned_mhz: -1,
88
- used_mhz: -1,
89
- },
90
- storage: {
91
- provisioned_space_mb: -1,
92
- used_space_mb: -1,
93
- allocated_space_mb: -1,
94
- },
95
- networks: null,
96
- uptime: {
97
- start_time: '',
98
- uptime_ms: -1,
99
- uptime_humanized: '',
100
- },
101
- guest_tools: {
102
- status: '',
103
- version: '',
104
- ip: '',
105
- dns_name: '',
106
- },
107
- evc_cpu_mode: '',
108
- evc_graphics_mode: '',
109
- encryption: '',
110
- tpm: '',
111
- vbs: '',
112
- },
113
- snapshots: {},
114
- },
115
- }
116
- }
1
+ import type { UI_I_RestoreForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
2
+
3
+ export const restoreDefaultFormFunc = (): UI_I_RestoreForm => {
4
+ return {
5
+ restore_code: 2,
6
+ backup_storage: '',
7
+ bucket: '',
8
+ backup: '',
9
+ copy_disks: [],
10
+ pvm: {
11
+ deployment_name: '',
12
+ name: '',
13
+ uuid: '',
14
+ compatibility: '',
15
+ guest_os_family: '',
16
+ guest_os_version: '',
17
+ storage: {
18
+ id: '',
19
+ folder: '',
20
+ },
21
+ machine_type: '',
22
+ cpu: {
23
+ vcpus: -1,
24
+ max_vcpus: -1,
25
+ core_per_socket: -1,
26
+ model: '',
27
+ reservation_mhz: -1,
28
+ limit_mhz: -1,
29
+ shares: -1,
30
+ hotplug: false,
31
+ },
32
+ memory: {
33
+ size_mb: -1,
34
+ hotplug: false,
35
+ reservation_mb: -1,
36
+ limit_mb: -1,
37
+ },
38
+ video_card: {
39
+ adapter: '',
40
+ displays: -1,
41
+ memory_mb: -1,
42
+ },
43
+ usb_controllers: [],
44
+ input_devices: [],
45
+ disk_devices: [],
46
+ network_devices: [],
47
+ passthrough_pci_devices: [],
48
+ options: {
49
+ remote_console: {
50
+ type: '',
51
+ port: -1,
52
+ keymap: '',
53
+ password: '',
54
+ guest_os_lock: false,
55
+ limit_sessions: -1,
56
+ spice: {
57
+ img_compression: '',
58
+ jpeg_compression: '',
59
+ zlib_glz_compression: '',
60
+ streaming_mode: '',
61
+ playback_compression: false,
62
+ file_transfer: false,
63
+ clipboard: false,
64
+ },
65
+ },
66
+ guest_tools: {
67
+ enabled: false,
68
+ synchronized_time: false,
69
+ },
70
+ boot_options: {
71
+ firmware: '',
72
+ boot_delay_ms: -1,
73
+ boot_menu: false,
74
+ },
75
+ },
76
+ monitoring: {
77
+ state: -1,
78
+ memory: {
79
+ dram_read_bandwidth: -1,
80
+ pmem_read_bandwidth: -1,
81
+ provisioned_mb: -1,
82
+ used_mb: -1,
83
+ resident_set_size_mb: -1,
84
+ },
85
+ cpu: {
86
+ current_vcpus: -1,
87
+ provisioned_mhz: -1,
88
+ used_mhz: -1,
89
+ },
90
+ storage: {
91
+ provisioned_space_mb: -1,
92
+ used_space_mb: -1,
93
+ allocated_space_mb: -1,
94
+ },
95
+ networks: null,
96
+ uptime: {
97
+ start_time: '',
98
+ uptime_ms: -1,
99
+ uptime_humanized: '',
100
+ },
101
+ guest_tools: {
102
+ status: '',
103
+ version: '',
104
+ ip: '',
105
+ dns_name: '',
106
+ },
107
+ evc_cpu_mode: '',
108
+ evc_graphics_mode: '',
109
+ encryption: '',
110
+ tpm: '',
111
+ vbs: '',
112
+ },
113
+ snapshots: {},
114
+ },
115
+ }
116
+ }