Commit Graph

1021 Commits

Author SHA1 Message Date
Konstantina Chremmou
077cb17deb CP-5750: Changed the declaration for the ActionBase events Completed, Changed and
NewAction to use the Action<ActionBase> delegate instead of EventHandler. Thus
there is no need to fire them with Empty or null EventArgs and on several occasions
we avoid casting objects in the event handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:33 +01:00
Adrian Jachacy
edce7529f6 CA-109273: [DELL-194] Throws exception if Download & Install used on host in maintenance mode.
1. Added additional check to DownloadAndInstall method in ManageUpdatesDialog.cs: will proceed to the prechecks page in the Install Update Wizard only when there are selected servers on the previous page.
2. Modified code to allow hotfix installation when the host is in maintenance mode; however the host cannot be upgraded when in maintenance mode.
3. Modified test to reflect changes described above.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-25 09:44:52 +01:00
Adrian Jachacy
d68db5ffaf Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-24 14:06:55 +01:00
Adrian Jachacy
b4d282577b CA-111876: XenCenter displays an empty Summary page on cancelling the reattachment of HBA SR.
Moved LMVoHBA related code from UpdateWizardContent() method to CanShowLVMoHBASummaryPage() method which is called from RunNextPagePrecheck() method now: the code prepares all lvmohbaSrDescriptors for each LUN selected by the user and executes RunFinalAction() method.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-24 13:34:21 +01:00
Stephen Turner
213f5f9591 CA-111829: Only sets the restart priority on some of the VMs when enabling HA or modifying HA configuration. 2013-07-24 13:28:32 +01:00
Adrian Jachacy
5ee8a569ee CP-4959: EA-1246: If RPUW cancelled, inform users about restarting it.
Minor code refactoring to address the comment raised in review #2003.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-24 11:01:53 +01:00
Adrian Jachacy
635a794e7c CP-4959: EA-1246: If RPUW cancelled, inform users about restarting it.
New info dialog displayed when the user cancels the last page (Apply Upgrade page) of the Rolling Pool Upgrade wizard.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 19:57:51 +01:00
Adrian Jachacy
d89d04a33d CA-76329: SR destroy option is missing from XenCenter (even SR doesn't contains any VDI and SR is detached)
1. Changed definition of IsDetached property in SR.cs: SR is detached when it has no PBDs or when all its PBDs are unplugged.
2. Added bool HasPBDs property in SR.cs (replaced previous IsDetached property definition).
3. Reviewed all usages of sr.IsDetached property.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 13:42:27 +01:00
David Scott
292b333078 Avoid throwing an exception when there are no CDs in the New VM wizard dropdown
The rest of the code is robust to there being no CDs (and e.Index = -1)
apart from this bit.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
2013-07-17 13:47:47 +01:00
Adrian Jachacy
d4fdf02111 CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Expand all rows when populating the Summary Page.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-12 18:27:13 +01:00
Adrian Jachacy
e5b0d38753 CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Fixed incorrect AutoScaleMode in LMVoHBASummary page.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-10 13:47:37 +01:00
Adrian Jachacy
ab17c77e67 CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Integrated HBA summary page with the New SR Wizard.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-09 16:59:47 +01:00
Adrian Jachacy
3dd86c1fb8 CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Added localisation files for LVMoHBASummary page (ja and zh-CN).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-09 06:36:38 +01:00
Adrian Jachacy
b2a2e7aa9c CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Added Summary page to the New SR Wizard for HBA SRs. This page will display how many SRs were created successfully and how many failed to create.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-08 16:16:37 +01:00
Adrian Jachacy
bece6b5bfd CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
Make Resolve All button visible (the button and the "resolve all" logic existed already; the button's visibility was set to False).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-03 11:54:56 +01:00
Mihaela Stoica
15c02aa2c9 CA-90855: Allow Rolling Pool Upgrade wizard to be resumed when master has
been previously upgraded.

Introduced Host.LongProductVersion property which returns host's
product version and build number (e.g. 5.6.100.72258), or null if
product version can't be found. We use this property to check
if the master has been updraded and to decide which slaves need
to be upgraded or to skip hosts already upgraded.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-28 15:50:14 +01:00
Adrian Jachacy
6e2b3fc40f CP-4946: PR-1634: Bulk import of FibreChannel LUNs in DR Wizard.
Clear All button disabled when no rows selected; Select All button
disabled when all rows selected.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-06-28 09:04:39 +01:00
Adrian Jachacy
9358362bd0 CP-4946: PR-1634: Bulk import of FibreChannel LUNs in DR Wizard.
Fixed issue reported in review #1846.
2013-06-25 17:01:21 +01:00
Adrian Jachacy
5e39b8afc7 CP-4946: PR-1634: Bulk import of FibreChannel LUNs in DR Wizard.
1. Resized columns on the LOcate Mirrored SRs page in the DR Wizard.
2. Changed wording of DR_WIZARD_STORAGEPAGE_DESCRIPTION_FAILBACK and
   DR_WIZARD_STORAGEPAGE_DESCRIPTION_FAILOVER messages.
2013-06-25 12:42:17 +01:00
Adrian Jachacy
085629c3de CP-4946: PR-1634: Bulk import of FibreChannel LUNs in DR Wizard.
Added possibility to select/clear all rows on the Locate Mirrored SRs
page in the DR wizard.
2013-06-25 11:48:20 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00