Commit Graph

40 Commits

Author SHA1 Message Date
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Letsibogo Ramadi
808063c125 CP-21558 - On the vGPU types dialog, hide the column headers where all the values are 0 2017-03-27 14:22:16 +01:00
Letsibogo Ramadi
34780b1e0a CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model 2017-03-07 16:13:53 +00:00
Mihaela Stoica
430b9e87ed CP-19607: More event handlers that needed to be deregistered 2017-01-31 14:35:59 +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
Frederico Mazzone
acf39533fe [CA-207306] Select box is not in line with pGPU bar on GPU tab of host
The last pGPU's row was stretching to the bottom, causing the lowest select box to fill its space and go down too much.
Changed the select boxs' dock style and margin.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-13 15:16:31 +01:00
CITRITE\sriharshak
8c0623b8f2 L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Stephen Turner
eed38cc613 CA-166091 Correct sort order for vGPU types 2015-07-14 17:29:53 +01:00
Mihaela Stoica
d287d81852 Merge pull request #542 from stephen-turner/CA-148966b
CA-148966 XenDialogBase appearing as title of GPU selection dialog fo…
2015-07-14 10:08:42 +01:00
Stephen Turner
87e2c03838 CA-148966 XenDialogBase appearing as title of GPU selection dialog for GVT-g GPUs 2015-07-13 18:16:21 +01:00
Stephen Turner
df68a5bdb1 CP-13008: Allow pGPUs to be broken up in other fractions than eighths 2015-07-13 15:05:59 +01:00
Gabor Apati-Nagy
0db5b1414f CA-157503: GPU preference dialogs refer to vGPU instead of GPU
-changing "vGPU" to "virtual GPU"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-30 16:21:46 +01:00
Mihaela Stoica
49eb0641a9 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- Added check for Clearwater SP1 or greater to the gpu capability on the New VM wizard
- On the GPU tab, draw the grid on the shiny bar only if the capacity is greater than one

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 15:00:58 +00:00
Mihaela Stoica
a295ab0159 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
Changes following code review:
- Added VM.CanHaveVGpu function (at the moment just returns CanHaveGpu, but it will change in the future)
- Added vGPU_type.IsPassthrough function and used it everywhere we needed to test for passthrough (max-heads==0)
- Simplified code in Helpers.GpuCapability, Helpers.VGpuCapability, NewVMWizard (gpuCapability), MainWindow and GpuRow

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 10:04:47 +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
sriharshak
3804ea69df CA-147731: Fixed by increasing the size for JA and ZHCN 2014-11-21 14:02:36 +05:30
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Konstantina Chremmou
3b25591d71 CA-85971: Removed method selecting tab by name. Made all pages of VerticallyTabbedDialog private.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 17:17:04 +00:00
Konstantina Chremmou
610119cbfc CA-122816: Fixed white space around the vgpu types list on GPU tab (visible when running XenCenter on Windows with disabled visual styles)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1386263270 0
#      Thu Dec 05 17:07:50 2013 +0000
# Node ID 21b41b9fecaf3b75059ad8080b8afa303d0a1f03
# Parent  57df60d36fe5dd6a51ffa9a047a992460e0d3982

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:50:59 +00:00
Konstantina Chremmou
7e8350d182 CA-123181: Add check to avoid exception thrown on GPU tab when NVIDIA host drivers were removed while vGPUs were in use
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1386260329 0
#      Thu Dec 05 16:18:49 2013 +0000
# Node ID 57df60d36fe5dd6a51ffa9a047a992460e0d3982
# Parent  cc6b94ee85c5927cb0dcc83268d3e066823071df

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:50:09 +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
4d4701d394 CA-122424: When configuring "Allowed vGPU types", only disable the checkbox if the type is checked (allowed) and there are running VMs using it (in use).
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385386172 0
#      Mon Nov 25 13:29:32 2013 +0000
# Node ID 5a4abff0407e1d2265ab34163c4f4a68d521649d
# Parent  6bbdd9b672dad33c9a4406c8d1acdb27b6d8f333

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:27:45 +00:00
Konstantina Chremmou
c5e37d6ee3 Fix check-in for [CA-121672] so that a standalone server uses the properties dialog
for the server, not the one for the secret pool
# HG changeset patch
# User Stephen Turner <stephen.turner@citrix.com>
# Date 1384881428 0
#      Tue Nov 19 17:17:08 2013 +0000
# Node ID 030ebb6e2f6964a4dbf9d5602c69cb23fcc0cbdb
# Parent  370811ffe245c8ea57ebd6f406711f8e1fee5a05

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:20:33 +00:00
Gabor Apati-Nagy
b40714bf6c [CA-121672] Fixed: The host's "edit placement policy" button does not work in a pool.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-19 15:50:58 +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
e2e5417352 [CP-6856]: PR-1675: Visual tweaks and other final changes
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383835696 0
#      Thu Nov 07 14:48:16 2013 +0000
# Node ID 69c0367f37e92c2bdc6033719850d94cc48fc706
# Parent  2efbf098103b9be3763ead2ff516cbe1d0cc0754

