Commit Graph

114 Commits

Author SHA1 Message Date
Hui Zhang
0761aa5be2 CP-13848: XenCenter transfers proxy settings to HealthCheckService.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-25 20:32:58 +08:00
Mihaela Stoica
a9be9846ff CP-13073: Rename Call Home to Health Check in code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 08:44:41 +01:00
Mihaela Stoica
c1dac478b1 CP-13083: Add user setting and checkbox to the Health Check overview dialog saying "Show this when connecting to servers that are not enrolled into Health Check"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 14:12:46 +01:00
Mihaela Stoica
7c737d6ce8 CP-12769: Send server connection details to the Health Check Service
- Call TransferCallHomeSettingsAction with suppressHistory=true so the action doesn't show on the Events page
- This change also fixes LogsTabTests test failure.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-01 16:38:12 +01:00
Cheng Zhang
324c249285 CP-12769: Send server connection details to the Health Check Service
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 11:53:56 +08: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
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
Stephen Turner
ae672aa4b0 CA-159791: Remove GC debug info from logs 2015-03-20 13:17:06 +00:00
Mihaela Stoica
740bbf133e CA-161097: Renamed Container member to Docker container to fix build failures
This fixes the build errors:
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerDetailsPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerProcessPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 09:45:43 +00:00
Mihaela Stoica
1c562bcb9a CA-161097: Change IXenObject to DockerContainer in container Details and Processes page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 15:08:59 +00:00
Mihaela Stoica
4e29c8dbb8 CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
- Instead of calling the plugin on the UI thread, we call it through an action that we execute asynchronously  and on completion update the UI.
- Pause the refresh timer on leaving the page and resume it when entering the page again.
- We do this for both Processes and Details page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 09:50:55 +00:00
Cheng Zhang
9c0e2c60de CP-11053: Add per-container "Details"-Tab
- Showing all detailed information from a docker_inspect call
- The information refresh/polls every 20s while it's open
- Button “Refresh” add, so user can refresh the result. Also shows time when the last refresh happens.
- Add TabPageDetails as value 9903 in HelpManager.resx

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 10:49:41 +08:00
Mihaela Stoica
e3494f2d92 Merge pull request #324 from huizh/CP-11052
CP-11052: Add per-container "Processes"-Tab to XC
2015-02-12 10:53:18 +00:00
Hui Zhang
789e45f11c CP-11052: Add per-container "Processes"-Tab to XenCenter
This tab will show docker process id, command and CPU time.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-12 17:58:17 +08:00
Mihaela Stoica
9bae16c03c CP-10927: Add container lifetime operations to the toolbar
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 13:46:23 +00:00
Gabor Apati-Nagy
fddb5a032b Merge remote-tracking branch 'creedence-docker/master' into docker
Conflicts:
	XenAdmin/Wizards/NewVMWizard/NewVMWizard.cs
	XenModel/Messages.resx
2015-02-04 16:23:20 +00:00
Gabor Apati-Nagy
00e57ec414 CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-04 09:48:32 +00:00
Mihaela Stoica
a295ab0159 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
Changes following code review:
- Added VM.CanHaveVGpu function (at the moment just returns CanHaveGpu, but it will change in the future)
- Added vGPU_type.IsPassthrough function and used it everywhere we needed to test for passthrough (max-heads==0)
- Simplified code in Helpers.GpuCapability, Helpers.VGpuCapability, NewVMWizard (gpuCapability), MainWindow and GpuRow

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 10:04:47 +00:00
Mihaela Stoica
dbdd3cc02c CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
New properties:
- Pool.HasGpu = Pool has at least one PGPU
- Pool.HasVGpu = Pool has at least one PGPU that HasVGpu
- PGPU.HasVGpu = PGPU has at least one supported_VGPU_type that is not pass-through

New or modified helper functions:
- Helpers.GpuCapability = GPU feature not restricted (by licensing) and Pool.HasGpu
- Helpers.VGpuCapability = vGPU feature not restricted (by licensing) and Pool.HasVGpu
- Helpers.ClearwaterSp1OrGreater = API version is 2.1 or greater

