Commit Graph

1641 Commits

Author SHA1 Message Date
Mihaela Stoica
bec2117a2a CA-110610: It should be possible to apply a free license to a 6.1 or earlier pool if the pool has two or more servers in it.
- Changed the condition under which we show pool members as individual hosts in the License Manager dialog, from ALL to ANY,
meaning that if any of the pool members can be activated, then we split the pool.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-22 14:07:47 +01:00
Mihaela Stoica
6399087bd5 Updated ApplyLicenseEdition action to use the correct version of Host.apply_edition depending on host's version.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-19 16:32:42 +01:00
Mihaela Stoica
3d8ccf29e3 Updated Helpers.AugustaOrGreater function to use Augusta platform version
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-19 16:30:27 +01:00
Mihaela Stoica
47d2ac49b3 Host.apply_edition has an extra parameter. Provide overload for backwards compatibility. 2013-07-19 10:54:12 +01:00
Konstantina Chremmou
6576f515f2 CP-5604: Updated unit tests.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-18 15:04:47 +01:00
Konstantina Chremmou
171235f201 Merge remote-tracking branch 'origin/master' 2013-07-18 13:57:18 +01:00
Konstantina Chremmou
500fcb9522 CP-5604: Moved right click menu functionality to a separate column on the alerts datagridview.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-18 13:56:40 +01:00
Mihaela Stoica
a5cc4383e8 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-17 15:12:22 +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
71eea27965 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
The logic to determine which rows have to be added/updated/removed has been moved to a separate thread. This improved the performance as the UI thread is blocked only to refresh rows in the dataGridView.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-16 15:41:55 +01:00
Mihaela Stoica
31fb3218b0 CA-110610: It should be possible to apply a free license to a 6.1 or earlier pool if the pool has two or more servers in it.
- split the pool members out when they're free, as the activation keys can only be applied to one XenServer host at a time

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-16 11:46:18 +01:00
Mihaela Stoica
b7d6b03577 CA-111310: Call VDI.copy asynchronously to avoid timeout [SCTX-1366]
- Changed the synchronous call to VDI.copy to an async one in VMMoveAction and MoveVirtualAction;
- Corrected the calculation of action step in VMMoveAction.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-16 10:25:02 +01:00
Adrian Jachacy
0927fd02c8 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
Modified BuildList() method to remove and add dataGridViewRows only when needed (previously all rows were cleared and new rows were added every time BuildList method was executed).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-15 13:27:47 +01:00
Konstantina Chremmou
daa36d206b CP-5604: Removed bottom alert actions ToolStrip since the information is duplicated by the right click menu (and will soon be on a separate DataGridView column).. Minor code tidy.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-15 06:41:54 +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
Konstantina Chremmou
d190b11fa4 CP-5604: Removed dedicated help button from the ManageUpdates dialog; use the base class help button instead. Changed column names on the alert datagridview of the AlertSummary and the ManageUpdates dialogs to match the column headers and facilitate future extraction of code shared by both of them.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-12 11:07:10 +01:00
Chris Harding
a86b851288 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-12 09:23:38 +01:00
Chris Harding
8580544a1a CA-109237: Removing AddHostCommand test from the smoke tests 2013-07-12 09:22:50 +01:00
Konstantina Chremmou
bedda13a0d Merge remote-tracking branch 'origin/master' 2013-07-11 19:10:32 +01:00
Konstantina Chremmou
9a6a450cab CP-5604: Merged columns "Name" and "Description" to a single column "Message" on the updates dialog. Added expander column to allow expanding/collapsing rows. Reordered columns. (At the moment there is some duplicate code between the Updates and the Alerts dialog; this will be rectified soon).
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-11 19:09:29 +01:00
Konstantina Chremmou
b9f3aacfbf CP-5604: Converted the "Dismiss All" ToolStripButton on the Alerts dialog to a ToolStripSplitButton with the options to "Dismiss All" or "Dismiss Selected" alerts. Minor code tidy.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-11 18:20:18 +01:00
Konstantina Chremmou
02270b416d CP-5604: Added menu item "Show all" on the location and severity filter. Renamed the "No filter" item to "Show all" on the dates filter. Reordered top ToolStripMenuItems on the AlertSummaryDialog and changed their access hotkeys. Reordered columns on the alerts DataGridView.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-11 17:47:06 +01:00
Chris
6acbcae6b7 CA-109237 Remove tampa tabs and menus from smoke test 2013-07-11 09:28:29 +01:00
Adrian Jachacy
44c6090563 CP-5123: PR-1634: Add Summary page in the New SR wizard for Hardware HBA SR type.
Added LVMoHBASummary.ja.resx and LVMoHBASummary.zh-CN.resx to XenAdmin.csproj.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-10 14:41:33 +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
b4c9b0ba5c Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-10 13:39:46 +01:00
Mihaela Stoica
c3b500f40a CP-4807: Updated Readme file with short info about contributions and license. Also renamed to README.md.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-10 12:05:46 +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
Chris
9e756cecf3 Merge ../xenadmin_github 2013-07-09 16:58:35 +01:00
Chris Harding
06daa96ed4 CA-109237: Add a smoke test category for the xenadmin tests
Added a smoke test category and assigned a selection of tests to this category
to get a broad coverage of XenCenter functionality which can be used to quickly
test XenCenter works on a given platform
2013-07-09 16:03:49 +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
Mihaela Stoica
59e2b64850 CP-4807: Updated Contrib file removing the note about the mailing list.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-08 10:42:38 +01:00
Adrian Jachacy
355d5e90dc CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
1. Added AugustaOrGreater method to Helpers class (which is preferred method over MethodExists to check if a xapi call is available on a server). Also removed MethodExists method.
2. Utilized AugustaOrGreater method in GetDRMissingSRs method in both VM and VM_appliance classes.
2013-07-05 15:43:06 +01:00
Konstantina Chremmou
7a72dfd390 PR-1537: Further corrections to tests required by the separation of the Objects and Organization views.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 17:53:40 +01:00
Konstantina Chremmou
5f71500101 Merge remote-tracking branch 'origin/master' 2013-07-03 16:22:34 +01:00
Mihaela Stoica
7837642559 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-03 15:31:12 +01:00
Adrian Jachacy
8dc0908f92 CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
1. Added MethodExists method to Helpers class: this method tests wheather given method exists already.
2. Utilized new Helpers method in VM and VM_appliance classes.
3. Fixed ACTION_MULTIPLE_DR_TASK_CREATE_ messages.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-03 14:54:05 +01:00
Mihaela Stoica
2a66b0a43f [CA-11044] & [CA-109243] Added new pool-join reasons and associated messages.
These will cover the following two cases, for XenServer v6.2.0 and later:
1) a licensed host cannot be added to an unlicensed pool;
2) an unlicensed host cannot be added to a licensed pool.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-03 13:05:37 +01:00
Konstantina Chremmou
039c3dd6c8 PR-1537: Moved the 'Filter by Severity' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere. Added new 'Filter by Status' ToolStripDropDownButton. Register one more event with the FilterLocationToolStripDropDownButton.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 13:00:24 +01:00
Konstantina Chremmou
86234b2121 PR-1537: Moved duplicate alert comparison code from the AlertSummary and the ManageUpdates dialogs to the Alert class.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 12:00:00 +01:00
Adrian Jachacy
fa4c087099 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-07-03 11:57:03 +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
Adrian Jachacy
c944acd8a3 CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
Consume VM/VM_Appliance get_SRs_rrequired_for_recovery in VM/VM_appliance GetDRMissingSRs method.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-03 11:52:24 +01:00
Adrian Jachacy
54b66a08d8 CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
1. Updated XenModel.csproj following update to XenAPI.
2. Host.apply_edition requires three parameters now: pass false in the last parameter (_force parameter).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-03 11:46:26 +01:00
Konstantina Chremmou
8a7476c9c7 PR-1537: Added new virtual property Name to the Alert class. Removed time info from the Description of the XenCenterUpdate-, XenServerPatch- and XenServerUpdateAlert (not needed because it is shown on a separate column on the alert lists).
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 11:28:10 +01:00
Adrian Jachacy
ad2650c0e5 CP-5352: PR-1634: Request and consume list of SRs required to recover a VM / vApp, and add Resolve All button.
Updated XenAPI from XenCenterBindings-72599 (xenserver trunk build #72634).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-03 11:22:08 +01:00
Konstantina Chremmou
41ac4c6ea2 PR-1537: Added label on the alerts dialog to indicate whether filters are on/off. Removed icons from the toolstrip buttons to reduce clutter.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 11:10:21 +01:00
Konstantina Chremmou
b2132132cd PR-1537: Moved the 'Filter by Location' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 19:06:11 +01:00
Konstantina Chremmou
6e01c9a8cd PR-1537: Moved the 'Filter by Date' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:48 +01:00