bfg-common 1.4.393 → 1.4.395
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/components/common/layout/theHeader/feedback/new/New.vue +12 -12
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +7 -4
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +6 -3
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +24 -8
- package/components/common/layout/theHeader/feedback/new/tabs/lib/config/tabs.ts +2 -2
- package/components/common/summary/notification/Notification.vue +28 -0
- package/components/common/summary/notification/NotificationNew.vue +135 -0
- package/components/common/summary/notification/NotificationOld.vue +46 -0
- package/components/common/vm/actions/common/_customizeHardware/CustomizeHardware.vue +274 -0
- package/components/common/vm/actions/common/_customizeHardware/lib/config/navItems.ts +21 -0
- package/components/common/vm/actions/common/_customizeHardware/lib/models/interfaces.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/VirtualHardware.vue +702 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/BrowseView.vue +203 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/lib/models/interfaces.ts +8 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/Bus.vue +156 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/lib/config/options.ts +20 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +270 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/models/types.ts +1 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Cpu.vue +403 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Hv.vue +99 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Iommu.vue +55 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Pc.vue +55 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Sa.vue +106 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/lib/config/cpuOptions.ts +21 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/Shares.vue +160 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +59 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/binaryOptions.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/dropdownItems.ts +66 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/interfaces.ts +118 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/types.ts +4 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/Limit.vue +236 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/Memory.vue +329 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/lib/config/memoryOptions.ts +35 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +462 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +81 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/lib/config/options.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +153 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/Location.vue +172 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +52 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +88 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options.ts +18 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +88 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options.ts +15 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +86 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/Location.vue +145 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +305 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +87 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +148 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +168 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +48 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +49 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options.ts +10 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/note/Note.vue +27 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +42 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +82 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/lib/config/options.ts +6 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/other/Other.vue +32 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/Reservation.vue +237 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/lib/config/options.ts +33 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/Graphics.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/VideoCard.vue +182 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/Model.vue +59 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +10 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +83 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/Vmoptions.vue +181 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/BootOptions.vue +114 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Secure.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/Delay.vue +54 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +84 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/Order.vue +201 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/lib/models/interfaces.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +192 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/lib/models/interfaces.ts +34 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +52 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +254 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +56 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/lib/config/config.ts +6 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +142 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces.ts +5 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/utils.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +56 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/lib/config/config.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/tools/Tools.vue +72 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +119 -126
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +189 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +158 -0
- package/components/common/vm/actions/common/customizeHardware/lib/config/navItems.ts +17 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +165 -182
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +392 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +267 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +34 -93
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +118 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +109 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +69 -111
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +159 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +158 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +13 -45
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +55 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +42 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +73 -139
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +185 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +174 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +90 -90
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +98 -98
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +86 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +68 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketOld.vue +63 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlug.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugNew.vue +31 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugOld.vue +38 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModel.vue +121 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelNew.vue +209 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelOld.vue +171 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpu.vue +94 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuOld.vue +51 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +29 -49
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesOld.vue +76 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +10 -48
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +111 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipOld.vue +59 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +83 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +32 -52
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +70 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitOld.vue +75 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +53 -94
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +151 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryOld.vue +154 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlug.vue +29 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugOld.vue +43 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +77 -188
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +224 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +240 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +21 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheOld.vue +57 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/File.vue +22 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +28 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileOld.vue +24 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +32 -85
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +63 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsOld.vue +86 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +5 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModal.vue +52 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalNew.vue +74 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +28 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeOld.vue +25 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +24 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +46 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeOld.vue +57 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +24 -51
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningOld.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +24 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingOld.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +56 -89
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkOld.vue +131 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +22 -49
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +49 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +51 -80
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +84 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +16 -40
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +53 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerOld.vue +61 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +8 -24
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +27 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherOld.vue +32 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevices.vue +15 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +33 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesOld.vue +21 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +30 -71
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +98 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationOld.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +39 -77
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +108 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +16 -41
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelOld.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +21 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +45 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysOld.vue +56 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemory.vue +105 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +57 -93
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +39 -53
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsOld.vue +80 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +13 -41
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +35 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +20 -47
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareOld.vue +56 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/Menu.vue +20 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuOld.vue +36 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +13 -43
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +40 -155
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +137 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +254 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +28 -110
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPaste.vue +26 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransfer.vue +26 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharing.vue +20 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingOld.vue +37 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +16 -40
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapOld.vue +43 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +32 -73
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +100 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordOld.vue +92 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +13 -42
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +15 -38
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +39 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsOld.vue +48 -0
- package/package.json +2 -2
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CoresPerSocket.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuHotPlug.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuModel.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/MaxCpu.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/memory/MemoryHotPlug.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/DiskFile.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/MaximumSize.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/StorageModalNew.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/lib/config/table.ts +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/other/InputDevices.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/videoCard/TotalVideoMemory.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/bootOptions/Menu.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/CopyPaste.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FileTransfer.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FolderSharing.vue +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.cdDvdMedia }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-align-center">
|
|
9
|
+
<input
|
|
10
|
+
id="vm-wizard-dvd-media-input"
|
|
11
|
+
v-model="cdDvdMediaLocal"
|
|
12
|
+
data-id="vm-wizard-dvd-media-input"
|
|
13
|
+
type="text"
|
|
14
|
+
disabled
|
|
15
|
+
/>
|
|
16
|
+
<button
|
|
17
|
+
id="vm-wizard-dvd-media-input"
|
|
18
|
+
data-id="vm-wizard-dvd-media-input"
|
|
19
|
+
class="button btn btn-default btn-sm"
|
|
20
|
+
@click="onBrowse"
|
|
21
|
+
>
|
|
22
|
+
{{ localization.common.browse }}...
|
|
23
|
+
</button>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
</atoms-stack-block>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script setup lang="ts">
|
|
31
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
32
|
+
|
|
33
|
+
const props = defineProps<{
|
|
34
|
+
cdDvdMedia: string
|
|
35
|
+
}>()
|
|
36
|
+
const emits = defineEmits<{
|
|
37
|
+
(event: 'update:cd-dvd-media', value: string): void
|
|
38
|
+
(event: 'browse'): void
|
|
39
|
+
}>()
|
|
40
|
+
|
|
41
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
42
|
+
|
|
43
|
+
const cdDvdMediaLocal = computed<string>({
|
|
44
|
+
get() {
|
|
45
|
+
return props.cdDvdMedia
|
|
46
|
+
},
|
|
47
|
+
set(newValue) {
|
|
48
|
+
emits('update:cd-dvd-media', newValue)
|
|
49
|
+
},
|
|
50
|
+
})
|
|
51
|
+
|
|
52
|
+
const onBrowse = (): void => {
|
|
53
|
+
emits('browse')
|
|
54
|
+
}
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style scoped></style>
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="hardware-cpu">
|
|
3
|
+
<atoms-stack-block :has-children="true" test-id="cpu-stack-block">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
<div
|
|
6
|
+
id="vm-wizard-toggle-block-cpu"
|
|
7
|
+
data-id="vm-wizard-toggle-block-cpu"
|
|
8
|
+
class="flex-align-center"
|
|
9
|
+
>
|
|
10
|
+
<span>{{ localization.common.cpu }}</span>
|
|
11
|
+
<atoms-the-icon
|
|
12
|
+
v-show="cpuInvalid"
|
|
13
|
+
width="24px"
|
|
14
|
+
height="24px"
|
|
15
|
+
class="is-error tooltip-trigger"
|
|
16
|
+
name="info"
|
|
17
|
+
/>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<template #stackBlockContent>
|
|
21
|
+
<div class="flex-align-center flex-space-between">
|
|
22
|
+
<div class="flex-align-center">
|
|
23
|
+
<atoms-tooltip-error
|
|
24
|
+
:has-error="!!vcpusLocalAndApiErrorsTexts"
|
|
25
|
+
selector="#vm-wizard-vcpus-field input"
|
|
26
|
+
@remove="onRemoveValidationError"
|
|
27
|
+
>
|
|
28
|
+
<template #elem>
|
|
29
|
+
<atoms-combobox
|
|
30
|
+
id="vm-wizard-vcpus-field"
|
|
31
|
+
class="input-text-color"
|
|
32
|
+
v-model.number="selectedCpu"
|
|
33
|
+
:items="cpuOptions"
|
|
34
|
+
:disabled="isCpuDisabled"
|
|
35
|
+
test-id="vm-wizard-cpu-combobox"
|
|
36
|
+
@click.stop
|
|
37
|
+
/>
|
|
38
|
+
</template>
|
|
39
|
+
<template #content>{{ vcpusLocalAndApiErrorsTexts }}</template>
|
|
40
|
+
</atoms-tooltip-error>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip
|
|
44
|
+
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
<template #stackChildren>
|
|
49
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-cores-per-socket
|
|
50
|
+
v-model:selected-core-per-socket="selectedCorePerSocket"
|
|
51
|
+
:selected-cpus="selectedCpus"
|
|
52
|
+
:cpu-options="cpuOptions"
|
|
53
|
+
:is-edit="props.isEdit"
|
|
54
|
+
:disabled="isDisabled"
|
|
55
|
+
:error-validation-fields="props.errorValidationFields"
|
|
56
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
57
|
+
/>
|
|
58
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-hot-plug
|
|
59
|
+
v-model:enable-cpu-hot-add="enableCpuHotAdd"
|
|
60
|
+
:disabled="enableCpuHotAddDisabled"
|
|
61
|
+
/>
|
|
62
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-max-cpu
|
|
63
|
+
v-show="enableCpuHotAdd"
|
|
64
|
+
v-model:selected-max-cpu.number="selectedMaxCpu"
|
|
65
|
+
:cpu-options="maxCpuOptions"
|
|
66
|
+
:error-validation-fields="props.errorValidationFields"
|
|
67
|
+
:disabled="isDisabled"
|
|
68
|
+
@invalid="maxCpuInvalid = $event"
|
|
69
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
70
|
+
/>
|
|
71
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-reservation
|
|
72
|
+
v-model:reservation="reservation"
|
|
73
|
+
v-model:reservation-type="reservationType"
|
|
74
|
+
:error-validation-fields="props.errorValidationFields"
|
|
75
|
+
:disabled="isDisabled"
|
|
76
|
+
type="mhz"
|
|
77
|
+
component-type="cpu"
|
|
78
|
+
@invalid="reservationInvalid = $event"
|
|
79
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
80
|
+
/>
|
|
81
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-limit
|
|
82
|
+
v-model:limit="limit"
|
|
83
|
+
v-model:limit-type="limitType"
|
|
84
|
+
:error-validation-fields="props.errorValidationFields"
|
|
85
|
+
:disabled="isDisabled"
|
|
86
|
+
type="mhz"
|
|
87
|
+
component-type="cpu"
|
|
88
|
+
@invalid="limitInvalid = $event"
|
|
89
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
90
|
+
/>
|
|
91
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-shares
|
|
92
|
+
v-model:shares="shares"
|
|
93
|
+
v-model:shares-type="sharesType"
|
|
94
|
+
:error-validation-fields="props.errorValidationFields"
|
|
95
|
+
:disabled="isDisabled"
|
|
96
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
97
|
+
@invalid="sharesInvalid = $event"
|
|
98
|
+
/>
|
|
99
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-hv-->
|
|
100
|
+
<!-- v-models:hardwareVirtualization="hardwareVirtualization"-->
|
|
101
|
+
<!-- />-->
|
|
102
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-pc-->
|
|
103
|
+
<!-- v-models:performanceCounters="performanceCounters"-->
|
|
104
|
+
<!-- />-->
|
|
105
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-sa-->
|
|
106
|
+
<!-- v-models:schedulingAffinity="schedulingAffinity"-->
|
|
107
|
+
<!-- />-->
|
|
108
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-iommu-->
|
|
109
|
+
<!-- v-models:iommu="iommu"-->
|
|
110
|
+
<!-- />-->
|
|
111
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-model
|
|
112
|
+
v-model:cpu-model="cpuModel"
|
|
113
|
+
v-model:passthrough-host-cpu="passthroughHostCpu"
|
|
114
|
+
v-model:host-model-cpu="hostModelCpu"
|
|
115
|
+
:cpu-models="props.cpuModels"
|
|
116
|
+
:is-edit="props.isEdit"
|
|
117
|
+
:error-validation-fields="props.errorValidationFields"
|
|
118
|
+
:disabled="isDisabled"
|
|
119
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
120
|
+
/>
|
|
121
|
+
</template>
|
|
122
|
+
</atoms-stack-block>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
|
|
126
|
+
<script setup lang="ts">
|
|
127
|
+
import type { UI_I_SendDataCpu } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
128
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
129
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
130
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
131
|
+
import type { API_UI_I_VmEditCpu } from '~/lib/models/store/vm/interfaces'
|
|
132
|
+
import { cpuOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/lib/config/cpuOptions'
|
|
133
|
+
|
|
134
|
+
const props = defineProps<{
|
|
135
|
+
maxCpus: number
|
|
136
|
+
cpuModels: UI_I_OptionItem[]
|
|
137
|
+
isEdit: boolean
|
|
138
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
139
|
+
vmCpuHelpTextSecond?: string
|
|
140
|
+
state?: string | number
|
|
141
|
+
cpu?: API_UI_I_VmEditCpu
|
|
142
|
+
}>()
|
|
143
|
+
const emits = defineEmits<{
|
|
144
|
+
(event: 'send-data', value: UI_I_SendDataCpu): void
|
|
145
|
+
(event: 'invalid', value: boolean): void
|
|
146
|
+
(event: 'remove-error-by-title', value: string): void
|
|
147
|
+
}>()
|
|
148
|
+
|
|
149
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
150
|
+
|
|
151
|
+
const isDisabled = computed<boolean>(() => {
|
|
152
|
+
return props.state === 2
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
const cpuOptions = computed<UI_I_OptionItem[]>(() =>
|
|
156
|
+
cpuOptionsFunc(localization.value, 1, props.maxCpus)
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
const enableCpuHotAdd = ref<boolean>(false)
|
|
160
|
+
const enableCpuHotAddDisabled = computed<boolean>(
|
|
161
|
+
() => selectedCpu.value >= props.maxCpus || isDisabled.value
|
|
162
|
+
)
|
|
163
|
+
watch(enableCpuHotAdd, (newValue) => {
|
|
164
|
+
console.log(newValue, 333)
|
|
165
|
+
if (newValue) return
|
|
166
|
+
|
|
167
|
+
maxCpuInvalid.value = false
|
|
168
|
+
selectedMaxCpu.value = 1
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
const selectedCpu = ref<number>(
|
|
172
|
+
isDisabled.value && enableCpuHotAdd.value ? props.maxCpus : 2
|
|
173
|
+
)
|
|
174
|
+
const isCpuDisabled = computed<boolean>(
|
|
175
|
+
() => isDisabled.value && !enableCpuHotAdd.value
|
|
176
|
+
)
|
|
177
|
+
watch(selectedCpu, (newValue) => {
|
|
178
|
+
selectedCpu.value = Math.floor(+newValue)
|
|
179
|
+
if (!(selectedCpu.value % selectedCorePerSocket.value) || isDisabled.value)
|
|
180
|
+
return
|
|
181
|
+
selectedCorePerSocket.value = 1
|
|
182
|
+
})
|
|
183
|
+
const maxCpuOptions = computed<UI_I_OptionItem[]>(() =>
|
|
184
|
+
cpuOptionsFunc(localization.value, selectedCpu.value, props.maxCpus)
|
|
185
|
+
)
|
|
186
|
+
watch(selectedCpu, (newValue) => {
|
|
187
|
+
if (newValue >= props.maxCpus) {
|
|
188
|
+
console.log(444)
|
|
189
|
+
enableCpuHotAdd.value = false
|
|
190
|
+
}
|
|
191
|
+
// selectedMaxCpu.value =
|
|
192
|
+
// selectedMaxCpu.value <= newValue ? newValue + 1 : selectedMaxCpu.value
|
|
193
|
+
// if (selectedMaxCpu.value > props.maxCpus) selectedMaxCpu.value = props.maxCpus
|
|
194
|
+
})
|
|
195
|
+
const selectedMaxCpu = ref<number>(1)
|
|
196
|
+
watch(
|
|
197
|
+
() => props.maxCpus,
|
|
198
|
+
(newValue) => {
|
|
199
|
+
selectedMaxCpu.value = newValue
|
|
200
|
+
}
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
const selectedCpus = computed<number[]>(() =>
|
|
204
|
+
enableCpuHotAdd.value
|
|
205
|
+
? [selectedCpu.value, selectedMaxCpu.value]
|
|
206
|
+
: [selectedCpu.value]
|
|
207
|
+
)
|
|
208
|
+
|
|
209
|
+
const selectedCorePerSocket = ref<number>(1)
|
|
210
|
+
|
|
211
|
+
const cpuErrorLocalText = computed<string>(() => {
|
|
212
|
+
const validValue = /^\d+(\.\d+)?$/.test(selectedCpu.value + '')
|
|
213
|
+
if (!validValue) {
|
|
214
|
+
return localization.value.common.inputContainsInvalidCharacters
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const min = cpuOptions.value[0].value
|
|
218
|
+
const max = cpuOptions.value[1].value
|
|
219
|
+
if (selectedCpu.value < min || selectedCpu.value > max) {
|
|
220
|
+
return localization.value.common.memoryMustBe
|
|
221
|
+
.replace('{0}', min)
|
|
222
|
+
.replace('{1}', max)
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
return ''
|
|
226
|
+
})
|
|
227
|
+
|
|
228
|
+
const apiVcpusError = computed<string>(() => {
|
|
229
|
+
return (
|
|
230
|
+
props.errorValidationFields?.find(
|
|
231
|
+
(message) => message.field === 'cpu.vcpus'
|
|
232
|
+
)?.error_message || ''
|
|
233
|
+
)
|
|
234
|
+
})
|
|
235
|
+
|
|
236
|
+
const vcpusLocalAndApiErrorsTexts = computed<string>(() => {
|
|
237
|
+
const localError = cpuErrorLocalText.value
|
|
238
|
+
const apiError = apiVcpusError.value
|
|
239
|
+
|
|
240
|
+
let result = ''
|
|
241
|
+
if (localError && !apiError) result = localError
|
|
242
|
+
if (!localError && apiError) result = apiError
|
|
243
|
+
if (localError && apiError) result = localError + ', ' + apiError
|
|
244
|
+
if (!localError && apiError) result = apiError
|
|
245
|
+
|
|
246
|
+
return result
|
|
247
|
+
})
|
|
248
|
+
const reservationInvalid = ref<boolean>(false)
|
|
249
|
+
const limitInvalid = ref<boolean>(false)
|
|
250
|
+
const sharesInvalid = ref<boolean>(false)
|
|
251
|
+
const maxCpuInvalid = ref<boolean>(false)
|
|
252
|
+
const cpuInvalid = computed<boolean>(
|
|
253
|
+
() =>
|
|
254
|
+
!!cpuErrorLocalText.value ||
|
|
255
|
+
reservationInvalid.value ||
|
|
256
|
+
limitInvalid.value ||
|
|
257
|
+
sharesInvalid.value ||
|
|
258
|
+
(enableCpuHotAdd.value &&
|
|
259
|
+
selectedCpu.value < props.maxCpus &&
|
|
260
|
+
maxCpuInvalid.value)
|
|
261
|
+
)
|
|
262
|
+
watch(
|
|
263
|
+
cpuInvalid,
|
|
264
|
+
(newValue: boolean) => {
|
|
265
|
+
emits('invalid', newValue)
|
|
266
|
+
},
|
|
267
|
+
{ immediate: true }
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
const reservation = ref<string>('1')
|
|
271
|
+
const reservationType = ref<string>('mhz')
|
|
272
|
+
|
|
273
|
+
const limit = ref<string>('Unlimited')
|
|
274
|
+
const limitType = ref<string>('mhz')
|
|
275
|
+
|
|
276
|
+
const shares = ref<string>('2000')
|
|
277
|
+
const sharesType = ref<string>('2000')
|
|
278
|
+
|
|
279
|
+
// const hardwareVirtualization = ref<boolean>(false)
|
|
280
|
+
//
|
|
281
|
+
// const performanceCounters = ref<boolean>(false)
|
|
282
|
+
//
|
|
283
|
+
// const schedulingAffinity = ref<string>('')
|
|
284
|
+
//
|
|
285
|
+
// const iommu = ref<boolean>(false)
|
|
286
|
+
|
|
287
|
+
// const cpuModel = ref<string>(props.cpuModels[0]?.value || '')
|
|
288
|
+
const cpuModel = ref<string>('host-model') // PNCWEB-389
|
|
289
|
+
watch(
|
|
290
|
+
() => props.cpuModels,
|
|
291
|
+
(newValue) => {
|
|
292
|
+
cpuModel.value = newValue[0].value
|
|
293
|
+
}
|
|
294
|
+
)
|
|
295
|
+
const passthroughHostCpu = ref<boolean>(false)
|
|
296
|
+
const hostModelCpu = ref<boolean>(false)
|
|
297
|
+
|
|
298
|
+
// const isShowCpuHelp = ref<boolean>(false)
|
|
299
|
+
|
|
300
|
+
const { $binary } = useNuxtApp()
|
|
301
|
+
watch(
|
|
302
|
+
[
|
|
303
|
+
reservation,
|
|
304
|
+
reservationType,
|
|
305
|
+
limit,
|
|
306
|
+
limitType,
|
|
307
|
+
shares,
|
|
308
|
+
selectedCpu,
|
|
309
|
+
selectedMaxCpu,
|
|
310
|
+
selectedCorePerSocket,
|
|
311
|
+
enableCpuHotAdd,
|
|
312
|
+
cpuModel,
|
|
313
|
+
passthroughHostCpu,
|
|
314
|
+
hostModelCpu,
|
|
315
|
+
],
|
|
316
|
+
() => {
|
|
317
|
+
const reservationInMhz =
|
|
318
|
+
reservationType.value === 'ghz'
|
|
319
|
+
? $binary.ghzToMhz(+reservation.value)
|
|
320
|
+
: +reservation.value
|
|
321
|
+
const limitInMhz =
|
|
322
|
+
limit.value === 'Unlimited'
|
|
323
|
+
? limit.value
|
|
324
|
+
: limitType.value === 'ghz'
|
|
325
|
+
? $binary.ghzToMhz(+limit.value)
|
|
326
|
+
: +limit.value
|
|
327
|
+
const model = passthroughHostCpu.value
|
|
328
|
+
? 'host-passthrough'
|
|
329
|
+
: hostModelCpu.value
|
|
330
|
+
? 'host-model'
|
|
331
|
+
: cpuModel.value
|
|
332
|
+
|
|
333
|
+
emits('send-data', {
|
|
334
|
+
model,
|
|
335
|
+
vcpus: selectedCpu.value,
|
|
336
|
+
max_vcpus: enableCpuHotAdd.value ? selectedMaxCpu.value : 0,
|
|
337
|
+
core_per_socket: selectedCorePerSocket.value,
|
|
338
|
+
reservation_mhz: reservationInMhz,
|
|
339
|
+
limit_mhz: limitInMhz,
|
|
340
|
+
shares: +shares.value,
|
|
341
|
+
hotplug: enableCpuHotAdd.value,
|
|
342
|
+
})
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
immediate: true,
|
|
346
|
+
}
|
|
347
|
+
)
|
|
348
|
+
|
|
349
|
+
// Добавляем данные для редактирования
|
|
350
|
+
watch(
|
|
351
|
+
() => props.cpu,
|
|
352
|
+
(newValue) => {
|
|
353
|
+
if (!newValue) return
|
|
354
|
+
|
|
355
|
+
console.log(newValue.hotplug, 555)
|
|
356
|
+
enableCpuHotAdd.value = newValue.hotplug
|
|
357
|
+
selectedCpu.value = newValue.vcpus
|
|
358
|
+
selectedMaxCpu.value = newValue.hotplug ? newValue.max_vcpus : 1
|
|
359
|
+
selectedCorePerSocket.value = newValue.core_per_socket
|
|
360
|
+
reservation.value = '' + newValue.reservation_mhz
|
|
361
|
+
limit.value = '' + newValue.limit_mhz
|
|
362
|
+
shares.value = '' + newValue.shares
|
|
363
|
+
|
|
364
|
+
switch (newValue.model) {
|
|
365
|
+
case 'host-passthrough':
|
|
366
|
+
passthroughHostCpu.value = true
|
|
367
|
+
cpuModel.value = ''
|
|
368
|
+
break
|
|
369
|
+
case 'host-model':
|
|
370
|
+
hostModelCpu.value = true
|
|
371
|
+
cpuModel.value = ''
|
|
372
|
+
break
|
|
373
|
+
default:
|
|
374
|
+
cpuModel.value =
|
|
375
|
+
props.cpuModels.find((model) => model.value === newValue.model)
|
|
376
|
+
?.value || cpuModel.value
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{ immediate: true }
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
const onRemoveValidationError = (): void => {
|
|
383
|
+
emits('remove-error-by-title', 'cpu.vcpus')
|
|
384
|
+
}
|
|
385
|
+
</script>
|
|
386
|
+
|
|
387
|
+
<style scoped lang="scss">
|
|
388
|
+
h3.cpu-help-title {
|
|
389
|
+
margin-top: 7px;
|
|
390
|
+
font-size: 22px;
|
|
391
|
+
color: #565656;
|
|
392
|
+
}
|
|
393
|
+
p.cpu-help-text {
|
|
394
|
+
width: 310px;
|
|
395
|
+
margin-top: 24px;
|
|
396
|
+
font-size: 14px;
|
|
397
|
+
color: #565656;
|
|
398
|
+
}
|
|
399
|
+
a.cpu-more-info {
|
|
400
|
+
color: #00648f;
|
|
401
|
+
font-size: 14px;
|
|
402
|
+
}
|
|
403
|
+
</style>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.hardwareVirtualization }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-space-between">
|
|
9
|
+
<div class="flex-align-center">
|
|
10
|
+
<input
|
|
11
|
+
id="expose-hardware-assisted-virtualization"
|
|
12
|
+
v-model="hardwareVirtualizationLocal"
|
|
13
|
+
data-id="expose-hardware-assisted-virtualization"
|
|
14
|
+
type="checkbox"
|
|
15
|
+
disabled
|
|
16
|
+
/>
|
|
17
|
+
<label
|
|
18
|
+
for="expose-hardware-assisted-virtualization"
|
|
19
|
+
:class="['label-text-normal', { 'div-disabled': true }]"
|
|
20
|
+
>{{
|
|
21
|
+
localization.common.exposeHardwareAssistedVirtualizationGuestOs
|
|
22
|
+
}}</label
|
|
23
|
+
>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div id="hv-help-icon">
|
|
27
|
+
<atoms-the-icon
|
|
28
|
+
fill="#0072a3"
|
|
29
|
+
width="24px"
|
|
30
|
+
height="24px"
|
|
31
|
+
name="info-circle"
|
|
32
|
+
data-id="show-hv-help-icon"
|
|
33
|
+
@click.stop="isShowHvHelp = !isShowHvHelp"
|
|
34
|
+
/>
|
|
35
|
+
<Teleport to="body">
|
|
36
|
+
<atoms-tooltip-signpost
|
|
37
|
+
v-if="isShowHvHelp"
|
|
38
|
+
elem-id="hv-help-icon"
|
|
39
|
+
@hide="isShowHvHelp = false"
|
|
40
|
+
>
|
|
41
|
+
<h3 class="hv-help-title">
|
|
42
|
+
{{ localization.mainNavigation.help }}
|
|
43
|
+
</h3>
|
|
44
|
+
|
|
45
|
+
<p class="hv-help-text">
|
|
46
|
+
{{
|
|
47
|
+
localization.common.hardwareVirtualizationHelpDescription
|
|
48
|
+
}}
|
|
49
|
+
</p>
|
|
50
|
+
</atoms-tooltip-signpost>
|
|
51
|
+
</Teleport>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
55
|
+
</atoms-stack-block>
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
58
|
+
|
|
59
|
+
<script setup lang="ts">
|
|
60
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
61
|
+
|
|
62
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
63
|
+
|
|
64
|
+
const props = defineProps<{
|
|
65
|
+
hardwareVirtualization: boolean
|
|
66
|
+
}>()
|
|
67
|
+
const emits = defineEmits<{
|
|
68
|
+
(event: 'update:hardware-virtualization', value: boolean): boolean
|
|
69
|
+
}>()
|
|
70
|
+
|
|
71
|
+
const hardwareVirtualizationLocal = computed<boolean>({
|
|
72
|
+
get() {
|
|
73
|
+
return props.hardwareVirtualization
|
|
74
|
+
},
|
|
75
|
+
set(newValue) {
|
|
76
|
+
emits('update:hardware-virtualization', newValue)
|
|
77
|
+
},
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
const isShowHvHelp = ref<boolean>(false)
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style scoped lang="scss">
|
|
84
|
+
#expose-hardware-assisted-virtualization {
|
|
85
|
+
margin: 4px 4px 0 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
h3.hv-help-title {
|
|
89
|
+
margin-top: 7px;
|
|
90
|
+
font-size: 22px;
|
|
91
|
+
color: #565656;
|
|
92
|
+
}
|
|
93
|
+
p.hv-help-text {
|
|
94
|
+
width: 310px;
|
|
95
|
+
margin-top: 24px;
|
|
96
|
+
font-size: 14px;
|
|
97
|
+
color: #565656;
|
|
98
|
+
}
|
|
99
|
+
</style>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.iommu }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-space-between">
|
|
9
|
+
<div class="flex-align-center">
|
|
10
|
+
<input
|
|
11
|
+
id="enable-iommu"
|
|
12
|
+
v-model="iommuLocal"
|
|
13
|
+
type="checkbox"
|
|
14
|
+
data-id="select-enable-iommu"
|
|
15
|
+
disabled
|
|
16
|
+
/>
|
|
17
|
+
<label
|
|
18
|
+
for="enable-iommu"
|
|
19
|
+
:class="['label-text-normal', { 'div-disabled': true }]"
|
|
20
|
+
>{{ localization.common.enabled }}</label
|
|
21
|
+
>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
</atoms-stack-block>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup lang="ts">
|
|
30
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
+
|
|
32
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
33
|
+
|
|
34
|
+
const props = defineProps<{
|
|
35
|
+
iommu: boolean
|
|
36
|
+
}>()
|
|
37
|
+
const emits = defineEmits<{
|
|
38
|
+
(event: 'update:iommu', value: boolean): boolean
|
|
39
|
+
}>()
|
|
40
|
+
|
|
41
|
+
const iommuLocal = computed<boolean>({
|
|
42
|
+
get() {
|
|
43
|
+
return props.iommu
|
|
44
|
+
},
|
|
45
|
+
set(newValue) {
|
|
46
|
+
emits('update:iommu', newValue)
|
|
47
|
+
},
|
|
48
|
+
})
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style scoped lang="scss">
|
|
52
|
+
#enable-iommu {
|
|
53
|
+
margin: 4px 4px 0 0;
|
|
54
|
+
}
|
|
55
|
+
</style>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.performanceCounters }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-space-between">
|
|
9
|
+
<div class="flex-align-center">
|
|
10
|
+
<input
|
|
11
|
+
id="enable-performance-counters"
|
|
12
|
+
v-model="performanceCountersLocal"
|
|
13
|
+
data-id="enable-performance-counters"
|
|
14
|
+
type="checkbox"
|
|
15
|
+
disabled
|
|
16
|
+
/>
|
|
17
|
+
<label
|
|
18
|
+
for="enable-performance-counters"
|
|
19
|
+
:class="['label-text-normal', { 'div-disabled': true }]"
|
|
20
|
+
>{{ localization.common.enableVirtualizedCpuPerformanceCounters }}</label
|
|
21
|
+
>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
</atoms-stack-block>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup lang="ts">
|
|
30
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
+
|
|
32
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
33
|
+
|
|
34
|
+
const props = defineProps<{
|
|
35
|
+
performanceCounters: boolean
|
|
36
|
+
}>()
|
|
37
|
+
const emits = defineEmits<{
|
|
38
|
+
(event: 'update:performance-counters', value: boolean): void
|
|
39
|
+
}>()
|
|
40
|
+
|
|
41
|
+
const performanceCountersLocal = computed<boolean>({
|
|
42
|
+
get() {
|
|
43
|
+
return props.performanceCounters
|
|
44
|
+
},
|
|
45
|
+
set(newValue) {
|
|
46
|
+
emits('update:performance-counters', newValue)
|
|
47
|
+
},
|
|
48
|
+
})
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style scoped lang="scss">
|
|
52
|
+
#enable-performance-counters {
|
|
53
|
+
margin: 4px 4px 0 0;
|
|
54
|
+
}
|
|
55
|
+
</style>
|