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
|
@@ -1,126 +1,74 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:selected-cpu="selectedCpu"
|
|
5
|
+
v-model:selected-core-per-socket="selectedCorePerSocket"
|
|
6
|
+
v-model:enable-cpu-hot-add="enableCpuHotAdd"
|
|
7
|
+
v-model:selected-max-cpu="selectedMaxCpu"
|
|
8
|
+
v-model:reservation="reservation"
|
|
9
|
+
v-model:reservation-type="reservationType"
|
|
10
|
+
v-model:limit="limit"
|
|
11
|
+
v-model:limit-type="limitType"
|
|
12
|
+
v-model:shares="shares"
|
|
13
|
+
v-model:shares-type="sharesType"
|
|
14
|
+
v-model:cpu-model="cpuModel"
|
|
15
|
+
v-model:passthrough-host-cpu="passthroughHostCpu"
|
|
16
|
+
v-model:host-model-cpu="hostModelCpu"
|
|
17
|
+
:max-cpus="props.maxCpus"
|
|
18
|
+
:cpu-models="props.cpuModels"
|
|
19
|
+
:is-edit="props.isEdit"
|
|
20
|
+
:error-validation-fields="props.errorValidationFields"
|
|
21
|
+
:cpu-invalid="cpuInvalid"
|
|
22
|
+
:vcpus-local-and-api-errors-texts="vcpusLocalAndApiErrorsTexts"
|
|
23
|
+
:cpu-options="cpuOptions"
|
|
24
|
+
:is-cpu-disabled="isCpuDisabled"
|
|
25
|
+
:selected-cpus="selectedCpus"
|
|
26
|
+
:is-disabled="isDisabled"
|
|
27
|
+
:enable-cpu-hot-add-disabled="enableCpuHotAddDisabled"
|
|
28
|
+
:max-cpu-options="maxCpuOptions"
|
|
29
|
+
:vm-cpu-help-text-second="vmCpuHelpTextSecond"
|
|
30
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
31
|
+
@remove-validation-error="onRemoveValidationError"
|
|
32
|
+
@max-cpu-invalid="maxCpuInvalid = $event"
|
|
33
|
+
@reservation-invalid="reservationInvalid = $event"
|
|
34
|
+
@limit-invalid="limitInvalid = $event"
|
|
35
|
+
@shares-invalid="sharesInvalid = $event"
|
|
36
|
+
/>
|
|
37
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-old
|
|
38
|
+
v-else
|
|
39
|
+
v-model:selected-cpu="selectedCpu"
|
|
40
|
+
v-model:selected-core-per-socket="selectedCorePerSocket"
|
|
41
|
+
v-model:enable-cpu-hot-add="enableCpuHotAdd"
|
|
42
|
+
v-model:selected-max-cpu="selectedMaxCpu"
|
|
43
|
+
v-model:reservation="reservation"
|
|
44
|
+
v-model:reservation-type="reservationType"
|
|
45
|
+
v-model:limit="limit"
|
|
46
|
+
v-model:limit-type="limitType"
|
|
47
|
+
v-model:shares="shares"
|
|
48
|
+
v-model:shares-type="sharesType"
|
|
49
|
+
v-model:cpu-model="cpuModel"
|
|
50
|
+
v-model:passthrough-host-cpu="passthroughHostCpu"
|
|
51
|
+
v-model:host-model-cpu="hostModelCpu"
|
|
52
|
+
:max-cpus="props.maxCpus"
|
|
53
|
+
:cpu-models="props.cpuModels"
|
|
54
|
+
:is-edit="props.isEdit"
|
|
55
|
+
:error-validation-fields="props.errorValidationFields"
|
|
56
|
+
:cpu-invalid="cpuInvalid"
|
|
57
|
+
:vcpus-local-and-api-errors-texts="vcpusLocalAndApiErrorsTexts"
|
|
58
|
+
:cpu-options="cpuOptions"
|
|
59
|
+
:is-cpu-disabled="isCpuDisabled"
|
|
60
|
+
:selected-cpus="selectedCpus"
|
|
61
|
+
:is-disabled="isDisabled"
|
|
62
|
+
:enable-cpu-hot-add-disabled="enableCpuHotAddDisabled"
|
|
63
|
+
:max-cpu-options="maxCpuOptions"
|
|
64
|
+
:vm-cpu-help-text-second="vmCpuHelpTextSecond"
|
|
65
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
66
|
+
@remove-validation-error="onRemoveValidationError"
|
|
67
|
+
@max-cpu-invalid="maxCpuInvalid = $event"
|
|
68
|
+
@reservation-invalid="reservationInvalid = $event"
|
|
69
|
+
@limit-invalid="limitInvalid = $event"
|
|
70
|
+
@shares-invalid="sharesInvalid = $event"
|
|
71
|
+
/>
|
|
124
72
|
</template>
|
|
125
73
|
|
|
126
74
|
<script setup lang="ts">
|
|
@@ -146,6 +94,9 @@ const emits = defineEmits<{
|
|
|
146
94
|
(event: 'remove-error-by-title', value: string): void
|
|
147
95
|
}>()
|
|
148
96
|
|
|
97
|
+
const { $store }: any = useNuxtApp()
|
|
98
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
99
|
+
|
|
149
100
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
150
101
|
|
|
151
102
|
const isDisabled = computed<boolean>(() => {
|
|
@@ -161,7 +112,6 @@ const enableCpuHotAddDisabled = computed<boolean>(
|
|
|
161
112
|
() => selectedCpu.value >= props.maxCpus || isDisabled.value
|
|
162
113
|
)
|
|
163
114
|
watch(enableCpuHotAdd, (newValue) => {
|
|
164
|
-
console.log(newValue, 333)
|
|
165
115
|
if (newValue) return
|
|
166
116
|
|
|
167
117
|
maxCpuInvalid.value = false
|
|
@@ -352,7 +302,6 @@ watch(
|
|
|
352
302
|
(newValue) => {
|
|
353
303
|
if (!newValue) return
|
|
354
304
|
|
|
355
|
-
console.log(newValue.hotplug, 555)
|
|
356
305
|
enableCpuHotAdd.value = newValue.hotplug
|
|
357
306
|
selectedCpu.value = newValue.vcpus
|
|
358
307
|
selectedMaxCpu.value = newValue.hotplug ? newValue.max_vcpus : 1
|
|
@@ -385,19 +334,4 @@ const onRemoveValidationError = (): void => {
|
|
|
385
334
|
</script>
|
|
386
335
|
|
|
387
336
|
<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
337
|
</style>
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="hardware-cpu">
|
|
3
|
+
<ui-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 class="title">{{ localization.common.cpu }}</span>
|
|
11
|
+
<ui-icon
|
|
12
|
+
v-show="props.cpuInvalid"
|
|
13
|
+
width="18px"
|
|
14
|
+
height="18px"
|
|
15
|
+
name="error-outline"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
<template #stackBlockContent>
|
|
20
|
+
<div class="flex-align-center flex-space-between">
|
|
21
|
+
<ui-combobox
|
|
22
|
+
v-model.number="selectedCpu"
|
|
23
|
+
class="cpu-select"
|
|
24
|
+
:items="props.cpuOptions"
|
|
25
|
+
:disabled="props.isCpuDisabled"
|
|
26
|
+
:error-text="props.vcpusLocalAndApiErrorsTexts"
|
|
27
|
+
test-id="vm-wizard-cpu-combobox"
|
|
28
|
+
@click.stop
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip
|
|
32
|
+
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<template #stackChildren>
|
|
37
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-cores-per-socket
|
|
38
|
+
v-model:selected-core-per-socket="selectedCorePerSocket"
|
|
39
|
+
:selected-cpus="props.selectedCpus"
|
|
40
|
+
:cpu-options="props.cpuOptions"
|
|
41
|
+
:is-edit="props.isEdit"
|
|
42
|
+
:disabled="props.isDisabled"
|
|
43
|
+
:error-validation-fields="props.errorValidationFields"
|
|
44
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
45
|
+
/>
|
|
46
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-cpu-hot-plug
|
|
47
|
+
v-model:enable-cpu-hot-add="enableCpuHotAdd"
|
|
48
|
+
:disabled="props.enableCpuHotAddDisabled"
|
|
49
|
+
/>
|
|
50
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-max-cpu
|
|
51
|
+
v-show="enableCpuHotAdd"
|
|
52
|
+
v-model:selected-max-cpu.number="selectedMaxCpu"
|
|
53
|
+
:cpu-options="props.maxCpuOptions"
|
|
54
|
+
:error-validation-fields="props.errorValidationFields"
|
|
55
|
+
:disabled="props.isDisabled"
|
|
56
|
+
@invalid="emits('max-cpu-invalid', $event)"
|
|
57
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
58
|
+
/>
|
|
59
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-reservation
|
|
60
|
+
v-model:reservation="reservation"
|
|
61
|
+
v-model:reservation-type="reservationType"
|
|
62
|
+
:error-validation-fields="props.errorValidationFields"
|
|
63
|
+
:disabled="props.isDisabled"
|
|
64
|
+
type="mhz"
|
|
65
|
+
component-type="cpu"
|
|
66
|
+
@invalid="emits('reservation-invalid', $event)"
|
|
67
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
68
|
+
/>
|
|
69
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-limit
|
|
70
|
+
v-model:limit="limit"
|
|
71
|
+
v-model:limit-type="limitType"
|
|
72
|
+
:error-validation-fields="props.errorValidationFields"
|
|
73
|
+
:disabled="props.isDisabled"
|
|
74
|
+
type="mhz"
|
|
75
|
+
component-type="cpu"
|
|
76
|
+
@invalid="emits('limit-invalid', $event)"
|
|
77
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
78
|
+
/>
|
|
79
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-shares
|
|
80
|
+
v-model:shares="shares"
|
|
81
|
+
v-model:shares-type="sharesType"
|
|
82
|
+
:error-validation-fields="props.errorValidationFields"
|
|
83
|
+
:disabled="props.isDisabled"
|
|
84
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
85
|
+
@invalid="emits('shares-invalid', $event)"
|
|
86
|
+
/>
|
|
87
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-hv-->
|
|
88
|
+
<!-- v-models:hardwareVirtualization="hardwareVirtualization"-->
|
|
89
|
+
<!-- />-->
|
|
90
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-pc-->
|
|
91
|
+
<!-- v-models:performanceCounters="performanceCounters"-->
|
|
92
|
+
<!-- />-->
|
|
93
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-sa-->
|
|
94
|
+
<!-- v-models:schedulingAffinity="schedulingAffinity"-->
|
|
95
|
+
<!-- />-->
|
|
96
|
+
<!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-iommu-->
|
|
97
|
+
<!-- v-models:iommu="iommu"-->
|
|
98
|
+
<!-- />-->
|
|
99
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-cpu-model
|
|
100
|
+
v-model:cpu-model="cpuModel"
|
|
101
|
+
v-model:passthrough-host-cpu="passthroughHostCpu"
|
|
102
|
+
v-model:host-model-cpu="hostModelCpu"
|
|
103
|
+
:cpu-models="props.cpuModels"
|
|
104
|
+
:is-edit="props.isEdit"
|
|
105
|
+
:error-validation-fields="props.errorValidationFields"
|
|
106
|
+
:disabled="props.isDisabled"
|
|
107
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
108
|
+
/>
|
|
109
|
+
</template>
|
|
110
|
+
</ui-stack-block>
|
|
111
|
+
</div>
|
|
112
|
+
</template>
|
|
113
|
+
|
|
114
|
+
<script setup lang="ts">
|
|
115
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
116
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
117
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
118
|
+
|
|
119
|
+
const selectedCpu = defineModel<number>('selected-cpu', { required: true })
|
|
120
|
+
const selectedCorePerSocket = defineModel<number>('selected-core-per-socket', {
|
|
121
|
+
required: true,
|
|
122
|
+
})
|
|
123
|
+
const enableCpuHotAdd = defineModel<boolean>('enable-cpu-hot-add', {
|
|
124
|
+
required: true,
|
|
125
|
+
})
|
|
126
|
+
const selectedMaxCpu = defineModel<number>('selected-max-cpu', {
|
|
127
|
+
required: true,
|
|
128
|
+
})
|
|
129
|
+
const reservation = defineModel<string>('reservation', { required: true })
|
|
130
|
+
const reservationType = defineModel<string>('reservation-type', {
|
|
131
|
+
required: true,
|
|
132
|
+
})
|
|
133
|
+
const limit = defineModel<string>('limit', { required: true })
|
|
134
|
+
const limitType = defineModel<string>('limit-type', { required: true })
|
|
135
|
+
const shares = defineModel<string>('shares', { required: true })
|
|
136
|
+
const sharesType = defineModel<string>('shares-type', { required: true })
|
|
137
|
+
const cpuModel = defineModel<string>('cpu-model', { required: true })
|
|
138
|
+
const passthroughHostCpu = defineModel<boolean>('passthrough-host-cpu', {
|
|
139
|
+
required: true,
|
|
140
|
+
})
|
|
141
|
+
const hostModelCpu = defineModel<boolean>('host-model-cpu', { required: true })
|
|
142
|
+
|
|
143
|
+
const props = defineProps<{
|
|
144
|
+
maxCpus: number
|
|
145
|
+
cpuModels: UI_I_OptionItem[]
|
|
146
|
+
isEdit: boolean
|
|
147
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
148
|
+
cpuInvalid: boolean
|
|
149
|
+
vcpusLocalAndApiErrorsTexts: string
|
|
150
|
+
cpuOptions: UI_I_OptionItem[]
|
|
151
|
+
isCpuDisabled: boolean
|
|
152
|
+
selectedCpus: number[]
|
|
153
|
+
isDisabled: boolean
|
|
154
|
+
enableCpuHotAddDisabled: boolean
|
|
155
|
+
maxCpuOptions: UI_I_OptionItem[]
|
|
156
|
+
vmCpuHelpTextSecond?: string
|
|
157
|
+
}>()
|
|
158
|
+
const emits = defineEmits<{
|
|
159
|
+
(event: 'remove-error-by-title', value: string): void
|
|
160
|
+
(event: 'remove-validation-error'): void
|
|
161
|
+
(event: 'max-cpu-invalid', value: boolean): void
|
|
162
|
+
(event: 'reservation-invalid', value: boolean): void
|
|
163
|
+
(event: 'limit-invalid', value: boolean): void
|
|
164
|
+
(event: 'shares-invalid', value: boolean): void
|
|
165
|
+
}>()
|
|
166
|
+
|
|
167
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
168
|
+
</script>
|
|
169
|
+
|
|
170
|
+
<style scoped lang="scss">
|
|
171
|
+
.title {
|
|
172
|
+
margin-right: 10px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:deep(.ui-main-select-toggle) {
|
|
176
|
+
display: flex;
|
|
177
|
+
justify-content: space-between;
|
|
178
|
+
width: 108px;
|
|
179
|
+
background-color: #ffffff;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:deep(.unit .ui-main-select-toggle) {
|
|
183
|
+
width: 80px;
|
|
184
|
+
}
|
|
185
|
+
</style>
|
|
@@ -0,0 +1,174 @@
|
|
|
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="props.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="!!props.vcpusLocalAndApiErrorsTexts"
|
|
25
|
+
selector="#vm-wizard-vcpus-field input"
|
|
26
|
+
@remove="emits('remove-validation-error')"
|
|
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="props.cpuOptions"
|
|
34
|
+
:disabled="props.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="props.selectedCpus"
|
|
52
|
+
:cpu-options="props.cpuOptions"
|
|
53
|
+
:is-edit="props.isEdit"
|
|
54
|
+
:disabled="props.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="props.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="props.maxCpuOptions"
|
|
66
|
+
:error-validation-fields="props.errorValidationFields"
|
|
67
|
+
:disabled="props.isDisabled"
|
|
68
|
+
@invalid="emits('max-cpu-invalid', $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="props.isDisabled"
|
|
76
|
+
type="mhz"
|
|
77
|
+
component-type="cpu"
|
|
78
|
+
@invalid="emits('reservation-invalid', $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="props.isDisabled"
|
|
86
|
+
type="mhz"
|
|
87
|
+
component-type="cpu"
|
|
88
|
+
@invalid="emits('limit-invalid', $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="props.isDisabled"
|
|
96
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
97
|
+
@invalid="emits('shares-invalid', $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="props.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_Localization } from '~/lib/models/interfaces'
|
|
128
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
129
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
130
|
+
|
|
131
|
+
const selectedCpu = defineModel<number>('selected-cpu', {required: true})
|
|
132
|
+
const selectedCorePerSocket = defineModel<number>('selected-core-per-socket', {required: true})
|
|
133
|
+
const enableCpuHotAdd = defineModel<boolean>('enable-cpu-hot-add', {required: true})
|
|
134
|
+
const selectedMaxCpu = defineModel<number>('selected-max-cpu', {required: true})
|
|
135
|
+
const reservation = defineModel<string>('reservation', {required: true})
|
|
136
|
+
const reservationType = defineModel<string>('reservation-type', {required: true})
|
|
137
|
+
const limit = defineModel<string>('limit', {required: true})
|
|
138
|
+
const limitType = defineModel<string>('limit-type', {required: true})
|
|
139
|
+
const shares = defineModel<string>('shares', {required: true})
|
|
140
|
+
const sharesType = defineModel<string>('shares-type', {required: true})
|
|
141
|
+
const cpuModel = defineModel<string>('cpu-model', {required: true})
|
|
142
|
+
const passthroughHostCpu = defineModel<boolean>('passthrough-host-cpu', {required: true})
|
|
143
|
+
const hostModelCpu = defineModel<boolean>('host-model-cpu', {required: true})
|
|
144
|
+
|
|
145
|
+
const props = defineProps<{
|
|
146
|
+
maxCpus: number
|
|
147
|
+
cpuModels: UI_I_OptionItem[]
|
|
148
|
+
isEdit: boolean
|
|
149
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
150
|
+
cpuInvalid: boolean
|
|
151
|
+
vcpusLocalAndApiErrorsTexts: string
|
|
152
|
+
cpuOptions: UI_I_OptionItem[]
|
|
153
|
+
isCpuDisabled: boolean
|
|
154
|
+
selectedCpus: number[]
|
|
155
|
+
isDisabled: boolean
|
|
156
|
+
enableCpuHotAddDisabled: boolean
|
|
157
|
+
maxCpuOptions: UI_I_OptionItem[]
|
|
158
|
+
vmCpuHelpTextSecond?: string
|
|
159
|
+
}>()
|
|
160
|
+
const emits = defineEmits<{
|
|
161
|
+
(event: 'remove-error-by-title', value: string): void
|
|
162
|
+
(event: 'remove-validation-error'): void
|
|
163
|
+
(event: 'max-cpu-invalid', value: boolean): void
|
|
164
|
+
(event: 'reservation-invalid', value: boolean): void
|
|
165
|
+
(event: 'limit-invalid', value: boolean): void
|
|
166
|
+
(event: 'shares-invalid', value: boolean): void
|
|
167
|
+
}>()
|
|
168
|
+
|
|
169
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
170
|
+
|
|
171
|
+
</script>
|
|
172
|
+
|
|
173
|
+
<style scoped lang="scss">
|
|
174
|
+
</style>
|