Commit Graph

208 Commits

Author SHA1 Message Date
Carmen Agimof
9d4b6b2516 Changes the design of the buttons and the picture of the warning in the Updates Tab. 2015-07-29 16:43:44 +01:00
Carmen Agimof
32461b38b9 CP-13028: Corrects the Dismiss function and provides Dismiss All/ Dismiss Selected button on the Updates Tab. 2015-07-29 13:43:47 +01:00
Carmen Agimof
aef3bef6b6 CP-13031: Make Updates Tab clearer if automatic check-for-updates is disabled. 2015-07-29 11:34:39 +01:00
Carmen Agimof
182307963f CP-13030: Provide button on the Updates tab to restore dismissed updates. 2015-07-23 13:50:32 +01:00
Carmen Agimof
b1a2b49559 CP-13026: Changes code style and removes commented out code. 2015-07-23 13:48:30 +01:00
Carmen Agimof
f79199752a CP-13026: Provide Dismiss option on the Updates Tab. 2015-07-23 11:48:14 +01:00
Mihaela Stoica
85e5308e51 Merge pull request #561 from agimofcarmen/CP-13040
Cp 13040
2015-07-21 11:42:24 +01:00
Gabor Apati-Nagy
aef08eb8ab CP-13101: XenCenter: Display provisioning method for existing SRs (thin / thick) 2015-07-20 20:40:28 +01:00
Carmen Agimof
4c93dbe92e CP-13245: Check if the update is applicable to the servers on the Select Servers Page.
CA-157785: Hotfix wizard forgets which servers should be greyed out.
When clicking Download and Install update in the Updates Tab, instead of opening a new dialog, it opens the Updates Wizard on the Select Servers Page and download the file in the Upload Page.
Fixes issue regarding the upload of the update every time that the user gets to Upload Page. Now it only uploads it if it has not been uploaded before.
Fixes issue regarding the download of the update every time the user goes back to the Select Patch Page. If the user goes back, but does not change the choice of the update, the download will not be done again.
2015-07-20 14:28:44 +01:00
Mihaela Stoica
4bc942117d Revert "Temporarily disable FCoE feature for all hosts"
This reverts commit 0dd6ebdb7f.
2015-07-13 09:57:10 +01:00
Mihaela Stoica
0dd6ebdb7f Temporarily disable FCoE feature for all hosts 2015-07-03 12:38:41 +01:00
Mihaela Stoica
25c0a061b6 CP-12777: FCoE status in NICs tab
- Added "FCoE Capable" column, showing FCoE capability as Yes/No values in the NICs grid
- This column is only visible for Dundee or higher hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 12:17:49 +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
3cd02c9a0f Merge pull request #469 from MihaelaStoica/CA-170028
CA-170028: [SCTX-2069] Base mirror disk should not be visible in XenCenter
2015-05-19 16:40:59 +01:00
Gabor Apati-Nagy
598356fe86 CA-147164: Filter by status doesn't notice changes of status
Fixed the bug by subscribing to events of all actions and not only to the
ones that are displayed in the grid.
Besides this, the visibility of the row is being used instead of removing and
re-adding rows on status changes.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-05-19 15:36:56 +01:00
Mihaela Stoica
4ae2d67dbe CA-170028: [SCTX-2069] Base mirror disk should not be visible in XenCenter 2015-05-18 15:52:13 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +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
Mihaela Stoica
272886b3fc CA-162989: Change section title in VM General tab to "Docker Information"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-19 17:08:50 +00:00
Stephen Turner
a6f6b775fd CA-163782: Read the read-caching reason from the server 2015-03-16 19:54:55 +00:00
Gabor Apati-Nagy
764e4f8ceb fixing typo in a comment, fixing build 2015-03-09 20:02:07 +00:00
Mihaela Stoica
0d20906346 Merge pull request #364 from GaborApatiNagy/CA-162989
CA-162989: Container Management GUI usability/homogeneity fixes
2015-03-09 16:13:11 +00:00
Mihaela Stoica
fd29a1b53c CA-162992: Better display of container network port mapping information on General tab; changes following code review
- do not add the Ports entry if it is empty

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-09 15:43:49 +00:00
Mihaela Stoica
5a9560d2a2 CA-162992: Better display of container network port mapping information on General tab
- Show ports as: Address: 0.0.0.0; Public port: 8088; Private port: 8088; Protocol: tcp (multiple lines if more than one set)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-06 11:43:47 +00:00
Gabor Apati-Nagy
497afabcef CA-162989: Container Management GUI use-ability/homogeneity fixes
Implemented changes as follows (copied from ticket):
"I'd suggest the following use-ability/homogeneity fixes for the new container management tabs, if they are quick and easy:

    Combine "Docker Version" and "Docker Information" on the VM-General-tab into "Container Management - Docker Status" with the following fields only:
        API version
        Version
        Git Commit
        Driver
        Index Server Address
        Execution Driver
        IPv4 Forwarding
    In the "Processes" tab, change the name from "Docker Processes" to "Container Processes"
    In the "Details" tab, change the name from "Docker Detail" to "Container Details"
    In the "Details" tab, drop the top level element "docker_inspect" (XML requires a single root-node, afaik the Windows form treenode does not), or alternatively open the root node by default and rename it to "Inspect Result"
    In the "Details" tab, add the "Details"-headline in black on white - just like on the "Processes"-tab

