Commit Graph

104 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
5826395f00 Merge pull request #123 from MihaelaStoica/CA-138822
CA-138822: Improvements to the Host/Pool Storage tab, following on from ...
2014-07-15 14:42:38 +01:00
Mihaela Stoica
005cb8e709 CA-138822: Improvements to the Host/Pool Storage tab, following on from the TRIM work
- Make "Reclaim freed space" a CommandButton (will appear as disabled if the command cannot execute)
- Add tooltip to "Reclaim freed space" button to show the reason it is disabled
- Hide "Reclaim freed space" button on old servers
- Allow multiselect
- "Reclaim freed space" button enabled if at least one SR can be trimmed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-11 12:24:58 +01:00
Mihaela Stoica
aaa31357fa CA-118423: Fix the issue where a non-management bond was shown as disconnected in XenCenter because the NICs tab was not refreshed when the properties of the new bond changed.
- Register a PIF CollectionChanged event, so the page is refreshed when a bond is added / deleted.
- Register the PIF PropertyChanged event to each PIF when the grid is populated; this ensures that all the PIFs displayed will be refreshed when their properties change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 15:41:33 +01:00
Mihaela Stoica
7d348fca5e CA-136783: Changed the log level from error to debug for some of the logged messages.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-02 13:13:37 +01:00
Mihaela Stoica
4f341aed60 CA-136783: Fixed the errors in the Updates window, where clicking "Go to Web Page" opens a wrong link
- When clicking the action button on the grid, execute the action on the item that has been clicked, instead on using the grid's selected item, which may have not been updated yet.
- On multiselect (if the multiselect is allowed for the action), if the clicked item is in the grid's selection list, then execute the action on the whole list, otherwise on the clicked item only.
- This applies to both Updates and Alerts windows.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 14:49:16 +01:00
Mihaela Stoica
1f217b9983 CP-8547: Add button in XenCenter to initiate space reclamation on an SR.
The operation applies to an SR. The button is on the Storage tab of the host/pool, and is entitled "Reclaim freed space".
It comes between the New SR and Properties buttons.
If the SR does not support TRIM , the button is invisible and the Properties button moves left to close up the gap.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 11:32:36 +01:00
Mihaela Stoica
b529869773 Merge pull request #79 from stephen-turner/CA-130368
CA-130368 Update various language and URLs
2014-06-02 11:30:29 +01:00
Stephen Turner
30a6c23379 CA-136771 CA-136767 Improve deprecation messages to be applicable to next version of XenServer 2014-05-30 11:23:35 +01:00
Stephen Turner
ad6318fd5e CA-130368 Changed 'License XenServer' to 'Purchase support' on home page at Tim's suggestion 2014-05-28 16:56:09 +01:00
Stephen Turner
9070a3ba9b CA-130368 Update various language and URLs 2014-05-28 16:22:31 +01:00
Gabor Apati-Nagy
12d1a53c44 Merge pull request #46 from Zhengchai/cp-7527
CP-7527: Restore WLB for Creedence XenCenter changes.
2014-04-30 13:25:39 +01:00
Konstantina Chremmou
8d5bc0920a CA-123737: Do not rebuild the alerts/updates/events pages unless they are visible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-28 15:04:23 +01:00
zheng chai
e10125fbce CP-7527: Restore WLB for Creedence XenCenter changes.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-22 19:14:53 +08:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
04bfd89a9d [CA-115418], [CA-123574]: Fixed issue where the Dismiss item on each alert row
was available for non-dismissible alerts. Fixed wrong enabled state of the top
ToolStripSplitbutton Dismiss on the alerts and the events page. Refactored code
calculating dismissability of alerts and dismissing them. Events list should be
multi-selectable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-09 13:57:41 +00:00
Konstantina Chremmou
07e5adc306 Fixed column sizing issues on the Updates page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 12:11:07 +00:00
Konstantina Chremmou
e28d3c912b CA-67866: Step 3 - Implemented filtering for the Updates list.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:27:11 +00:00
Konstantina Chremmou
a5c89e429b CA-85971: Removed method selecting control in tab by name. Retained ability only for the Name, Description and Iqn TexBox on the GeneralEditPage; in one of the other cases it didn't make a difference, in another (LogDestinationEditPage) it was causing a bug and in yet another (BootOptionsEditPage) the controls had already been renamed. Also some positioning changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 13:01:00 +00:00
Konstantina Chremmou
d6c143f875 Added method overload.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 10:10:21 +00:00
Konstantina Chremmou
3b25591d71 CA-85971: Removed method selecting tab by name. Made all pages of VerticallyTabbedDialog private.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 17:17:04 +00:00
Konstantina Chremmou
d335372575 CA-85971: Removed method selecting tab by index.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 15:28:00 +00:00
Konstantina Chremmou
17512a4cb1 Added null check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-20 11:00:53 +00:00
Konstantina Chremmou
373e4c6851 CP-4960: Notify the users they have a half-upgraded pool: small improvements.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-19 12:41:07 +00:00
Konstantina Chremmou
152b320e36 CP-4960: Notify the users they have a half-upgraded pool.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:39 +00:00
Konstantina Chremmou
4d04ec652c Some code simplifications on the GeneralTabPage and the PDSection.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:24 +00:00
Konstantina Chremmou
aac732c0f0 CA-122431: Correct GPU grouping on mixed K1/K2 pools.
GPUs are now grouped by: card type (K1/K2), supported types and enabled types
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385649218 0
#      Thu Nov 28 14:33:38 2013 +0000
# Node ID 43dbba1e3d6a3bc17862d13450080d014189281e
# Parent  d64f82660078ba76a4c4ceb92cef257d35759c4a

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:31:01 +00:00
Konstantina Chremmou
906033af36 PR-1675: On Server's GPU tab don't show the server label and only show the GPUs from this server
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385646872 0
#      Thu Nov 28 13:54:32 2013 +0000
# Node ID d64f82660078ba76a4c4ceb92cef257d35759c4a
# Parent  a760e46de0aad332bd24db705e329f8f718a6fef

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:30:06 +00:00
Konstantina Chremmou
968aed7f14 CA-121750: Added more checks to prevent potential NullReferenceException.
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385033812 0
#      Thu Nov 21 11:36:52 2013 +0000
# Node ID 196102f9e29ba724809d2c6a74b6a9187f17732a
# Parent  47ee07818c23a637d76eb911ef54c0d07825c2dd

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:25:42 +00:00
Konstantina Chremmou
bae0d9ab8f Added Copy item to the actions drop down on the Events page. Aesthetic: made the
actions split button look more like a button.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-10 11:29:31 +00:00
Konstantina Chremmou
d2cb9298cb Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-06 05:57:58 +00:00
Gabor Apati-Nagy
b8669eb8e6 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-05 13:47:58 +00:00
Gabor Apati-Nagy
fd6d5a3452 Fixed redrawing on MemoryTab (Same problem as CA-122425: Usability - Poor refresh rate when using the scroll-bar on the GPU tab.)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-05 13:43:55 +00:00
Konstantina Chremmou
ce20127827 CA-122558: Redesign of the updates page according to CAR-107.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-05 12:46:39 +00:00
Konstantina Chremmou
1669c4250d CP-6093: Further corrections to the enabled state of the top ToolStripButtons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-05 10:56:11 +00:00
Konstantina Chremmou
58d0599bdc CP-6093: Filter by Location ToolStripDropDownButton: only add ShowAll item if there
are actually items to show. Button enablement on Events page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-25 08:42:17 +00:00
Konstantina Chremmou
b2e0c858e3 CP-6093: Tidying up: moved property from Alert to XenServerPatchAlert as it only
applies to the latter. Converted methods from AlertSummaryPage to one Alert and
one String extension method so they can be used more widely. Code simplification
on the Updates page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 14:04:15 +00:00
Konstantina Chremmou
649f86bc1d Unregister registered CollectionChanged event on disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 12:01:54 +00:00
Konstantina Chremmou
22ec1d9ac5 CP-6093: Redesign of the CloseXenCenterWarningDialog to use the same controls as
the events page. This renders the old custom history controls obsolete, hence
removed them. Moved ActionBase extension methods to XenAdmin.Core namespace.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 11:59:49 +00:00
Konstantina Chremmou
9f0a5609ab CP-6093: Remove update alerts from the Alerts page, part 3/3: Do not add updates
to the total Alert list.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 15:56:24 +00:00
Konstantina Chremmou
cd0efe825d CP-6093: Remove update alerts from the Alerts page, part 2/3: Merged classes Updates
and ManualCheckForUpdates.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 14:27:34 +00:00
Konstantina Chremmou
361b49066c CP-6093: Anyone outside the Alert class should not know anything about the lock
used to access the alerts list. The list itself should be private as there is a
risk to access it and forgetting to use the lock.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 12:32:27 +00:00
Konstantina Chremmou
5b0cf92cb3 CP-6093: Removed top label and image from the Updates page. Show this info on the
progress panel instead. Some code simplification.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:30:24 +00:00
Konstantina Chremmou
ad3cfc7f98 CP-6093: Disable filter buttons on the Alert and Events pages when the lsit is empty.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:25:02 +00:00
Konstantina Chremmou
c6e58f1c4c CP-6093: Update notifications button with total number of alerts, updates and error
events. Fixed display issue when moving between the notifications and the other views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-19 15:42:47 +00:00
Konstantina Chremmou
9917801cc3 CP-6093: Implemented "GoTo..." and "Dismiss Selected" actions on the Events page.
Preserve last selected node when switching between views. Added labelling to the
unit tests run post-build. Minor tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +00:00
Konstantina Chremmou
da5408bf21 Missing license headers.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:59:08 +00:00
Konstantina Chremmou
0354bd7a85 [CA-121012] Fixed: Offering GPU type with no GPUs available
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1384269857 0
#      Tue Nov 12 15:24:17 2013 +0000
# Node ID 75cc5c584b9670ad16658d459fc069b07c57a433
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:34:55 +00:00
Konstantina Chremmou
efc21f74bb [CP-6900]: VGPU, PGPU, VCPU: normalise case of abbreviations
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383920504 0
#      Fri Nov 08 14:21:44 2013 +0000
# Node ID 857858a59d27d7b1aac2d87246169cd3ffcec5b4
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:58:43 +00:00
Konstantina Chremmou
a662268286 [CP-6856]: PR-1675: Visual tweaks and other final changes:
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383736103 0
#      Wed Nov 06 11:08:23 2013 +0000
# Node ID f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba
# Parent  04c02de675af090f3171b6fbf3b21b023c645c24
GPU page:
5. put GPU page back at server level
7. Move Edit button of "Placement policy" closer to text and make the box smaller and fixed
8. Put Placement policy box within the scroll bar

VM properties dialog / New VM wizard:
9. gpu types should be shown in order 2-4-8
10. show types that are not allowed as disabled items in the combobox (instead of not showing at all)
11. increase the height of combobox (max no of items) so that all items are seen without scroll

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:44:05 +00:00
Konstantina Chremmou
c77fcbbbb6 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383126969 0
#      Wed Oct 30 09:56:09 2013 +0000
# Node ID dc93a040fbe1e9ca80e39352dc776941fd4c7802
# Parent  8af833de348d090a0126ad2f922ba7679739b654

- update only the row affected when resident_VGPUs change (on VM start / shut down)

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:28:43 +00:00