Commit Graph

1205 Commits

Author SHA1 Message Date
Stephen Turner
40aa9c7d14 Merge 2015-01-29 15:45:21 +00:00
Gabor Apati-Nagy
bdd8e68059 Merge pull request #301 from MihaelaStoica/CAR-1732
CAR-1732: Supp Pack installation through XenCenter
2015-01-28 10:09:35 +00:00
Mihaela Stoica
f617b4ca26 CP-10621, CP-10824: Supp Pack installation through XenCenter: Changes following code review
UploadSupplementalPackAction:
- use http-put with the default timeout
- throw current exception in RemoveVDI (instead of encapsulating it in a new one)
- add other_config key before uploading to make sure the vdi has this flag set from the beginning of its lifetime
- upload progress bar now shows the total progress per row

Also included a cosmetic rewrite of PatchingWizard_PatchingPage,GetUpdateName function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 09:51:25 +00:00
Cheng Zhang
c6ccae79d3 CP-10955: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-28 10:02:19 +08:00
Mihaela Stoica
355dd63ae7 CP-10824: Supp Pack installation through XenCenter: Removed comment
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-27 12:37:13 +00:00
Mihaela Stoica
a6b58acbd2 CP-10824: Supp Pack installation through XenCenter: Add other_config entry for the temporary VDI
- add an entry in the VDI's other_config to identify it as supp pack iso, so that we can easily find these vdis and remove if needed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-27 11:00:35 +00:00
Cheng Zhang
2238b0ac1f CP-10955: XenCenter: use "feature-ts2" to detect Windows RDP feature
1.Add xapi version check in cream since Cream and Creedence have the same platform version
2.Check feature-ts2 to see if turn on RDP feature can use on specific VM PV tool

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-27 14:27:42 +08:00
Gabor Apati-Nagy
13f8f7cbb2 Merge pull request #302 from ushamandya/master
Updated XC Help for hotfix Gloss
2015-01-26 17:04:17 +00:00
Usha Mandya
84d63d90d0 Updated XC Help for hotfix Gloss 2015-01-26 16:54:59 +00:00
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
Cheng Zhang
540338f709 CP-10204: Connect RDP directly if click “Switch to Remote Desktop” since RDP polling removed in Cream
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-22 14:56:36 +08:00
Cheng Zhang
47408dba51 CP-10204: Change confirm dialog message of Turn on RDP
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-22 13:59:49 +08: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