Commit Graph

383 Commits

Author SHA1 Message Date
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
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
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
a4635c9fae Fix alphabetical order of Messages.resx 2015-01-23 10:41:54 +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
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
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
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
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
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
cc85dc0142 CA-84876: Show more infrastructure information for objects
-Fixing recently found issues
2015-01-15 13:40: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
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
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
Cheng Zhang
961edb3752 CP-10204: Rework comments - part 2
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-14 11:46:56 +08:00
Cheng Zhang
98992d3bd2 CP-10204: Rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-12 17:27:31 +08:00
Mihaela Stoica
cfa8bcd7b3 CA-147163: Non-modal hotfix upload progress dialog
- Added resource strings to replace hard coded strings

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-09 13:23:23 +00:00
Mihaela Stoica
13c6d323c3 CA-147163: Non-modal hotfix upload progress dialog
- Added new page to the patching wizard, called "Upload" which displays the upload actions for each server and the progress of these actions
- MultipleAction: added the functionality to optionally stop the action on first failure
- Fixed the error where an existing patch downloaded from another server and then uploaded to a new one was not deleted on cancelling the wizard [CA-156788]

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-09 12:54:12 +00:00
Cheng Zhang
6b6b515fe7 CP-10204: XenCenter: guest RDP control
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-09 11:33:53 +08:00
vetrivelc
5422c39f47 Updated the translations 2015-01-01 15:19:57 +05:30
Gabor Apati-Nagy
7ef8fc9b2c Merge branch 'master' of git://hg.uk.xensource.com/carbon/creedence/xenadmin 2014-12-10 14:11:18 +00:00
Stephen Turner
c6f3f57cdf CA-154651: Bump API version number 2014-12-10 13:44:16 +00:00
Gabor Apati-Nagy
e1b4892b2f Merge pull request #276 from sriharshak/creedence-ln
Creedence ln - L10N Bug fixes
2014-12-10 13:28:46 +00:00
Mihaela Stoica
aee38c19f0 CP-10454: XenCenter work for the latest changes in licensing
Desktop Plus -> Desktop+
2014-12-09 16:21:39 +00:00
Mihaela Stoica
3faa6bedf7 CP-10454: XenCenter work for the latest changes in licensing
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-12-08 14:29:54 +00:00
sriharshak
4c138aa294 Translation Update for ZHCN 2014-12-04 15:29:59 +05:30
sriharshak
e851a7132f Translation Update for ZHCN 2014-12-04 12:05:46 +05:30
Gabor Apati-Nagy
a5bd689b1e Merge pull request #274 from sriharshak/creedence-ln
Translation updates
2014-12-02 10:45:06 +00:00
sriharshak
e7ad72d997 Translation updates
Signed-off-by: sriharshak <sriharshatagore.karpurapu@citrix.com>
2014-12-02 16:10:45 +05:30
Gabor Apati-Nagy
fb8da9bcf8 Merge pull request #273 from sriharshak/creedence-ln
Creedence ln - L10N Bug fixes
2014-12-02 10:05:38 +00:00
sriharshak
22e5d660ec CA-150022: Fixed the issue by updating the translations for ZHCN 2014-11-28 09:32:49 +05:30
Gabor Apati-Nagy
723bcdb166 Merge pull request #270 from xenserver/xs64bit
Xs64bit
2014-11-27 13:31:30 +00:00
Mihaela Stoica
a50451d4a7 Merge branch 'master' of ssh://hg.uk.xensource.com/carbon/cre-l/xenadmin 2014-11-26 09:54:11 +00:00
Mihaela Stoica
66a3755a57 Merge branch 'xs64bit' of https://github.com/xenserver/xenadmin 2014-11-25 16:56:20 +00:00
Gabor Apati-Nagy
81a29dbe68 Merge pull request #265 from sriharshak/creedence-ln
Creedence ln - L10N Bug fixes
2014-11-25 10:04:41 +00:00
sriharshak
9765e5b3a9 CA-150462 : Fixed the issue by updating the translations for ZHCN 2014-11-25 12:08:07 +05:30
Mihaela Stoica
65b4ef1f37 CA-152052: Fix the issue where the License Manager showed the wrong state when assigning/releasing license from pool
The problem was that the License Manager was listening to PropertyChanged events on the master only, not on slaves.
When the master's properties change (e.g. edition) we update the row in the license manager; but in some cases a slave (or more) hasn't been updated yet (as it may be updated in another event.from) and we think that the pool is partially updated.
Our solution is to listen to Host BatchCollectionChanged event, which is triggered once per cache update for the host collection (it any property changed for any of the hosts).
The sleep in the ApplyLicenseEditionAction is not needed anymore, nor is the extra call to update the cell after the action is completed, because the cell is getting updated correctly on the BatchCollectionChanged event.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-24 16:57:42 +00:00
Gabor Apati-Nagy
ee624d9a56 Merge pull request #264 from xenserver/xs64bit
Xs64bit
2014-11-18 10:38:08 +00:00
Gabor Apati-Nagy
8cf0ee6a04 Merge pull request #262 from xenserver/xs64bit
Xs64bit
2014-11-18 10:32:57 +00:00