Commit Graph

1458 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
d364d976c2 CA-160996: XenCenter: Subscribe to fewer events in DockerContainers
-Following code review: Asserting instead of doing checks, because it makes more sense here

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-24 13:20:11 +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
Gabor Apati-Nagy
7bc964cdbe Merge pull request #340 from MihaelaStoica/CA-161003
CA-161003: Implement NameWithLocation for container objects
2015-02-24 10:25:44 +00:00
Mihaela Stoica
25bc2da25f CA-161003: Implement NameWithLocation for container objects
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:03:10 +00:00
Gabor Apati-Nagy
0129756c11 Merge pull request #333 from MihaelaStoica/CP-10926
CP-10926:  Add dialog for customizing the config drive in XenCenter after VM creation; +CA-161002; + CP-11159
2015-02-23 17:58:20 +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
acc06f9803 CP-11159: Add CreamOrGreater check to the ContainerCapability function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 17:48:35 +00:00
Gabor Apati-Nagy
5384a14df8 CA-160996: XenCenter: Subscribe to fewer events in DockerContainers
-ServerXenObject-PropertyChanged eventhandler now returns immediately for a non-VM sender
-Changed IXenObject to VM wherever possible to explicitly state that those methods are expecting VMs
-The UpdateDockerContainersForVM method sets the dockerContainersChanged flag only if there are changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-23 17:02:06 +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
Mihaela Stoica
4c03d41337 Merge pull request #344 from stephen-turner/CP-11124
CP-11124 Better CoreOS icon for the New VM Wizard
2015-02-23 15:54:59 +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
f55a1fc892 Merge pull request #343 from stephen-turner/CA-161460
CA-161460: XenCenter should fail gracefully if patch download fails
2015-02-23 14:36:29 +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
5adab0cfa6 CAR-1711: Download update from a pool name, not an IP address 2015-02-20 13:39:13 +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
9a681fe0f5 CAR-1711: Improve text 2015-02-20 13:20:05 +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
Stephen Turner
baf8412ff6 Merge pull request #342 from MihaelaStoica/CP-10772
CP-10772: Display the read caching status
2015-02-19 15:26:26 +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
Mihaela Stoica
8e9aa2a1a9 Merge pull request #341 from stephen-turner/CA-161525
CA-161525: Fix failed dereference by using an existing function
2015-02-18 15:13:25 +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
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
8023acd2ae Merge pull request #337 from MihaelaStoica/cheng--zhang-CP-10925
Cheng  zhang cp 10925
2015-02-17 10:32:05 +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
Mihaela Stoica
0f7e81d52c Merge pull request #325 from cheng--zhang/CP-11053
CP-11053: Add per-container "Details"-Tab
2015-02-13 10:33:21 +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
f18879b8c2 Merge pull request #330 from MihaelaStoica/master
CP-10798: Remove unreachable code
2015-02-12 15:42:53 +00: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
Mihaela Stoica
3d418ee412 Merge pull request #329 from xenserver/GaborApatiNagy-patch-1
CA-161000: XenCenter: Snapshot with containers appears in the tree view
2015-02-12 15:25:32 +00: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
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
Mihaela Stoica
0e8fbfceca Merge pull request #327 from GaborApatiNagy/CP-10798
CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installatio...
2015-02-12 14:04:44 +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