Commit Graph

882 Commits

Author SHA1 Message Date
Mihaela Stoica
740bbf133e CA-161097: Renamed Container member to Docker container to fix build failures
This fixes the build errors:
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerDetailsPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerProcessPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 09:45:43 +00:00
Mihaela Stoica
235f404ea7 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- changes following code review: simplified the code that determines the current state; and renamed some variables.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 16:49:58 +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
Gabor Apati-Nagy
29b7342597 Merge pull request #339 from MihaelaStoica/CA-161097
CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
2015-02-25 15:15:54 +00:00
Mihaela Stoica
1c562bcb9a CA-161097: Change IXenObject to DockerContainer in container Details and Processes page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 15:08: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
08d4b6e306 CA-161097: Changes following code review
- Disable the Refresh button while a refresh is in progress.
- Introduced ExecuteContainerPluginAction - an action that stores the container it was called for, so that on completion we can decide whether to update the view or not (if the container displayed has changed, then we shouldn't update the view with the results from a previously selected container).

These changes apply to container Processes and Details tabs.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 12:44:03 +00:00
Mihaela Stoica
049d899f2d CA-161097: Rename some variables 2015-02-25 12:24:39 +00:00
Gabor Apati-Nagy
cd4bbf0633 Merge pull request #346 from MihaelaStoica/CP-11179
CP-11179: Rename 'Container Enlightenment' to 'Container Management'
2015-02-24 16:31:20 +00:00
Gabor Apati-Nagy
350804fda4 Merge pull request #347 from MihaelaStoica/CP-11124
CP-11124 Better CoreOS icon for the Container Management page
2015-02-24 16:28:32 +00:00
Stephen Turner
a1221aaba0 CP-11124: New icons for containers 2015-02-24 16:25:05 +00:00
Mihaela Stoica
aa6e701ce2 Merge pull request #349 from stephen-turner/CA-161460
CA-161460: Correct help text in the case that the patch has been deleted without being installed
2015-02-24 13:48:29 +00:00
Stephen Turner
5990c53617 CA-161460: Correct help text in the case that the patch has been deleted without being installed 2015-02-24 13:42:48 +00:00
Stephen Turner
3d7db537e7 Fix line endings 2015-02-24 13:29:41 +00:00
Mihaela Stoica
ce6b66f99a CP-11124 Better CoreOS icon for the Container Management page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:50:01 +00:00
Mihaela Stoica
be2982b439 CP-11179: Rename 'Container Enlightenment' to 'Container Management'
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:46:11 +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
5a4f537347 CA-161097: Changed Refresh button caption (removed ellipsis)
- also made Refresh buttons the same size on Details and Processes page and changed Details tab caption from "Detail" to "Details"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 16:58:34 +00:00
Stephen Turner
df8a6848aa CP-11124 Better CoreOS icon for the New VM Wizard 2015-02-23 15:51:06 +00:00
Stephen Turner
8aae324f0a Merge 2015-02-23 14:34:35 +00:00
Mihaela Stoica
45405bb5c9 CP-11159: Only display the Cloud Config page if the "xscontainer" supp-pack is installed.
- this applies to the Cloud-config page on the New VM Wizard and VM properties dialog.
- same for the container enlightenment page on the VM properties dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 11:01:39 +00:00
Stephen Turner
94ec31426f CA-161460: Clear the error message when going Back and Forward 2015-02-20 13:29:00 +00:00
Stephen Turner
d4dc9e2b06 CA-161460: Rename diskSpaceErrorLinkLabel -> errorLinkLabel, as it is now used more widely 2015-02-20 13:15:40 +00:00
Stephen Turner
a2883d8252 CA-161460: Present a helpful error message when a patch we are trying to download from another server has been deleted 2015-02-20 13:07:20 +00:00
Mihaela Stoica
eab66b9bf0 CA-161002: Internationalize strings on the Cloud Config Parameters page and CreateVMAction
- also added Help Id got the Cloud Config Parameters page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:48:52 +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
Stephen Turner
f9725eaddb Merge pull request #336 from MihaelaStoica/CP-11135
CP-11135: Expand patch precheck to account for OUT_OF_SPACE exception
2015-02-18 16:23:48 +00:00
Stephen Turner
b08ab2c3df CA-161525: Fix failed dereference by using an existing function 2015-02-18 13:49:53 +00:00
Mihaela Stoica
da604fc957 CP-11135: Changes following code review
- add checks for CreamOrGreater

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 12:26:47 +00:00
Mihaela Stoica
4e29c8dbb8 CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
- Instead of calling the plugin on the UI thread, we call it through an action that we execute asynchronously  and on completion update the UI.
- Pause the refresh timer on leaving the page and resume it when entering the page again.
- We do this for both Processes and Details page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 09:50:55 +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
Mihaela Stoica
1a484b99ff CP-11135: Expand patch precheck to account for OUT_OF_SPACE exception
- Pool_patch.precheck can fail with the xapi error OUT_OF_SPACE when is trying to copy the patch from master to the slaves. This happens before the patch-precheck checks if enough space is available for installation. Therefore is different from the error we are currently processing, PATCH_PRECHECK_FAILED_OUT_OF_SPACE
- If the precheck fails with OUT_OF_SPACE then we try and retrieve the disk space requirements and report a HostOutOfSpaceProblem.
- Changed the PatchPrecheckCheck to try and find problem from a xapi failure, as well as from the result of the precheck  call.
- Also removed ampersand from the the link labels (More Info and Clean up)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-16 11:11:30 +00:00
Stephen Turner
96fdf4e53c Merge pull request #331 from cheng--zhang/CA-160189
A-160189: Change RDP button display on Console tab
2015-02-16 11:04:57 +00:00
Mihaela Stoica
5707f187bf Merge pull request #332 from huizh/CA-161001
CA-161001: Display Created field as DateTime on Docker General Tab.
2015-02-15 13:36:57 +00:00
Hui Zhang
1e07c96710 CA-161001: Display Created field as DateTime on Docker General Tab.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-15 09:32:34 +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
Cheng Zhang
ce3bec1231 A-160189: Change RDP button display on Console tab
Remove “Remote access is not enabled on this guest” in cream in below condition:
1.RDP status is on
2.PV driver is cream or greater

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 14:18:36 +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
Mihaela Stoica
a1a402fd30 CP-10798: Remove unreachable code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-12 15:41:23 +00:00
Gabor Apati-Nagy
03e26c8bde Merge pull request #321 from MihaelaStoica/CP-10929
CP-10929: On the General tab, Update 'Properties' button visibility for ...
2015-02-12 15:10:51 +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
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
9bae16c03c CP-10927: Add container lifetime operations to the toolbar
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 13:46:23 +00: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
6b61a19d4f CP-10929: On the General tab, Update 'Properties' button visibility for all object types
This fixes the following issue: when displaying the General tab of a container, the Properties button is hidden, but not made visible again when switching to another object type (e.g. VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 13:45:44 +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