Commit Graph

14 Commits

Author SHA1 Message Date
Mihaela Stoica
430b9e87ed CP-19607: More event handlers that needed to be deregistered 2017-01-31 14:35:59 +00:00
Mihaela Stoica
c35eae23be CP-19607: Unregister event handlers when the tab pages are hidden
Implemented a generic mechanism to allow tab pages to unregister their event handlers when they are hidden (when a tab page gets deselected)
Also changed VMStoragePage to derive from BaseTabPage, so it could use the same mechanism.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:38:33 +00:00
Gabor Apati-Nagy
7c0bc50b4a CA-176169: Changed copyright statements to include the comma in Citrix Systems,
Inc.

Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Gabor Apati-Nagy
93132ebbaa CA-165712: Show the GPU tab when GPU is licensed, even when there are no supported GPUs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-31 17:26:37 +01:00
Mihaela Stoica
88aa3d4bb4 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- In the case that there are two hosts in a pool, one with GPU and one without, then the one without will display a text saying "There are no GPUs on this server".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 17:25:45 +00:00
Mihaela Stoica
dbdd3cc02c CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
New properties:
- Pool.HasGpu = Pool has at least one PGPU
- Pool.HasVGpu = Pool has at least one PGPU that HasVGpu
- PGPU.HasVGpu = PGPU has at least one supported_VGPU_type that is not pass-through

New or modified helper functions:
- Helpers.GpuCapability = GPU feature not restricted (by licensing) and Pool.HasGpu
- Helpers.VGpuCapability = vGPU feature not restricted (by licensing) and Pool.HasVGpu
- Helpers.ClearwaterSp1OrGreater = API version is 2.1 or greater

The GPU dialogs are displayed as follows:
- GPU page on VM properties dialog: Visible only if VM.CanHaveGpu and the GPU feature not restricted (by licensing)
- GPU page on New VM Wizard: Visible only if VM.CanHaveGpu and the pool has GPU capability (Helpers.GpuCapability)
- GPU page on Pool properties dialog: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- GPU tab: Visible only if the pool has GPU capability (Helpers.GpuCapability) and is Clearwater SP1 or greater
- On the GPU tab, the "Placement policy" panel: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- On the GPU tab, the "Edit" button on the "vGPU types" panel: Visible only if the PGPU.HasVGpu and vGPU feature not restricted (by licensing)

Also:
- VM.CanHaveVGpu function renamed to CanHaveGpu
- On the GPU tab, renamed "Allowed vGPU types" to "vGPU types
2015-01-19 16:49:47 +00:00
Konstantina Chremmou
aac732c0f0 CA-122431: Correct GPU grouping on mixed K1/K2 pools.
GPUs are now grouped by: card type (K1/K2), supported types and enabled types
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385649218 0
#      Thu Nov 28 14:33:38 2013 +0000
# Node ID 43dbba1e3d6a3bc17862d13450080d014189281e
# Parent  d64f82660078ba76a4c4ceb92cef257d35759c4a

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:31:01 +00:00
Konstantina Chremmou
906033af36 PR-1675: On Server's GPU tab don't show the server label and only show the GPUs from this server
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385646872 0
#      Thu Nov 28 13:54:32 2013 +0000
# Node ID d64f82660078ba76a4c4ceb92cef257d35759c4a
# Parent  a760e46de0aad332bd24db705e329f8f718a6fef

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:30:06 +00:00
Konstantina Chremmou
da5408bf21 Missing license headers.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:59:08 +00:00
Konstantina Chremmou
0354bd7a85 [CA-121012] Fixed: Offering GPU type with no GPUs available
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1384269857 0
#      Tue Nov 12 15:24:17 2013 +0000
# Node ID 75cc5c584b9670ad16658d459fc069b07c57a433
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:34:55 +00:00
Konstantina Chremmou
a662268286 [CP-6856]: PR-1675: Visual tweaks and other final changes:
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383736103 0
#      Wed Nov 06 11:08:23 2013 +0000
# Node ID f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba
# Parent  04c02de675af090f3171b6fbf3b21b023c645c24
GPU page:
5. put GPU page back at server level
7. Move Edit button of "Placement policy" closer to text and make the box smaller and fixed
8. Put Placement policy box within the scroll bar

VM properties dialog / New VM wizard:
9. gpu types should be shown in order 2-4-8
10. show types that are not allowed as disabled items in the combobox (instead of not showing at all)
11. increase the height of combobox (max no of items) so that all items are seen without scroll

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:44:05 +00:00
Konstantina Chremmou
c77fcbbbb6 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383126969 0
#      Wed Oct 30 09:56:09 2013 +0000
# Node ID dc93a040fbe1e9ca80e39352dc776941fd4c7802
# Parent  8af833de348d090a0126ad2f922ba7679739b654

- update only the row affected when resident_VGPUs change (on VM start / shut down)

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:28:43 +00:00
Konstantina Chremmou
8c89f0f04f CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383045574 0
#      Tue Oct 29 11:19:34 2013 +0000
# Node ID 35673b51503006bbbb1e6647b1e0eb1938bd72ef
# Parent  bb05d6e143d7199359da1f555250d3a4ee126a5c

Overview tab completely redesigned and shown only on pool and standalone hosts.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:23:35 +00:00
Konstantina Chremmou
5171d35130 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1381928854 -3600
#      Wed Oct 16 14:07:34 2013 +0100
# Node ID d3728527c55c8e615dc2979a4ed412a244c73299
# Parent  500886f75c7f678b98ad5fab5902a0e87d1798ea

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:06:50 +00:00