xenadmin/XenAdmin/Controls/XenSearch
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
..
DropDownComboButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FolderNavigator.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FolderNavigator.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
FolderNavigator.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
FolderNavigator.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
FolderNavigator.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
GroupingControl.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
GroupingControl.Designer.cs CP-4961 New icons for CAR-107 2014-06-03 16:49:13 +01:00
GroupingControl.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
GroupingControl.resx CP-5752: Renamed "Add Group" button to "More", changed its image and moved it closer 2013-08-03 01:04:47 +01:00
GroupingControl.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryElement.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
QueryElement.Designer.cs Reduced accessibility of controls to private. 2019-01-08 12:01:46 +00:00
QueryElement.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryElement.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
QueryElement.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
QueryPanel.ja.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
QueryPanel.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
QueryPanel.zh-CN.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
ResourceSelectButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Searcher.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Searcher.Designer.cs Reduced accessibility of controls to private. 2019-01-08 12:01:46 +00:00
Searcher.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
Searcher.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
Searcher.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchFor.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SearchFor.Designer.cs Reduced accessibility of controls to private. 2019-01-08 12:01:46 +00:00
SearchFor.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchFor.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
SearchFor.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchForCustom.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SearchForCustom.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SearchForCustom.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchForCustom.resx CP-15398: Remove enbedded icons 2016-01-19 18:40:56 +08:00
SearchForCustom.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchOutput.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SearchOutput.Designer.cs CP-5752: Moved ShowColumns functionality from the SearchOptions dropdown menu to 2013-08-03 01:04:36 +01:00
SearchOutput.ja.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
SearchOutput.resx CA-150200: EN: Duplicate hotkeys for “Storage” and “Show Columns” under Citrix XenCenter. 2016-08-09 10:31:55 +01:00
SearchOutput.zh-CN.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30