Commit Graph

1194 Commits

Author SHA1 Message Date
Mihaela Stoica
23eabb23d9 CP-10824: Supp Pack installation through XenCenter: Feature only available for Cream or greater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 16:01:59 +00:00
Mihaela Stoica
891ac941a3 Changed the CreamOrGreater function to use the API version
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 16:01:02 +00:00
Mihaela Stoica
ed8d91a041 CP-10824: Supp Pack installation through XenCenter: Fix error in the wizard
- update the Patch property even when the selected update type is not "Existing patch". This will be set it to null if the selected type is supplemental pack.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:48:52 +00:00
Mihaela Stoica
35ab8aa825 CP-10824: Supp Pack installation through XenCenter: Delete the temporary VDI after installation
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:45:55 +00:00
Mihaela Stoica
5b33590df0 CP-10824: Supp Pack installation through XenCenter: Install supp pack from vdi
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:43:36 +00:00
Mihaela Stoica
11d86f1c90 CP-10621: Supp Pack installation through XenCenter: Select and upload a supp pack in the hotfix wizard
- Select a supp pack in the hotfix wizard
- Recognise that it's a supp pack not a hotfix
- Check if there's enough space on a SR to contain it: (1) default SR if shared or (2) any shared SR or (3) local SR on each host in pool
- Create a VDI to contain it
- Upload the supp pack to the VDI

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 12:31:44 +00:00
Stephen Turner
039966c470 Merge pull request #300 from stephen-turner/Messages
Fix alphabetical order of Messages.resx
2015-01-23 10:42:35 +00:00
Stephen Turner
a4635c9fae Fix alphabetical order of Messages.resx 2015-01-23 10:41:54 +00:00
Stephen Turner
0dea5a0b75 Merge pull request #299 from stephen-turner/master
Merge
2015-01-23 10:34:33 +00:00
Stephen Turner
937f82b9e5 Merge branch 'MS-CP-10833' 2015-01-23 10:33:17 +00:00
Stephen Turner
3bd708faff Merge 2015-01-23 10:31:49 +00:00
Mihaela Stoica
bf93e4e0aa CP-10833: Update some more licensing text
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 10:20:07 +00:00
Mihaela Stoica
4b8063a0c6 CP-10833: Update licensing text
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 10:12:02 +00:00
Stephen Turner
f756339b0e Merge pull request #293 from MihaelaStoica/CA-157501
CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compare...
2015-01-22 17:28:23 +00: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
c6f9f029b7 CP-10833: New licensing text in XenCenter
- updated license names in FriendlyNames, from 'Per Socket' to 'Per-Socket'

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 11:27:18 +00:00
Mihaela Stoica
ed6266a421 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- Added check for VM.CanHaveVGpu on the VM's GPU page (New VM wizard and Properties dialog)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 09:48:04 +00:00
Mihaela Stoica
f9d14a8155 CP-10833: New licensing text in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 17:27:38 +00:00
Mihaela Stoica
b939a1e4a9 Merge pull request #296 from GaborApatiNagy/CA-158591
CA-158591: Get new RPU hotfixes in XenCenter
2015-01-21 15:13:30 +00: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
Gabor Apati-Nagy
ea4cec30a5 CA-158591: Get new RPU hotfixes in XenCenter
-Updated hotfix files: XS56E008.xsupdate, XS56EFP1002.xsupdate, XS62E006.xsupdate

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-21 14:52:57 +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
Stephen Turner
10226d343d Merge pull request #275 from cheng--zhang/CP-10204
CP-10204: XenCenter: guest RDP control
2015-01-21 08:49:59 +00:00
Mihaela Stoica
9fe8591642 Merge pull request #295 from GaborApatiNagy/CA-156833
CA-156833: Dates in Updates pane should only be days, not times
2015-01-20 23:34:29 +00:00
Gabor Apati-Nagy
1cc59469a5 CA-156833: Dates in Updates pane should only be days, not times
-Changed date format to Messages.DATEFORMAT_DMY from Messages.DATEFORMAT_DMY_HM

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-20 18:05:21 +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
Gabor Apati-Nagy
df888942cb Merge pull request #292 from xenserver/master_revert_mk
Resetting mk/ files (to pre-17-Dec-2014 state) in order to make master t...
2015-01-19 16:42:49 +00:00
Gabor Apati-Nagy
2494e74f5c Resetting mk/ files (to pre-17-Dec-2014 state) in order to make master to build in non-secure environment. This seems to be feasible for now. 2015-01-19 16:39:21 +00:00
Gabor Apati-Nagy
ec61765fb8 Merge pull request #291 from xenserver/master_merged
Master merged
2015-01-19 15:39:37 +00:00
Gabor Apati-Nagy
de27c9c9ff Revert "Change the fetched XenServer-SDK file to the linked one"
This reverts commit a8a531f809.
2015-01-19 15:32:20 +00:00
Gabor Apati-Nagy
d50f8a7d94 Merge branch 'master' into master_github
Conflicts:
	XenModel/Messages.resx
	XenModel/XenAPI-Extensions/Host.cs
	mk/xenadmin-build.sh