The GPU dialogs are displayed as follows:
- GPU page on VM properties dialog: Visible only if VM.CanHaveGpu and the GPU feature not restricted (by licensing)
- GPU page on New VM Wizard: Visible only if VM.CanHaveGpu and the pool has GPU capability (Helpers.GpuCapability)
- GPU page on Pool properties dialog: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- GPU tab: Visible only if the pool has GPU capability (Helpers.GpuCapability) and is Clearwater SP1 or greater
- On the GPU tab, the "Placement policy" panel: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- On the GPU tab, the "Edit" button on the "vGPU types" panel: Visible only if the PGPU.HasVGpu and vGPU feature not restricted (by licensing)

Also:
- VM.CanHaveVGpu function renamed to CanHaveGpu
- On the GPU tab, renamed "Allowed vGPU types" to "vGPU types
2015-01-19 16:49:47 +00:00
Gabor Apati-Nagy
5abe4e109c CA-84876: Show more infrastructure information for objects
Instead of showing just the name, this code is showing name with location information in title for all objects that appear in the tree view.
(A new property (NameWithLocation) with a getter accessor defined in IXenObject and has been implemented as virtual in XenObject and overridden at several child classes.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-14 16:20:36 +00:00
Mihaela Stoica
4b39b4f7ed CA-153178: Add General tab for Docker containers; Remove Properties command from context menu 2014-12-05 14:16:58 +00:00
Gabor Apati-Nagy
8cf0ee6a04 Merge pull request #262 from xenserver/xs64bit
Xs64bit
2014-11-18 10:32:57 +00:00
Mihaela Stoica
15b2cc346b CA-148245: Fix the error where XenCenter did not refresh immediately after disconnecting a server
Added a RequestRefreshTreeView on ClearingCache event.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-08 17:16:45 +01:00
Stephen Turner
5abf3c53c0 CA-146815 Search tab does not refresh when moving from Infrastructure view to a Saved Search view (and not reintroducing CA-147684) 2014-10-01 17:43:03 +01:00
Gabor Apati-Nagy
d88f196b35 Merge pull request #213 from MihaelaStoica/CA-146592
CA-146592:  Change default search when in Infrastructure view
2014-09-22 16:11:53 +01:00
Gabor Apati-Nagy
63fd46e64d CA-146588: Crash in search tab with multiselect
-Adding comments only
2014-09-22 15:55:20 +01:00
Mihaela Stoica
f7890e201c CA-146592: Change default search when in Infrastructure view
- If XenCenter node or a  disconnected host is selected, show the default search.
- Otherwise, find the top-level parent (= pool or standalone server) and show the search restricted to that.
- In the case of multiselect, if all the selections are within one pool (or standalone server), then show that report.
- Otherwise show everything, as on the XenCenter node.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-09-19 13:47:04 +01:00
Gabor Apati-Nagy
5145f8346b CA-146588: Crash in search tab with multiselect
-Fixing issue as per Mihaela's review: "when an object and its parent (i.e. the group) are selected, the search result should be the search on that group"
2014-09-19 12:45:42 +01:00
Gabor Apati-Nagy
11514639e2 CA-146588: Crash in search tab with multiselect
-Fixed search on Objects view when multiple items were selected. If one item is selected the behaviuor is unchanged. If multiple items are selected the common ancestor's search is displayed if there is one, otherwise we display the search view that belongs to the root node (Objects by Type).
2014-09-17 15:47:43 +01:00
Gabor Apati-Nagy
447214886b CA-145350: Hard to clear error notification
-Removed no longer needed InError property (XenAPI-Extensions\IXenObject) and its usages
2014-09-11 14:59:13 +01:00
Gabor Apati-Nagy
ffc643bb8f CA-145350: Hard to clear error notification
-Removed code that highlights a node in the treeview.
2014-09-11 14:43:19 +01:00
Mihaela Stoica
7ab3243980 CA-140336: Hide the Windows menu item at all times
- cannot remove completely because of the plugin specification, but it is not be visible even if they were plugins trying to use it

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-22 13:20:21 +01:00
Mihaela Stoica
58b240bcde CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
This fixes the following problem:
When the main window is resized, we set the minimum width of the right side panel (Panel2MinSize) to half the size of the window so that the tab contents are visible. This is fine on most situations, but on a higher screen resolution (e.g. 1920x1080) the following problem occurs:
- starting with the main window at minimum size, when the window is maximized, the Panel2MinSize is set to half window's size (e.g. 960)
- when the main window is restored back to the minimum size, the split container is not resized because there is a conflict between Panel2MinSize and the size of the window itself (Panel1MinSize + Panel2MinSize > window's width)
- therefore the navigation panel is not visible and also the content of the tab control may appear out of scale.

To fix this, we set the Panel2MinSize to half of the window's minimum width. This way the right side panel will always fit in the window, including when it is restored to minimum size.
This also fixes [CA-137956] - Restoring Maximised XenCenter does not resize the main panel properly.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 12:04:32 +01:00
Mihaela Stoica
4755200d98 CA-137308: Checkpoint doesn't disappear follow deletion when switching to logs mode - FIXED
Force an update of the selected tab when switching back from Notification view, as some tabs ignore the update events when not visible (e.g. Snapshots, HA)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 16:38:48 +01:00
U-CITRITE\zhengc
736a8d4cb4 CA-135560: Fix Creedence version number check and make WLB tab behaviour same for 6.5 and 6.1.
Signed-off-by: Zheng Chai <zheng.chai@citrix.com>
2014-05-15 09:30:11 +08: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
zheng chai
5d19c679cf CP-7527: update version according to Creedence version number.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-29 11:12:53 +08:00
Konstantina Chremmou
f1ebc3b5eb CA-130615: Do not show an event notification when the connection fails due to being
existing or due to the host being a slave. Use the action description instead of
the action title to construct the error for failed connection results. Indentation.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-28 15:01:11 +01:00
zheng chai
350f1722e9 CP-7527: Update the comments on the show tab part.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-28 16:58:46 +08:00
zheng chai
96dc014da9 CP-7527: Rework comments to handle CLearwater case specifically.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-28 15:17:21 +08: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
f0cf20ec43 CA-127510: Reworked the logic of differentiating between tasks started by this instance
of XenCenter and tasks started from outside and cancelling the former when exiting
or disconnecting from the pool.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-03-11 14:30:01 +00:00
Konstantina Chremmou
d26bbaf8da CA-95786: Corrections to previous commit - show both the marketing name and the version on XenCenter's About box.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-02-18 17:38:11 +00:00
Konstantina Chremmou
de2ad77970 CA-95786: Show product microversion in XenCenter's About box (taken from XenServer
unless manually overridden in XenCenter). Renamed field.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-02-18 14:53:00 +00:00
Konstantina Chremmou
6d6421265e Merge branch 'master' of github.com:xenserver/xenadmin 2014-01-27 14:20:32 +00:00
Gabor Apati-Nagy
15bbf41a19 [CA-125549] Fixed: Deletion status of the alerts being displayed across any window open on the host
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-27 11:36:49 +00: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
f8117cd4f5 CA-114482: Changed workflow of retrieving updates: the list of published updates
is downloaded and stored every time an update is performed (if manual all updates
are downloaded, if automatic only as per the user's choices). If there are available
updates, update alerts are generated if there are connected hosts and disappear
when the hosts are disconnected.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-08 13:17:02 +00:00
Konstantina Chremmou
a5f83a9bc5 CA-123576: Step 3 - display the Window menu item only when there are plugins using it.
Performance issue - reconstruct the plugin menu items only when the plugins are
loaded/refreshed instead of doing it every time the parent menu is clicked. Workflow
issue - the PluginManager.Enabled gets its value from the registry; we shouldn't
wait unitl the plugins are loaded to set it.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 10:34:11 +00:00
Konstantina Chremmou
e8285669b5 CA-123576: Step 2 - stop listing the open forms under the Window menu item. Also
fixed (old) bug where multiple instances of the PatchingWizard were launched.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 08:52:21 +00:00