xenadmin/XenAdmin/Wizards/HAWizard_Pages
Danilo Del Busso afb419af04
CP-44767, CP-44766 & CP-44765: Refactor usage of VM restrictions and add reference_label to OVFs (#3211)
* Tidy up `VM` extension: use `var`
* Tidy up `VM` extension: remove redundant initialisers
* Tidy up `VM` extension: use type keywords when possible
* Tidy up `VM` extension: merge conditional expressions
* Tidy up `VM` extension: remove redundant qualifiers
* Tidy up `VM` extension: remove redundant type arguments
* Tidy up `VM` extension: remove redundant `else`s and parentheses
* Tidy up `VM` extension: fix naming
* Tidy up `VM` extension: misc changes
* Tidy up `VM` extension: use `null` propagation
* Tidy up `VM` extension: fix whitespace
* Tidy up `VM` extension: apply ReSharper Code Cleanup utility
* Tidy up `VM` extension: Fix naming of private string array
* CP-44767: Ignore VM restriction when fetching `MaxVCPUsAllowed`
Instead, fetch the highest available value in all templates for the host.
This means that VMs imported from vhd won't automatically default to `DEFAULT_NUM_VCPUS_ALLOWED`, and that VMs that have been kept across XenServer upgrades won't be limited to the number of vCPUs in their own (possibly outdated) restrictions
* CP-44766: Use value in template with a matching `reference_label` when checking VM restrictions
* Move restriction getters to own region
* CP-44766: Use matching templates to fetch VM restrictions
- Rewrite `GetRestrictions...` methods to perform simpler operations
- Add `GetIntRestrictionValue` and `GetBoolRestrictionValue` wrappers to `GetRestrictionValueFromMatchingTemplate`
- Now all calls to a restrictions first check the template value, with a fall-back to defaults
* CP-44765: Export `reference-label` when generating OVFs
---------

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-09-29 03:45:17 +01:00
..
AssignPriorities.cs CP-44767, CP-44766 & CP-44765: Refactor usage of VM restrictions and add reference_label to OVFs (#3211) 2023-09-29 03:45:17 +01:00
AssignPriorities.designer.cs CA-202377: Removed last instance of the QueuedBackgroundWorker and deleted the class. 2018-08-13 17:04:27 +01:00
AssignPriorities.ja.resx L10N: Translation and Resx resync 2019-10-21 13:53:59 +01:00
AssignPriorities.resx CA-294292: Layout modifications to fix error message truncation issues. 2018-09-27 12:43:04 +01:00
AssignPriorities.zh-CN.resx L10N : Translation Updates & Resx sync 2022-03-03 14:35:30 +00:00
ChooseSR.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ChooseSR.Designer.cs
ChooseSR.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
ChooseSR.resx
ChooseSR.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
HAFinishPage.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HAFinishPage.Designer.cs CA-104329: Removed calculation which might cause lag from the page loading step; 2016-12-13 09:10:26 +00:00
HAFinishPage.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
HAFinishPage.resx CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HAFinishPage.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
Intro.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Intro.Designer.cs
Intro.ja.resx L10N:Translations check-ins 2016-12-02 20:13:49 +05:30
Intro.resx Updated introductory info for the HA configuration wizard. 2023-08-18 14:06:38 +01:00
Intro.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00