2015-01-19 15:22:59 +00:00
Gabor Apati-Nagy
b1f4c8ca4c Merge remote-tracking branch 'creedence-ln_internal/master'
Conflicts:
	mk/declarations.sh
	mk/xenadmin-build.sh
2015-01-19 14:49:55 +00:00
Mihaela Stoica
6ed5b4235b Merge pull request #289 from GaborApatiNagy/CA-156845
CA-156845: Bugs caused by accidental revert in localisation check-in
2015-01-16 16:01:09 +00:00
Gabor Apati-Nagy
64394b66ff CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-16 15:13:38 +00:00
Mihaela Stoica
e19f92ce4f Merge pull request #290 from MihaelaStoica/CA-157501
Reverting changes done to the file by mistake
2015-01-16 11:14:52 +00:00
Mihaela Stoica
e58fc03504 Reverting changes done to the file by mistake 2015-01-16 11:09:03 +00:00
Mihaela Stoica
b122e1db1f CA-84876: Corrected check for null object to fix NullReferenceException raised in tests 2015-01-15 22:22:46 +00:00
Gabor Apati-Nagy
f5df15fc24 CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7899

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-15 16:25:41 +00:00
Gabor Apati-Nagy
300648b396 Merge pull request #288 from MihaelaStoica/master
CA-147163: Added missing localized resource files
2015-01-15 13:56:40 +00:00
Mihaela Stoica
ffd907cd3e CA-147163: Added missing localized resource files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-15 13:53:03 +00:00
Mihaela Stoica
710d454bd0 Merge pull request #287 from GaborApatiNagy/CA-84876
CA-84876: Show more infrastructure information for objects
2015-01-15 13:46:05 +00:00
Gabor Apati-Nagy
cc85dc0142 CA-84876: Show more infrastructure information for objects
-Fixing recently found issues
2015-01-15 13:40:13 +00:00
Gabor Apati-Nagy
da8fbb4aa1 Merge pull request #286 from MihaelaStoica/master
CA-147163: Make new form localizable and fix tests
2015-01-14 17:26:13 +00:00
Mihaela Stoica
4bbf261e91 Merge pull request #285 from GaborApatiNagy/master
CA-84876: Show more infrastructure information for objects
2015-01-14 17:04:09 +00:00
Mihaela Stoica
7fe521faa5 CA-147163: Make new form localizable and fix tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-14 17:01:50 +00:00
Gabor Apati-Nagy
bc91ce97fc Update Messages.resx
Fixing typo
2015-01-14 16:29:50 +00:00
Gabor Apati-Nagy
e36572b7d6 Merge branch 'master' of https://github.com/xenserver/xenadmin
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenModel/Messages.resx
2015-01-14 16:27:34 +00:00
Gabor Apati-Nagy
65a46c095a Merge pull request #281 from MihaelaStoica/CA-147163
CA-147163: Non-modal hotfix download and upload progress dialog
2015-01-14 16:22:51 +00:00
Gabor Apati-Nagy
5abe4e109c CA-84876: Show more infrastructure information for objects
Instead of showing just the name, this code is showing name with location information in title for all objects that appear in the tree view.
(A new property (NameWithLocation) with a getter accessor defined in IXenObject and has been implemented as virtual in XenObject and overridden at several child classes.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-14 16:20:36 +00:00
Mihaela Stoica
8f942c9b91 CA-147163: Non-modal hotfix upload progress dialog
Show pool (or standalone server) name on the Upload page.
Also corrected some resource strings.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-14 15:23:46 +00:00