Commit Graph

440 Commits

Author SHA1 Message Date
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
fdc9617cee CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- update XenModel with the api bindings containing xapi fields and methods related to this task
2015-02-17 13:49:57 +00:00
Mihaela Stoica
39abfc1902 Merge branch 'CP-10925' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-10925
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
2015-02-17 10:27:58 +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
Cheng Zhang
9c0e2c60de CP-11053: Add per-container "Details"-Tab
- Showing all detailed information from a docker_inspect call
- The information refresh/polls every 20s while it's open
- Button “Refresh” add, so user can refresh the result. Also shows time when the last refresh happens.
- Add TabPageDetails as value 9903 in HelpManager.resx

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 10:49:41 +08:00
Gabor Apati-Nagy
02db682891 CA-161000: XenCenter: Snapshot with containers appears in the tree view
-considering vm.is_a_real_vm

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 15:24:23 +00:00
Gabor Apati-Nagy
21d2ea0a5b Merge pull request #326 from MihaelaStoica/CP-11039
CP-11039: Change VM.CanHaveVGpu to use the new allow-vgpu flag
2015-02-12 15:10:58 +00:00
Gabor Apati-Nagy
4b7a34cfee Merge pull request #322 from MihaelaStoica/CAR-1736
Normalizing the line endings and another fix in the tree refresh for containers
2015-02-12 15:10:54 +00:00
Gabor Apati-Nagy
878229e9a8 CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installation space
-Fixed code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 14:00:51 +00:00
Gabor Apati-Nagy
91789256e8 CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installation space
-Added HostOutOfSpaceProblem to let the user to clean up disk space when getting PATCH_PRECHECK_FAILED_OUT_OF_SPACE error at precheck stage in the patch install wizard.
-A bit of refactoring of DiskSpaceRequirements class in order to be reused here

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 13:13:45 +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
e3494f2d92 Merge pull request #324 from huizh/CP-11052
CP-11052: Add per-container "Processes"-Tab to XC
2015-02-12 10:53:18 +00:00
Hui Zhang
789e45f11c CP-11052: Add per-container "Processes"-Tab to XenCenter
This tab will show docker process id, command and CPU time.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-12 17:58:17 +08:00
Mihaela Stoica
fe8c876a83 CP-10927: Add container restart operation
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 11:08:37 +00:00
Mihaela Stoica
84bce22f5b CA-159907: Fix more refresh issues on containers
- set container's opaque_ref to parent.opaque_ref + uuid, to make it unique inside a connection (the uuid is only unique inside a VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 10:21:48 +00:00
Mihaela Stoica
787ed2cf2d CP-10929: Normalizing the line endings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 09:32:34 +00:00
Gabor Apati-Nagy
69b957cc63 Merge pull request #319 from MihaelaStoica/CA-160904
CA-160904: Fix NullReferenceException on the New VM Wizard
2015-02-10 11:45:30 +00:00
Gabor Apati-Nagy
746db783ec Merge pull request #317 from MihaelaStoica/CAR-1736
CP-10900: Add functionality for enabling/disabling/querying the containe...
2015-02-10 11:44:49 +00:00
Mihaela Stoica
640aef8c1e CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
- Changed 'Enlightenment' to 'Container Enlightenment'

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 11:42:29 +00:00
Cheng Zhang
c1403c1a92 CP-10929: Add per-container General-Tab to XC
1.Add ports and command in DockerContainer object
2.All labels in General box are internationalized.
3.Add UUID, command, ports in General box
4.Export DockerContainer in ICache
5.Modify tab title to "Container General Properties"
6.Remove properties button

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-10 11:03:59 +08:00
Mihaela Stoica
dbebab2563 CP-10927: Internationalize existing container commands and actions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 16:53:29 +00:00
Gabor Apati-Nagy
d79ad010ac Merge pull request #320 from MihaelaStoica/CA-159907
CA-159907: Fix refresh issues on containers
2015-02-09 16:42:45 +00:00
Mihaela Stoica
e531e6fd98 CA-159907: Fix refresh issues on containers
- when we update the containers, we should update existing objects (if they exist), instead of always creating new ones.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 16:02:28 +00:00
Mihaela Stoica
8b9d089687 CA-160904: Fix NullReferenceException on the New VM Wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 11:16:01 +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
d1b6996809 Merge pull request #316 from MihaelaStoica/CP-10799
CP-10799: Ensuring sufficient disk space for service pack installation: ...
2015-02-06 15:04:55 +00:00
Gabor Apati-Nagy
2d89776d49 Merge pull request #315 from MihaelaStoica/CAR-1711
CP-10797: Ensuring sufficient disk space for service pack installation: ...
2015-02-06 13:51:36 +00:00
Mihaela Stoica
e6784d1837 CP-10799: Ensuring sufficient disk space for service pack installation: Display hotfix installation size on the Updates page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 12:32:29 +00:00
Mihaela Stoica
19f66414a7 CP-10797: Ensuring sufficient disk space for service pack installation: Changes following code review
- don't update the progress bar when checking disk space (only the description)
- the color used for "in progress" action description (above the progress bar) should be the system default font color, not black
- actions should throw ArgumentNullException, not NullReferenceException

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 10:34:18 +00:00
Mihaela Stoica
48636e12d6 CP-10797: Ensuring sufficient disk space for service pack installation: In the Install Update Wizard check if there is enough space to upload a hotfix
- Before starting the upload to the master hosts, check if there is enough disk space (check only performed for Cream or greater hosts)
- If enough space available the upload starts automatically; otherwise an error is displayed
- If we can free up enough disk space then we offer the option to Clean up. Otherwise we provide the user with the information on required and available space and the user will have to manually free up required space.

- Also Disable the Upload page for oem updates

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-05 17:01:14 +00:00
Gabor Apati-Nagy
c9fa1a03ed CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
-Fixing regression because of failing unit test: XenAdminTests.SearchTests.SearchMarshallingTests.RunTest

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-05 16:22:00 +00:00
Mihaela Stoica
cfcfba9c29 Merge pull request #312 from stephen-turner/CA-156817
[CA-156817] Rename vitualisation state 'unknown' -> 'unknown (please wai...
2015-02-05 15:50:48 +00:00
Gabor Apati-Nagy
d54915ca4a Merge pull request #313 from MihaelaStoica/CAR-1736
CP-10988: Fix the issue where VMs running containers appear twice in the...
2015-02-05 15:50:33 +00:00
Mihaela Stoica
9312fca548 CP-10988: Fix the issue where VMs running containers appear twice in the treeview (and at the wrong level) if the host is in a pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-05 15:46:47 +00:00
Stephen Turner
da27854d65 [CA-156817] Rename vitualisation state 'unknown' -> 'unknown (please wait)' in general panel 2015-02-05 14:33:44 +00:00
Stephen Turner
db6ace2737 CA-156816: In ballooning shiny bars, rename Xen -> XenServer 2015-02-04 17:33:10 +00:00
Gabor Apati-Nagy
572227faa5 Fixing merge issue in fddb5a032b 2015-02-04 17:23:51 +00:00
Gabor Apati-Nagy
8765998590 Merge pull request #309 from GaborApatiNagy/docker
Merging Docker commits
2015-02-04 16:28:14 +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
Stephen Turner
8efe0ede9a CA-156963: Fix partner offerings URL 2015-02-04 14:30:55 +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
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
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
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