xenadmin/XenModel
Danilo Del Busso 6c584bb351
CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119)
* Tidy up `SelectMultipleVMDestinationPage.cs`
* CA-375532 & CA-336510: Add warning when importing VMs with too many vCPUs
* CA-375532 & CA-336510: Prevent users from starting appliance if a VM has too many vCPUs
* Tidy up `Page_CpuMem`: use expression-bodied properties
* Tidy up `Page_CpuMem`: use conventional naming scheme
* Tidy up `Page_CpuMem`: use explicit modifiers
* Tidy up `Page_CpuMem`: use `en-US` locale for names
* Tidy up `Page_CpuMem`: use `var` when possible
* Tidy up `Page_CpuMem`: rename `Vcpus` to `VCpus`
* Tidy up `Page_CpuMem`: reorder elements
* Tidy up `Page_CpuMem`: revert class renaming and fix `vCpus` typos
* CA-375532: Prevent users from starting VM if they select too many vCPUs
* Tidy up `Page_Finish`: use expression-bodied properties
* Tidy up `Page_Finish`: fix typo
* Tidy up `Page_CpuMem`: rename `CanStartVM` to `CanStartVm`
* Remove unnecessary using directives
* Anchor warning icon to the top-left corner of its parent
* CA-375532 & CA-336510: Warn users when selecting more vCPUs than pCPUs in the Properties page
* CP-41825: Add warning for imported VMs with > 32 vCPUs
* CP-41825: Add warning for new VMs with > 32 vCPUs
* CP-41825: Add warning for existing VMs when selecting > 32 vCPUs
* CP-41825: Update wording used to alert users running VMs with > 32vCPUs
* Remove unused local variable in `VappStartCommand.cs`
* Reword some vCPUs messages
* Simplify assignment of `CanStartImmediately` in `Page_Finish.cs`
* Simplify assignment of `CanStartVmsAutomatically` in `ImportFinishPage.cs`
* Remove useless `Count` check in `VappStartCommand`
* Rename `pictureBox1` to `warningPictureBox` and change its `SizeMode`
* Separate CPU and memory warnings in `Page_CpuMem`
* Shorten warning messages shown in `Page_CpuMem`
* Disable option to start VM when memory configuration isn't valid
* Report number of vCPUs and pCPUs when showing warning in New VM wizard
* Tidy up `CpuMemoryEditPage`: rename elements
* Tidy up `CpuMemoryEditPage`: use explicity modifiers
* Tidy up `CpuMemoryEditPage`: Rename `CPUMemoryEditPage` to `CpuMemoryEditPage`
* Tidy up `CpuMemoryEditPage`: Miscellaneous renames and improvements
* Tidy up `CpuMemoryEditPage`: Fix whitespace
* Tidy up `CpuMemoryEditPage`: Use ReSharper code formatter
* Tidy up `CpuMemoryEditPage`: Move events to own region
* Tidy up `CpuMemoryEditPage`: Move `IEditPage` members to own region
* Tidy up `CpuMemoryEditPage`: Order members outside of regions
* Replace topology and vCPU warning labels with structured warnings
* Ensure warnings ends with a dot
* Allow multiple CPU warnings to show at the same time
* Remove warning link for vCPUS > pCPUS Option is not achievable
* Enable option to force unit used in `MemorySpinner`
* Replace `NumericUpDown` with `MemorySpinner` and show warnings at bottom of control
* Check destination pCPUs count when destination is not a pool
* Do not disable option to start VMs after import if user selects a shared SR
* Add memory warning when importing appliance with too much memory
* Sort vCPUs and memory warning strings
* Remove target from `ImportWizard`'s summary
Target is not useful and can cause confusion as appliance VMs could start on non-target hosts
* The home server is needed in the summary when importing XVA. The target server is not needed in the summary when migrating a VM.
* Update warnings when the server selection changes. Corrected memory calculation.
* Show all warnings for vCPUs. Moved topology warning to the bottom. Separated methods for showing memory and vCPU warnings.
* Removed the memory setting from the VM Properties dialog. Split running VM info to a separate panel.
* Corrections to the logic for starting the VM automatically. Also, Fixed a bit the layout of the Finish page to make better use of the available space.
* Corrections as per code review.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-06-08 11:24:39 +01:00
..
Actions CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
Alerts Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CustomFields Corrections to removal of custom fields: 2023-02-28 21:03:16 +00:00
Mappings Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Network New logic for connection to a xapi database and some connection tidy up: 2023-03-31 14:17:56 +01:00
Properties Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Utils CA-376894: The allowed_operations are not refreshed after vTPM removal in xapi 23.10.0. 2023-05-05 14:43:12 +01:00
WLB Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XCM CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
XenAPI Updated SDK to v23.10.0. 2023-04-14 11:33:02 +01:00
XenAPI-Extensions CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
XenSearch Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
BrandManager.cs Removed integrated storage link code. The feature was removed long ago. 2023-03-30 16:38:56 +01:00
Db.cs New logic for connection to a xapi database and some connection tidy up: 2023-03-31 14:17:56 +01:00
DockerContainer.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DockerContainers.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Folder.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Folders.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FriendlyNameManager.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FriendlyNames.Designer.cs CP-42286: Add friendly name for pool_session_creation_rate 2023-03-29 22:52:01 +01:00
FriendlyNames.ja.resx Revert string sorting 2023-02-08 14:00:30 +00:00
FriendlyNames.resx CP-42286: Add friendly name for pool_session_creation_rate 2023-03-29 22:52:01 +01:00
FriendlyNames.zh-CN.resx Revert string sorting 2023-02-08 14:00:30 +00:00
I18NException.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Icons.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
InvisibleMessages.Designer.cs Removed DMC deprecation banner and RPU precheck when upgrading a system with DMC VMs. 2023-05-05 14:43:12 +01:00
InvisibleMessages.ja.resx Removed DMC deprecation banner and RPU precheck when upgrading a system with DMC VMs. 2023-05-05 14:43:12 +01:00
InvisibleMessages.resx Removed DMC deprecation banner and RPU precheck when upgrading a system with DMC VMs. 2023-05-05 14:43:12 +01:00
InvisibleMessages.zh-CN.resx Removed DMC deprecation banner and RPU precheck when upgrading a system with DMC VMs. 2023-05-05 14:43:12 +01:00
InvokeHelper.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Messages.Designer.cs CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
Messages.ja.resx CP-41433: Updated branding of About and LegalNotices dialogs. Also: 2023-01-25 12:50:49 +00:00
Messages.resx CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
Messages.zh-CN.resx CP-41433: Updated branding of About and LegalNotices dialogs. Also: 2023-01-25 12:50:49 +00:00
ObjectChange.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
OtherConfigWatcher.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PathValidator.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PoolJoinRules.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
RbacMethod.cs Merge remote-tracking branch 'upstream/feature/rebrand' 2023-02-08 16:41:07 +00:00
SshConsole.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Tags.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
UnitStrings.Designer.cs CP-36567: Use the datasource units as specified in the API instead of deducing them from the datasource name. 2021-08-05 15:36:46 +01:00
UnitStrings.ja.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
UnitStrings.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
UnitStrings.zh-CN.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
XenAdminConfigManager.cs Remove unused calls 2023-04-12 08:43:50 +01:00
XenModel.csproj CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
XenObjectDownloader.cs CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
XenServerPlugins.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00