Commit Graph

93 Commits

Author SHA1 Message Date
Stephen Turner
a6f6b775fd CA-163782: Read the read-caching reason from the server 2015-03-16 19:54:55 +00:00
Stephen Turner
bedd7d3e00 CA-164236: Read caching enablement flag is now per-host on each VDI 2015-03-13 13:16:19 +00:00
Mihaela Stoica
51ee306718 Merge pull request #372 from GaborApatiNagy/CP-10889
CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
2015-03-10 13:22:21 +00:00
Gabor Apati-Nagy
c2173c6e6a CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
-Fixes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-10 11:33:29 +00:00
Gabor Apati-Nagy
92bc32b6aa CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
-Added NFS version selectors for NFS and NFS ISO SRs in the New SR Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-09 20:05:31 +00:00
Gabor Apati-Nagy
34df0ca614 CP-11372: XenCenter: Update the model with the latest api bindings, including the new cifs specific errors
-updating Errors property in SrWizardType_Cifs with the Failures that can occur when doing CIFS SR operations

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-05 19:33:07 +00:00
Gabor Apati-Nagy
2d98dd9d85 CP-10144: Support CIFS as an SR type in XenCenter
-Added support for CIFS (SR type, SR Wizard)
-Added some Debug.Asserts to the Create SR action to watch for clear text paswords

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-03 15:51:56 +00:00
Mihaela Stoica
9c0bdcf08c Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10625 2015-02-25 15:50:59 +00:00
Mihaela Stoica
bf2e9bcfb1 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- Added a "Integrated GPU passthrough" section to the PoolGpuEdit page.
- This section is only visible for a host that has GPU capability and the enabling/disabling of integrated GPU passthrough is not restricted.
- With this addition, the GPU page can now be displayed for a pooled host as well (previously only pool or standalone host)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 13:01:03 +00:00
Mihaela Stoica
8a9b2d8c70 Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10926
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/XenAPI-Extensions/VDI.cs
	XenModel/XenAPI-Extensions/VM.cs
2015-02-23 17:57:18 +00:00
Mihaela Stoica
fecde2e3be CP-10772: Display the read caching status in XenCenter
- Show a “Read Caching” section on the General Tab of a VM when the VM is running on a Cream or greater host
- When the Read Caching is enabled, the “Read Caching” section will contain two entries: Status and Disks (list of disks with RC enabled)
- When the Read Caching is disabled, the “Read Caching” section will contain two entries: Status and Reason

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:09:08 +00:00
Cheng Zhang
d488860045 CP-10925: Add Docker-specific information
1.Add Docker information in General Tab
2.Add Docker version in General Tab

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-17 10:20:07 +08:00
Mihaela Stoica
9c652cd687 CP-10926: Add dialog for customizing the config drive in XenCenter after VM creation
- The cloud config parameters page is only visible on a VM that already has a config drive.
- The cloud config parameters can only be changed when the VM is halted.
- In the New VM wizard, if a template is selected that already has a config drive, them the wizard will display the existing configuration, not the default one.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-13 14:43:13 +00:00
Mihaela Stoica
588819c386 CP-11039: Change VM.CanHaveVGpu to use the new allow-vgpu flag
-  A VM can have vGPU if it is HVM and the the allow-vgpu restriction is absent or is non-zero
- allow-vgpu is 0 for HVM Linux VMs

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-12 11:47:47 +00:00
Mihaela Stoica
c3b667ec7f CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
New Page: Enlightenment on VM Properties Dialog, visible only for:
- VMs on Cream Or Greater hosts
- that can be enlightened, regardless of their power state

A VM can be enlightened if the key "xscontainer-monitor" exists in other_config.
A VM is enlightened if other_config:xscontainer-monitor if true.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 17:46:58 +00:00
Gabor Apati-Nagy
fddb5a032b Merge remote-tracking branch 'creedence-docker/master' into docker
Conflicts:
	XenAdmin/Wizards/NewVMWizard/NewVMWizard.cs
	XenModel/Messages.resx
2015-02-04 16:23:20 +00:00
Gabor Apati-Nagy
00e57ec414 CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-04 09:48:32 +00:00
Gabor Apati-Nagy
b09be18bcd Merge pull request #303 from MihaelaStoica/CAR-1732
CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
2015-01-30 12:58:43 +00:00
Stephen Turner
40aa9c7d14 Merge 2015-01-29 15:45:21 +00:00
Mihaela Stoica
272585aa1d CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
The 'Updates' section on host's General tab displays which packs have been installed onto a host, including the version number

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 13:17:58 +00: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
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
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
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
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
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
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
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
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
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
Mihaela Stoica
4b39b4f7ed CA-153178: Add General tab for Docker containers; Remove Properties command from context menu 2014-12-05 14:16:58 +00:00
Mihaela Stoica
88ad750af9 CA-153178: List Docker containers in the XC treeview 2014-12-05 10:28:30 +00:00
Mihaela Stoica
694e0de202 CA-153339: Add CoreOS template type and logo to the VM creation Wizard 2014-12-01 15:09:03 +00:00
Mihaela Stoica
da63a01930 CP-10334: Small correction following code review
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-17 17:03:50 +00:00
Mihaela Stoica
ee4d9da505 CP-10334: Make Export resource data an Enterprise feature
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-17 11:41:24 +00:00
Mihaela Stoica
9d9e7b2f24 CP-10334: XenCenter work for the new changes in licensing
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-14 17:29:01 +00:00
Mihaela Stoica
4ee51e7ed3 CP-10178: Add link to the license server web console on General tab and License Manager
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-31 15:06:35 +00:00
Mihaela Stoica
218f2007e3 CP-10079: Implement new licensing requirements in XenCenter
Changes to the License Manager dialog:
- Summary panel: show smaller icons for warning and information messages
- Summary panel: show license entitlements for all Creedence hosts (not eligible for support, eligible for support, enterprise features enabled, etc)
- for free Creedence or Clearwater hosts, the license status is Free (it used to be Expired for ClearwaterOrGreater)
and the text displayed is "Unlicensed" for Creedence and "Unsupported" for Clearwater;
the warning message is "Not eligible for support" (instead of "Your support and maintenance has expired")

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-28 17:02:55 +00:00
Mihaela Stoica
571ed9241a CP-10079: Implement new licensing requirements in XenCenter
- new license types
- new options in the license manager

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-28 16:42:27 +00:00
Mihaela Stoica
b3cb970842 CP-10027: Use new license key for "Export pool resources" feature
To to determine if the feature is restricted we use:
- "restrict_export_resource_data" license flag for Creedence hosts
- license edition and expiry date for pre-Creedence hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-27 15:58:18 +00:00
Gabor Apati-Nagy
adae99a99e CA-148233: Uncaught exception in XenCenter on "Disconnect All" 2014-10-07 14:59:52 +01:00
Gabor Apati-Nagy
153a1af226 CA-147368: Increase DEFAULT_NUM_VBDS_ALLOWED to 16
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-26 19:01:35 +01:00
Stephen Turner
916111d2e7 Merge pull request #207 from GaborApatiNagy/hvm2
CP-9365: XenCenter work for HVM linux support
2014-09-16 09:20:40 +01:00