Also, on the container's General tab, show Properties button disabled, instead on hiding it (to be consistent to other cases, e.g. disconnected servers)
"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-05 19:10:54 +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
Gabor Apati-Nagy
29b7342597 Merge pull request #339 from MihaelaStoica/CA-161097
CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
2015-02-25 15:15:54 +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
08d4b6e306 CA-161097: Changes following code review
- Disable the Refresh button while a refresh is in progress.
- Introduced ExecuteContainerPluginAction - an action that stores the container it was called for, so that on completion we can decide whether to update the view or not (if the container displayed has changed, then we shouldn't update the view with the results from a previously selected container).

These changes apply to container Processes and Details tabs.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 12:44:03 +00:00
Mihaela Stoica
049d899f2d CA-161097: Rename some variables 2015-02-25 12:24:39 +00:00
Mihaela Stoica
5a4f537347 CA-161097: Changed Refresh button caption (removed ellipsis)
- also made Refresh buttons the same size on Details and Processes page and changed Details tab caption from "Detail" to "Details"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 16:58:34 +00:00
Mihaela Stoica
fecde2e3be CP-10772: Display the read caching status in XenCenter
- Show a “Read Caching” section on the General Tab of a VM when the VM is running on a Cream or greater host
- When the Read Caching is enabled, the “Read Caching” section will contain two entries: Status and Disks (list of disks with RC enabled)
- When the Read Caching is disabled, the “Read Caching” section will contain two entries: Status and Reason

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:09:08 +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
Mihaela Stoica
39abfc1902 Merge branch 'CP-10925' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-10925
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
2015-02-17 10:27:58 +00:00
Cheng Zhang
d488860045 CP-10925: Add Docker-specific information
1.Add Docker information in General Tab
2.Add Docker version in General Tab

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-17 10:20:07 +08:00
Mihaela Stoica
5707f187bf Merge pull request #332 from huizh/CA-161001
CA-161001: Display Created field as DateTime on Docker General Tab.
2015-02-15 13:36:57 +00:00
Hui Zhang
1e07c96710 CA-161001: Display Created field as DateTime on Docker General Tab.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-15 09:32:34 +08: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
Gabor Apati-Nagy
03e26c8bde Merge pull request #321 from MihaelaStoica/CP-10929
CP-10929: On the General tab, Update 'Properties' button visibility for ...
2015-02-12 15:10:51 +00: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
6b61a19d4f CP-10929: On the General tab, Update 'Properties' button visibility for all object types
This fixes the following issue: when displaying the General tab of a container, the Properties button is hidden, but not made visible again when switching to another object type (e.g. VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 13:45:44 +00:00
Cheng Zhang
c1403c1a92 CP-10929: Add per-container General-Tab to XC
1.Add ports and command in DockerContainer object
2.All labels in General box are internationalized.
3.Add UUID, command, ports in General box
4.Export DockerContainer in ICache
5.Modify tab title to "Container General Properties"
6.Remove properties button

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-10 11:03:59 +08: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
Mihaela Stoica
272585aa1d CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
The 'Updates' section on host's General tab displays which packs have been installed onto a host, including the version number

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 13:17:58 +00:00
Stephen Turner
f756339b0e Merge pull request #293 from MihaelaStoica/CA-157501
CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compare...
2015-01-22 17:28:23 +00:00
Mihaela Stoica
88aa3d4bb4 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- In the case that there are two hosts in a pool, one with GPU and one without, then the one without will display a text saying "There are no GPUs on this server".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 17:25:45 +00:00
Gabor Apati-Nagy
1cc59469a5 CA-156833: Dates in Updates pane should only be days, not times
-Changed date format to Messages.DATEFORMAT_DMY from Messages.DATEFORMAT_DMY_HM

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-20 18:05:21 +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