12. add max resolution to vGPU Configuration screen and VM properties

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:52:27 +00:00
Konstantina Chremmou
09a1edcefe [CP-6856]: PR-1675: Visual tweaks and other final changes
Set minimum size for Placement Policy box
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383749286 0
#      Wed Nov 06 14:48:06 2013 +0000
# Node ID 87d6c91cde91e2125ed877f2581c645139500003
# Parent  f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:45:51 +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
d4dadc0bb9 CP-6856: Visual tweaks and other final changes (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383650378 0
#      Tue Nov 05 11:19:38 2013 +0000
# Node ID 04c02de675af090f3171b6fbf3b21b023c645c24
# Parent  3db3c618115569e1b5bda10f2bf0c75ec387d9d4

- Added text for "Edit Selected GPUs..." button to the resource file

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:41:05 +00:00
Konstantina Chremmou
9aa03cd8c4 CP-6856: Visual tweaks and other final changes (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383649813 0
#      Tue Nov 05 11:10:13 2013 +0000
# Node ID 3db3c618115569e1b5bda10f2bf0c75ec387d9d4
# Parent  e95bbc4697c45471e1732ae577249379dccdeb4e

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:39:31 +00:00
Konstantina Chremmou
e7d951353a [CP-6864] PR-1675: Help IDs for vGPU pages/dialogs
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383647195 0
#      Tue Nov 05 10:26:35 2013 +0000
# Node ID e95bbc4697c45471e1732ae577249379dccdeb4e
# Parent  c79bb15743ea6c299e3a7b2dac8ca3b45cb456d4

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:38:46 +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
a1fc0f5e7d CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1382997218 0
#      Mon Oct 28 21:53:38 2013 +0000
# Node ID c82052cb3e73d23ce4d1f14cb9f771b7e43f1cdd
# Parent  765758a41fcc8491cf3a269e071baf96cd619b41

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:15:52 +00:00
Konstantina Chremmou
c35b4d26cb [CP-6383]: Configuration of vGPU types for pGPUs
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1382626325 -3600
#      Thu Oct 24 15:52:05 2013 +0100
# Node ID 5e98fb1f82eeaff4c709ad7e6a92916c51488b75
# Parent  9b2305266f104c3ae9ec32804a92b3596d0aa399

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:13:32 +00:00
Konstantina Chremmou
f7d59a8c24 [CP-6383]: Configuration of vGPU types for pGPUs
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1382623622 -3600
#      Thu Oct 24 15:07:02 2013 +0100
# Node ID 9b2305266f104c3ae9ec32804a92b3596d0aa399
# Parent  66330c7be272cd62a342e20ff109eea6b4d846f8

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:11:24 +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