xenadmin/XenModel
Danilo Del Busso bcc5cf8166
CA-310974: Hide GPU page if the host has no GPU capability (#2847)
* CA-310974: Hide GPU page if the host has no GPU capability

* Hid GPU page in PropertiesDialog
* Hid GPU page in NewVMWizard

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CA-310974: Move GPU availability check to Helpers class

* Switch from field to method based check
* Update affected logic
* Remove rubric toggle in PopulatePage when GpuEditPage is shown
* Hide AddVGPUDialog when GpusAvailable returns false

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CA-310974: Remove missing GPUs strings in Messages.resx

* GPU_RUBRIC_NO_GPUS_POOL
* GPU_RUBRIC_NO_GPUS_SERVER

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CA-310974: Disable combobox in AddVGPUDialog when there are no GPUs

Avoids exception being thrown if user tries to select empty first item

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CA-310974: Amend position of GPU availability check

Moved since gpuCapability is used in the Finish method of the wizard

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CA-310974: Remove unecessary null checks in Helpers method

The Cache and its properties (e.g. GPU_groups) are readonly and initialised as empty.
The API object properties that are ref lists (g.PGPUs, g.supported_VGPU_types) are also initialised as empty and are demarshalled by the SDK as empty if they have no values.

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2021-08-23 10:58:41 +01:00
..
Actions Tidy up config files (#2850) 2021-08-16 11:02:29 +01:00
Alerts CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CustomFields Avoid duplicate logging; compact multiple logging calls. 2019-11-13 12:31:44 +00:00
Mappings CA-339584: Include CD VDI in the storage mapping for intra-pool migration 2020-08-11 08:46:42 +01:00
Network Merge remote-tracking branch 'upstream/master' into feature/hyperman 2021-05-25 15:51:42 +01:00
Properties Removed obsolete class XSVersionAttribute. Some refactoring of the usage of Program.Version. 2020-12-24 01:23:47 +00:00
ServerDBs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
StorageLinkAPI CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Utils CA-310974: Hide GPU page if the host has no GPU capability (#2847) 2021-08-23 10:58:41 +01:00
WLB Fixed workflow when loading the WorkloadReports dialog (includes CA-339666). 2021-05-27 15:39:52 +01:00
XCM CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
XenAPI Merge remote-tracking branch 'upstream/master' into feature/REQ-797 2021-01-19 11:01:02 +00:00
XenAPI-Extensions CA-355018: Ensure disabled health check status is reflected in the cache before re-rerunning prechecks. 2021-06-08 15:57:08 +01:00
XenSearch Merge remote-tracking branch 'upstream/master' into feature/hyperman 2021-05-25 15:51:42 +01:00
XenServerProxy CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
BrandManager.cs Tests fixes and minor refactoring: 2021-07-30 17:17:54 +01:00
DockerContainer.cs New bindings (includes CP-29452, CA-75634, CA-280976). 2020-02-14 14:43:22 +00:00
DockerContainers.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Folder.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Folders.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
FriendlyNameManager.cs CA-156873, CP-31105 (partial): Apply common branding and versioning to assemblies; branding refactoring 2020-01-22 14:47:39 +00:00
FriendlyNames.Designer.cs CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
FriendlyNames.ja.resx Moved several more brand related and untranslatable strings to Branding.resx. 2021-03-03 13:50:29 +00:00
FriendlyNames.resx CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
FriendlyNames.zh-CN.resx Moved several more brand related and untranslatable strings to Branding.resx. 2021-03-03 13:50:29 +00:00
HealthCheckSettings.cs CA-355018: Ensure disabled health check status is reflected in the cache before re-rerunning prechecks. 2021-06-08 15:57:08 +01:00
I18NException.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Icons.cs CP-20425: Added test to ensure all Resource images have a static counterpart. 2020-07-18 07:49:27 +01:00
InvisibleMessages.Designer.cs CA-355166: Updated help links. 2021-06-08 15:56:29 +01:00
InvisibleMessages.ja.resx CA-355166: Updated help links. 2021-06-08 15:56:29 +01:00
InvisibleMessages.resx CA-355166: Updated help links. 2021-06-08 15:56:29 +01:00
InvisibleMessages.zh-CN.resx CA-355166: Updated help links. 2021-06-08 15:56:29 +01:00
InvokeHelper.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Messages.Designer.cs CA-310974: Hide GPU page if the host has no GPU capability (#2847) 2021-08-23 10:58:41 +01:00
Messages.ja.resx L10N : Translation Updates 2021-04-20 12:34:17 +01:00
Messages.resx CA-310974: Hide GPU page if the host has no GPU capability (#2847) 2021-08-23 10:58:41 +01:00
Messages.zh-CN.resx L10N : Translation Updates 2021-04-20 12:34:17 +01:00
ObjectChange.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
OtherConfigWatcher.cs Tidy up event registration and deregistration on the MainWindow. 2020-08-21 16:08:20 +01:00
PoolJoinRules.cs CA-338830: Pool join checks should not allow slave with enabled clustering to join. 2020-05-19 13:25:53 +01:00
RbacMethod.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Tags.cs Simplified signature of connection events. 2019-12-06 11:17:46 +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 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.resx 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.zh-CN.resx 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
XenAdminConfigManager.cs CP-15790: Implementation improvement aimed to make manual testing easier. 2020-11-12 11:04:33 +00:00
XenModel.csproj Merge pull request #2848 from kc284/datasources 2021-08-10 14:43:05 +01:00
XenObjectDownloader.cs Merge branch 'master' into REQ-420 2018-01-25 13:38:58 +00:00
XenServerPlugins.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00