Commit Graph

1929 Commits

Author SHA1 Message Date
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
Gabor Apati-Nagy
bd0220de51 Merge pull request #499 from MihaelaStoica/CallHome
CP-12154: Offer Call Home enrollment when connecting to Call-Home cap…
2015-06-10 13:39:05 +01:00
Mihaela Stoica
2cce79c5a2 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- fixed "warning as error" issues: Assignment made to same variable and Field never used

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-10 13:27:29 +01:00
Cheng Zhang
038b8792e3 CP-12624: Upload a CallHome report to CIS on demand
1. Add Upload a CallHome report to CIS on demand logic
2. Add test cases to check the function

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-10 19:02:29 +08: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
9580170733 Merge pull request #492 from MihaelaStoica/CallHome
CP-12154: Offer Call Home enrollment when connecting to Call-Home cap…
2015-06-10 10:54:19 +01:00
Cheng Zhang
8333bfcb19 CP-12158: Rework review comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-10 17:32:52 +08: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
9c67f803a6 Merge pull request #496 from GaborApatiNagy/master_CA-172441
CA-172441: Wrong message shown when hover mouse on 'Open SSH Console'
2015-06-10 12:29:21 +03:00
Gabor Apati-Nagy
f6c5c3bd31 CA-172441: Wrong message shown when hover mouse on 'Open SSH Console'
button

Removed tooltip from the "Open SSH Console" button

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 10:20:38 +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
f206d77c83 CP-12162: Add Health Check Service to the XenCenter build system
xenadmin-build.sh: Added a backslash to separate the parameters of the cp command
2015-06-09 14:28:30 +01:00
Mihaela Stoica
c829a4b451 Merge pull request #494 from MihaelaStoica/cheng--zhang-CP-12162
Merge CP-12162
2015-06-09 15:28:01 +03:00
Mihaela Stoica
415812fec1 Merge branch 'CP-12162' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-12162 2015-06-09 13:22:53 +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
Gabor Apati-Nagy
8911939172 Merge pull request #491 from rosslagerwall/cp7644-v2
CP-7644: Write XenCenter product version and build number
2015-06-09 10:31:47 +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
Ross Lagerwall
9675089982 CP-7644: Write XenCenter product version and build number
Write out the XenCenter version and build number into a version file so
that other tools can determine them from the build artifacts.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
2015-06-08 16:47:25 +01:00
Mihaela Stoica
8ce3dc9952 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- Check call home enrollment status on connecting to a pool: If status is unknown it means that the pool is not enrolled (enabled) and has never been (disabled). If that's the case, then show the Health Check Overview dialog with the pool selected
- "Enroll now" on Health Check Overview will try enroll the selected pool into call home using existing token authentication. If this is not possible, then a dialog will be presented for the user to perform the initial authentication.
2015-06-08 16:46:16 +01: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
Cheng Zhang
8f04a5b88c CP-12162: Add Health Check Service to the XenCenter build system
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-08 16:02:25 +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
ca1609fe29 Merge pull request #486 from xenserver/GaborApatiNagy-patch-1
CA-169167: Screen resolution is less than the default value after swi…
2015-06-04 13:50:16 +03:00
Gabor Apati-Nagy
547dced854 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Fixing unused field as warning as error build issue
2015-06-04 11:49:09 +01:00
Mihaela Stoica
d2dedaec40 Merge pull request #458 from cheng--zhang/CA-169170
CA-169167: Screen resolution is less than the default value after switch to remote desktop
2015-06-04 13:19:57 +03:00
Cheng Zhang
554d5a6483 CA-169167: auto-implemented for AutoSwitchRDPLater
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 18:13:58 +08:00
Mihaela Stoica
b55671bec2 Merge pull request #484 from MihaelaStoica/CallHome
CP-12153: Call Home Authentication
2015-06-04 12:18:01 +03:00
Mihaela Stoica
01e329db60 Merge pull request #485 from cheng--zhang/CP-12158
CP-12158: Add debug log for XenServer Health Check Service
2015-06-04 12:17:43 +03:00
Cheng Zhang
b9267e00a2 CP-12158: Add debug log for XenServer Health Check Service
Log will be located at ${PROGRAMDATA}/Citrix/XenServerHealthCheck/logs/XenServerHealthCheck.log

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 15:15:33 +08: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
Gabor Apati-Nagy
638cd6045a Merge pull request #479 from MihaelaStoica/CallHome
CP-12153: Call Home Authentication
2015-06-02 16:56:35 +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
0fadbb227b Merge pull request #483 from GaborApatiNagy/master_rdp_fix
CA-153347 [...]: fixing regression caused by CA-160189
2015-06-02 17:14:42 +03:00
Gabor Apati-Nagy
fd7407c127 CA-153347: Send Ctrl-Alt-Del is available for non-running VMs (title edited)
Reverted previous fix 7608caafd7, because
managed to find the root cause of this issue: commit ce3bec1231.
Instead of reverting the latter completely, this commit fixes the regression by removing unnecessary calling of UpdateButtons().

Note: The button will still be enabled for dom0 console.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-02 15:10:24 +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
87c3811b45 Revert "CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs"
This reverts commit 7608caafd7.
2015-06-01 15:33:17 +01:00
Gabor Apati-Nagy
00abff836b Merge pull request #482 from stephen-turner/gitignore
Add putty.exe to .gitignore
2015-05-28 19:08:23 +01:00
Stephen Turner
49b94223d9 Add putty.exe to .gitignore 2015-05-28 14:05:29 +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
Mihaela Stoica
d4547bd439 Merge pull request #477 from cheng--zhang/CP-12157
CP-12157: Create XenServerHealthCheck framework
2015-05-28 13:18:06 +03:00
Cheng Zhang
1c55e8199a CP-12157: Create XenServerHealthCheck service framework
1.Create a service named XenServerHealthCheck
2.Read the XenCenter Server List from configuration
3.Try to connect to these servers
4.Modify protection of XenCenter config from CurrentUset to LocalMachine

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-05-28 17:18:18 +08:00
Stephen Turner
786ea7937e CA-165366 Better phrasing of boolean groupings in search 2015-05-27 17:40:51 +01:00
Gabor Apati-Nagy
0579d919b8 Merge pull request #470 from MihaelaStoica/CA-161524
CA-161524: Resource report menu item is only shown when you're on the…
2015-05-27 15:36:58 +01:00
Gabor Apati-Nagy
0809dd2f56 Merge pull request #478 from MihaelaStoica/CP-12282
CP-12282: Semantics of Move / Migrate / Copy for suspended VMs
2015-05-27 14:38:36 +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
e35ffaadfe Merge pull request #476 from MihaelaStoica/CallHome
CP-12155: Fix tests (as new menu item has been added into Tools)
2015-05-21 11:48:11 +01:00