Commit Graph

560 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
306a8b0acb CP-12641 and CP-12475: XenCenter work for thin provisioning
-New SR wizard: new page
-Add Virtual Disk dialog: new fields

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-17 09:59:21 +01:00
Mihaela Stoica
cc2d6ce2fd Merge pull request #500 from GaborApatiNagy/master_CA-172444
CA-172444: Consistency should be followed for behavior of all buttons in same page
2015-06-10 18:06:54 +03:00
Gabor Apati-Nagy
a73252c9fe IsWindows property added to the VM class.
Returns true if this VM is Windows.

Ignore PV guests, then check if viridian platform property is set.
This is based on the assumption that the viridian flag is always true for a windows VM.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 15:04:38 +01:00
Mihaela Stoica
3f0a9b6c40 Merge pull request #488 from cheng--zhang/CP-12158-new
CP-12158: Read the Call Home upload schedule and determine if an uplo…
2015-06-10 13:17:57 +03:00
Gabor Apati-Nagy
ffc90c6b7c Merge pull request #493 from MihaelaStoica/CP-12316
CP-12316: Ability for a XenCenter user show whether a guest is HVM or PV
2015-06-10 10:29:49 +01:00
Mihaela Stoica
adf6cded90 Merge pull request #495 from GaborApatiNagy/master_CP-11985
CP-11985: Implement RPU pre-check phase for safe repartitioning
2015-06-09 19:24:55 +03:00
Gabor Apati-Nagy
970ab331b1 CP-11985: Implement RPU pre-check phase for safe repartitioning
Added check for the "not_enough_space" case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-09 17:21:50 +01:00
Mihaela Stoica
059e0f77b5 CP-12316: Ability for a XenCenter user show whether a guest is HVM or PV
Added this information on the VM's general tab, and it could be one of the following:
- Operating mode: Paravirtualized (PV)
- Operating mode: Fully virtualized (HVM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-09 12:34:13 +01:00
Cheng Zhang
5ff8911688 Use DbProxy and server databases to do the UT test
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-09 16:06:17 +08:00
Cheng Zhang
e220e489c9 CP-12158: Read the Call Home upload schedule and determine if an upload can start
1.Add logic to firm an upload can start.
2.Lock will be added if upload can start
3.Add unit test

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-08 16:32:54 +08:00
Mihaela Stoica
aef41e83dc Merge pull request #487 from GaborApatiNagy/master_CP-11985
CP-11985: Implement RPU pre-check phase for safe repartitioning
2015-06-04 17:41:35 +03:00
Gabor Apati-Nagy
fa10c0cf54 CP-11985: Implement RPU pre-check phase for safe repartitioning
testSafe2Upgrade pugin function in prepare_host_upgrade.py is called as part of the RPU pre-checks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-04 15:36:39 +01:00
Mihaela Stoica
2dd4c52350 CP-12153: Call Home Authentication
- added getter and setter to the token property to prevent "Field never assigned" warning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-03 15:14:39 +01:00
Mihaela Stoica
f8e47e82b5 CP-12153: Call Home Authentication
- changes following code review
- added some more logging of exceptions, also some null checks

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-02 16:47:19 +01:00
Mihaela Stoica
9c3982542e CP-12153: Call Home Authentication
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-02 14:48:59 +01:00
Gabor Apati-Nagy
262c644e43 Merge pull request #481 from stephen-turner/CA-165366
CA-165366 Fix compile-time warning-as-error
2015-05-28 14:05:24 +01:00
Stephen Turner
dd68c484a2 CA-165366 Fix compile-time warning-as-error 2015-05-28 14:00:06 +01:00
Gabor Apati-Nagy
c3d867cb8f Merge pull request #480 from stephen-turner/CA-165366
CA-165366 Better phrasing of boolean groupings in search
2015-05-28 13:37:37 +01:00
Stephen Turner
786ea7937e CA-165366 Better phrasing of boolean groupings in search 2015-05-27 17:40:51 +01:00
Mihaela Stoica
c65acc53e0 CP-12282: Semantics of Move / Migrate / Copy for suspended VMs
Changed the name of the operation in XenCenter to "Migrate VM" for suspended VMs, instead of "Move".
This clarifies the distinction between copy/move and migration:
- running and suspended VMs can only be migrated
- stopped VMs can be moved and copied

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-05-27 12:17:35 +01:00
Gabor Apati-Nagy
08656f8051 Merge pull request #468 from MihaelaStoica/CallHome
CP-12152, CP-12155: Call Home enrollment
2015-05-19 18:36:33 +01:00
Mihaela Stoica
e23f9f3f97 Merge pull request #475 from stephen-turner/CA-170274
CA-170274: Custom templates no longer appear in the search tab defaul…
2015-05-19 17:49:56 +01:00
Stephen Turner
fa315ab8f7 CA-170274: Custom templates no longer appear in the search tab default search 2015-05-19 17:41:42 +01:00
Mihaela Stoica
d04e39ce7e CP-12152: Call Home enrollment
Default the schedule time to a random hour between 1am and 5am

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-05-19 15:51:04 +01:00
Mihaela Stoica
16d7f19cb5 CP-12019: Allow virtual disk migration for vdis attached to stopped and suspended VMs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-05-19 14:02:10 +01:00
Mihaela Stoica
9783c6dc7e CP-12152: Call Home enrollment 2015-05-18 15:23:32 +01:00
Mihaela Stoica
0a215f99ab CA-170272: Bump api version number to 2.5
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-05-18 09:52:50 +01:00
Mihaela Stoica
49db08d3a9 Merge pull request #466 from GaborApatiNagy/master_CA-147254
CA-147254: Adding DVD drive fails with obscure error message
2015-05-18 09:32:29 +01:00
Gabor Apati-Nagy
ffb620461f CA-147254: Adding DVD drive fails with obscure error message 2015-05-15 16:32:37 +01:00
Gabor Apati-Nagy
90a16d005e CP-11957: ssh console: Add UI elements to launch ssh
Fixes following the code review
2015-05-08 13:50:14 +01:00
Gabor Apati-Nagy
33addb3afc CP-11957: ssh console: Add UI elements to launch ssh
Refactored VIF to return a List<string> of IP addresses and to use this to return a concatenated string version
2015-05-07 12:41:12 +01:00
Gabor Apati-Nagy
af38c2fdf0 CP-11957: ssh console: Add UI elements to launch ssh 2015-05-07 11:42:31 +01:00
Gabor Apati-Nagy
2360fec265 CA-166093: Missing RRD label for vbd_xvda_io_throughput_total 2015-04-24 12:05:55 +01:00
Gabor Apati-Nagy
6f5bbbc64e CA-166093: Missing RRD label for vbd_xvda_io_throughput_total
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-23 17:38:40 +01:00
Gabor Apati-Nagy
d8d286a12d CA-167060: Clarification on creating CIFS SR using existing SRs & seeking a better error message
-Fixing bindings

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-23 15:04:05 +01:00
Gabor Apati-Nagy
030b629544 CA-167060: Clarification on creating CIFS SR using existing SRs & seeking a better error message
-Updated XenCenter with the latest api bindings (XenCenterBindings-100893c)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-23 14:16:53 +01:00
Gabor Apati-Nagy
76dfab006f Merge pull request #440 from MihaelaStoica/CP-11292
CP-11292: Remove storage motion constraints: Wording changes in the cros...
2015-04-22 14:44:26 +01:00
Mihaela Stoica
b7b71c786c CP-11292: Remove storage motion constraints: Fixing tests and some more wording changes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-22 13:21:31 +01:00
Gabor Apati-Nagy
852df0b00c Merge pull request #435 from MihaelaStoica/CA-150890
CA-150890: Enter Maintenance Mode dialog should offer to shut down a VM ...
2015-04-21 18:35:33 +01:00
Gabor Apati-Nagy
d082d6873b Merge pull request #437 from MihaelaStoica/CA-156200
CA-156200: HANDLE_INVALID shown on Rolling Pool Upgrade completed page
2015-04-21 18:18:17 +01:00
Mihaela Stoica
22ba1544e2 CP-11292: Remove storage motion constraints: Wording changes in the cross pool migrate wizard
- changes to the text to be suitable for migrate and copy operations, where possible
- added different text for copy on some pages
- also different text for single and multiple selection
- changes to text alignment, tab order, hotkeys on the copy pages
- removed Finish page from the intra-pool copy wizard

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-21 14:30:41 +01:00
Gabor Apati-Nagy
66415dc172 Merge pull request #426 from MihaelaStoica/CP-11292
CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs and templates
2015-04-20 12:53:50 +01:00
Mihaela Stoica
8d0c6e64ff CA-156200: HANDLE_INVALID shown on Rolling Pool Upgrade completed page
- while upgrading a host, throw a HOST_OFFLINE ("Server could not be contacted") exception if the host can no longer be resolved (instead of HANDLE_INVALID)
- also corrected the parameters of the HANDLE_INVALID exception, as an extra parameter is needed for the friendly error name.
- in the UpdateManualHostPlanAction class I replaced Host with the private property _host in several places, so we are no longer trying to resolve the host each time we want to write something into logs
- added some null checks, to avoid reporting null reference exception

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-17 14:56:40 +01:00
Mihaela Stoica
c569a6399f CA-150890: Enter Maintenance Mode dialog should offer to shut down a VM that cannot be suspended.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-16 10:38:43 +01:00
Mihaela Stoica
830d8f6f60 CP-11292: Remove storage motion constraints: changes following code review
- added some null checks
- in the Cross pool migrate wizard, add Transfer network page for all cases except intra-pool move (which is performed via VMMoveAction)
- added comments to VMCrossPoolMigrateAction constructor to make it cleared what the copy parameter means

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-15 09:37:12 +01:00
Mihaela Stoica
f00b71cca3 Merge pull request #427 from GaborApatiNagy/CA-165712_master
CA-165712: Show the GPU tab when GPU is licensed, even when there are no...
2015-03-31 17:43:14 +01:00
Mihaela Stoica
6d996c03a4 CP-11292: Remove storage motion constraints: Allow cross-pool copy for templates
- modified CopyTemplateCommand to launch a cross pool copy if permitted
- added CrossPoolCopyTemplateCommand which opens the Cross pool migration wizard in "copy" mode

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 17:40:05 +01:00
Gabor Apati-Nagy
93132ebbaa CA-165712: Show the GPU tab when GPU is licensed, even when there are no supported GPUs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-31 17:26:37 +01:00
Mihaela Stoica
ef5249671c CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs
- added a "copy mode" page to the Cross pool migrate wizard (when in copy mode) where the user can select intra-pool or cross-pool copy
- If intra-pool option is selected, then the wizard will display a page similar to what we currently have in the Copy VM dialog
- If cross-pool option is selected, then the wizard will display all the cross pool migration pages

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 15:13:46 +01:00
Mihaela Stoica
e314a654f7 CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs
- modified the VMCopyCommand to launch a cross pool copy if permitted
- added the CrossPoolCopyVMCommand which opens the Cross pool migration wizard in "copy" mode
- modified the cross pool migrate action with an extra "copy" parameter, which will add a copy option to the vm.migrate_send function call

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 14:27:04 +01:00