Commit Graph

1880 Commits

Author SHA1 Message Date
Mihaela Stoica
929ae78942 CA-284876: Process the VM parameter of the VM_FAILED_SHUTDOWN_ACKNOWLEDGMENT error on host evacuation
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-07 11:28:57 +00:00
Konstantina Chremmou
4b6e826ed3 CA-284125: Prioritise a pending host restart over a mandatory toolstack restart.
For this purpose, the evacuate-reboot-bringbabiesback triplet was replaced by a
new RestartHostPlanAction, which allows fallback to toolstack restart if live
patching has succeeded. Also, created new abstract class HostPlanAction to
reduce code duplication.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-06 15:12:04 +00:00
Konstantina Chremmou
c5b0af533e Removed methods GetHostBootTime and GetHostAgentTime because they duplicated logic
in the Host extensions. Moved method TryResolveWithTimeout to the Connection class
where it is more relevant. Removed wrapper methods WaitForReboot and WaitForAgent
as they were not particularly useful.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-06 14:17:16 +00:00
Konstantina Chremmou
71e554cc39 Removed duplicate logic calculating VM groups from the WizardPages and moved it the Host class as extension methods.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-06 14:17:15 +00:00
Mihaela Stoica
be3a7b54d6 Add extra parameters to Cluster.pool_create
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-02-28 16:42:30 +00:00
Konstantina Chremmou
5529626ac5 CA-284234: Used patched version of Json.NET.
Also, fixed deserialization for errors on servers using JsonRpc v1.0.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-28 11:05:29 +00:00
Mihaela Stoica
ff05fb698c Merge remote-tracking branch 'upstream/master' into REQ-477
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

# Conflicts:
#	XenModel/XenAPI/Auth.cs
#	XenModel/XenAPI/Blob.cs
#	XenModel/XenAPI/Bond.cs
#	XenModel/XenAPI/Console.cs
#	XenModel/XenAPI/Converters.cs
#	XenModel/XenAPI/Crashdump.cs
#	XenModel/XenAPI/DR_task.cs
#	XenModel/XenAPI/Event.cs
#	XenModel/XenAPI/Feature.cs
#	XenModel/XenAPI/GPU_group.cs
#	XenModel/XenAPI/Host.cs
#	XenModel/XenAPI/Host_cpu.cs
#	XenModel/XenAPI/Host_crashdump.cs
#	XenModel/XenAPI/Host_metrics.cs
#	XenModel/XenAPI/Host_patch.cs
#	XenModel/XenAPI/JsonRpcClient.cs
#	XenModel/XenAPI/LVHD.cs
#	XenModel/XenAPI/Maps.cs
#	XenModel/XenAPI/Message.cs
#	XenModel/XenAPI/Network.cs
#	XenModel/XenAPI/PBD.cs
#	XenModel/XenAPI/PCI.cs
#	XenModel/XenAPI/PGPU.cs
#	XenModel/XenAPI/PIF.cs
#	XenModel/XenAPI/PIF_metrics.cs
#	XenModel/XenAPI/PUSB.cs
#	XenModel/XenAPI/PVS_cache_storage.cs
#	XenModel/XenAPI/PVS_proxy.cs
#	XenModel/XenAPI/PVS_server.cs
#	XenModel/XenAPI/PVS_site.cs
#	XenModel/XenAPI/Pool.cs
#	XenModel/XenAPI/Pool_patch.cs
#	XenModel/XenAPI/Pool_update.cs
#	XenModel/XenAPI/Role.cs
#	XenModel/XenAPI/SDN_controller.cs
#	XenModel/XenAPI/SM.cs
#	XenModel/XenAPI/SR.cs
#	XenModel/XenAPI/Secret.cs
#	XenModel/XenAPI/Session.cs
#	XenModel/XenAPI/Subject.cs
#	XenModel/XenAPI/Task.cs
#	XenModel/XenAPI/Tunnel.cs
#	XenModel/XenAPI/USB_group.cs
#	XenModel/XenAPI/User.cs
#	XenModel/XenAPI/VBD.cs
#	XenModel/XenAPI/VBD_metrics.cs
#	XenModel/XenAPI/VDI.cs
#	XenModel/XenAPI/VGPU.cs
#	XenModel/XenAPI/VGPU_type.cs
#	XenModel/XenAPI/VIF.cs
#	XenModel/XenAPI/VIF_metrics.cs
#	XenModel/XenAPI/VLAN.cs
#	XenModel/XenAPI/VM.cs
#	XenModel/XenAPI/VMPP.cs
#	XenModel/XenAPI/VMSS.cs
#	XenModel/XenAPI/VM_appliance.cs
#	XenModel/XenAPI/VM_guest_metrics.cs
#	XenModel/XenAPI/VM_metrics.cs
#	XenModel/XenAPI/VTPM.cs
#	XenModel/XenAPI/VUSB.cs
#	XenModel/XenModel.csproj
2018-02-27 17:42:18 +00:00
Mihaela Stoica
9a8b55b9fd Update API bindings from the feature branch
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-02-27 16:42:29 +00:00
Konstantina Chremmou
45f35ef099 CA-284233: New bindings to include a converter to serialize null values in string-string maps to empty strings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-27 15:39:45 +00:00
Konstantina Chremmou
8207a25fc8 Reverted to use of the Marshalling methods, as the Hashtable values can often be null.
Also fixed regression within the Masrshalling methods to account for null
values, however I did not reinstate the checks for keys, because Hashtable
returns null if the key does not exist instead of throwing an exception.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-26 15:48:29 +00:00
serencorbett1
fccfc6b1ae CA-283656: Display Multipathing Capabilities of GFS2 SRs (#1949)
* CA-283656: Linked SM and SR
* CA-283656: Checks new SR_MULTIPATHABLE capability
* CA-283656: Changed properties into methods
* CA-283656: Change key

Signed-off-by: serenc <seren.corbett@citrix.com>
2018-02-26 13:25:39 +00:00
Konstantina Chremmou
1d54c96d4d CA-283697 part4: New set of API bindings which now expose:
- a new method to update an object from a Hashtable setting only the fields
  contained in the Hashtable.
- an improvement on the class constructor from Hashtable whereby the fields
  are initialised and only the ones contained in the Hashtable are set (this
  is also an improvement towards CA-97777).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-22 13:31:02 +00:00
Konstantina Chremmou
63c6b817d5 CA-40854: The Session's uuid is in reality its opaque_ref. Use the opaque_ref so
it's obvious what it is. The Session's uuid will be deprecated from the API bindings.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-21 14:08:01 +00:00
Konstantina Chremmou
20099263a8 Added basic unit tests for the JsonConverters.
In theory, these should be added on the SDK side, but at the moment it is
easier to add them in XenCenter because the SDK does not have infrastructure
for NUnit tests yet.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-14 11:10:03 +00:00
Konstantina Chremmou
07e4249766 Updated bindings, including fix for CA-283613: missing JsonConverters for Map(Ref,Int) and Map(Ref,Map(String,String)).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-14 11:03:48 +00:00
serenc
a2b3dd45b9 CA-282695: Plug PBD after re-enabling clustering
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-02-09 10:39:12 +00:00
serenc
c99c4a0f2e CA-280299: Rescan SRs when choosing SR for copying VM 2018-02-05 10:53:46 +00:00
Konstantina Chremmou
123db499f5 Merge branch 'master' into REQ-420 2018-01-25 13:38:58 +00:00
Konstantina Chremmou
4731d6fb6f Corrections as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
9d2bb0b1ed CA-275566: Do not switch to the JsonRpc backend when using a simulator URL.
Restored API version 2.10 in test database. Private member Session._uuid
has been removed from the SDK.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
d83b91a987 Removed unnecessary XenConnection constructor which was there only to be used by the tests; used an object initialiser instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
c294e6514a Moved method DbProxyIsSimulatorUrl from the dump-all file Helpers.cs to DbProxy.cs where it's more relevant.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
3fd3a42f71 Removed method NewSession; it's used once and only to set the credentials to their existing values thus adding unnecessary complexity.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
f8e39994a8 Stop throwing JsonParse exceptions in release mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Mihaela Stoica
7e648810b8 CP-26618: Log more at INFO level when downloading an update (#1919)
* CP-26618: Log more at INFO level when downloading an update

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 13:34:20 +00:00
Mihaela Stoica
b9e85f93d5
Merge pull request #1914 from serencorbett1/REQ-477
CP-26253: changed "images" to "virtual disks" to avoid confusion
2018-01-18 15:39:51 +00:00
Mihaela Stoica
5fb9709b8a Merge master into REQ-477
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

# Conflicts:
#	XenModel/FriendlyNames.resx
#	XenModel/Messages.resx
#	XenModel/XenAPI/ApiVersion.cs
2018-01-15 14:41:40 +00:00
Mihaela Stoica
6cefd4d202 CA-276976: Add a new precheck in the Update Wizard
- The new "server selection" precheck is added for Inverness or greater pools and checks if all the servers in the pool are selected (if update not already applied) when applying an update that has the "enforce-homogeneity" flag set to true

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 14:34:50 +00:00
serenc
92a809e433 CP-26253: changed "images" to "virtual disks" to avoid confusion
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-01-12 14:05:01 +00:00
Mihaela Stoica
27979638df CA-276732: Replaced "Buy XenServer online" link
Also replaced another broken link, on GuiOldAlert

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
01327288f7 CA-250148: Replaced XenCenter plugins link
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
f62cc5c521 CA-279502: Added check for the server version before calling VM.get_is_default_template
This fixes the error thrown when importing templates with XenCenter 7.3 on servers earlier than 7.2

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 11:01:09 +00:00
Mihaela Stoica
018dfb8e79 Rename resource string which causes Messages.resx to become unsorted
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-11 12:45:37 +00:00
serencorbett1
16d0c1cc77 CP-26253: Added changes to UI based on feedback (#1906)
* CP-26253: Added changes to UI based on feedback

Signed-off-by: serenc <seren.corbett@citrix.com>

* CP-26253: Corrected spelling mistake

Signed-off-by: serenc <seren.corbett@citrix.com>

* CP-26253: Changed "Thin Provisioning (GFS2) SRs"  to "thinly provisioned"

Signed-off-by: serenc <seren.corbett@citrix.com>
2018-01-10 15:13:55 +00:00
Konstantina Chremmou
43079c6e17 CP-26469: Added version 2.9 to the API bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-10 12:57:12 +00:00
Mihaela Stoica
13a8b26fc4 Merge release/jura/master into REQ-637
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

# Conflicts:
#	XenModel/Utils/Helpers.cs
2017-12-19 13:12:39 +00:00
Mihaela Stoica
4d55a1c08b
Merge pull request #1899 from krizex/private/yangqi/CA-178651
CA-178651 FCoE NIC is not prevented from unplugging
2017-12-19 11:00:02 +00:00
Yang Qian
61b73aa9a8 CA-178651 FCoE NIC is not prevented from unplugging
Add api errors

Signed-off-by: Yang Qian <yang.qian@citrix.com>
2017-12-19 17:46:35 +08:00
Mihaela Stoica
59bcf97133
Updated bindings with new API version 2.10. (#1902)
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-18 13:41:37 +00:00
Mihaela Stoica
ffa42c086b CP-26290: Add new edition
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 13:22:17 +00:00
Mihaela Stoica
8ab61cf12e Added JuraOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 11:39:58 +00:00
Michael
035f4c234e CA-272797: Limit user to select 8 SRs at most in DR Configure dialog. (#1896)
* CA-272797: Limit user to select 8 SRs at most in DR Configure dialog.

Signed-off-by: Michael Zhao <michael.zhao@citrix.com>
2017-12-18 09:55:45 +00:00
Gabor Apati-Nagy
00040b5761
Merge pull request #1897 from MihaelaStoica/REQ-477
CP-26131: IP Address Configuration when clustering is enabled
2017-12-15 11:11:40 +00:00
serencorbett1
89ae8534fa CP-26193: Disable remove IP address button when clustering enabled on… (#1898)
* CP-26193: Disable remove IP address button when clustering enabled on network

* CP-25967: Combine two if statements

* CP-25967: Changed ClusteringEnabled boolean method

* CP-25967: Removed var

Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-15 11:09:26 +00:00
Mihaela Stoica
080b69befa CP-26131: Use SR.GetSR.GetSRType()instead of type
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-15 10:47:12 +00:00
Mihaela Stoica
bb0c0ae552 CP-26131: IP Address Configuration when clustering is enabled
When configuring the IP address on the cluster network, we need to temporarily unplug all GFS2 SRs and disable clustering.

This commit also includes a fix to the action progress calculation.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-12 13:46:42 +00:00
serencorbett1
f4d501474a CP-25564: Changed clusteringEnabled variable (#1891)
* CP-25564: Changed clusteringEnabled variable

* CP-26026: Added a link to enable clustering on SR Wizard

* CP-26026: Tweaked according to PR feedback

* CP-25967: Added license restriction for GFS2

Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-12 13:36:09 +00:00
Konstantina Chremmou
4ce1388077 Updated bindings with new API version 2.10.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-11 13:10:03 +00:00
Jisheng Xing
449dfe7f56 CA-272130: modify truncated linklabel and text on the memory settings wizard 2017-12-07 17:28:03 +08:00
Michael
1d0a2b76a0 CA-272769: Enable user to cancel URL testing in rolling upgrade wizard. (#1882)
* CA-272769: Enable user to cancel URL testing in rolling upgrade wizard.

* CA-272769: Sort messages resource file.
2017-12-06 12:06:36 +00:00
serenc
1e63b128b5 Added cluster-destroy bindings
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-05 14:05:44 +00:00
serenc
5eab6903d5 CP-25967: Add temporary license check
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-05 13:26:15 +00:00
serenc
7790bed4ca Merge remote-tracking branch 'upstream/REQ-477' into REQ-477
Signed-off-by: serenc <seren.corbett@citrix.com>

# Conflicts:
#	XenAdmin/Dialogs/NetworkingPropertiesPage.cs
#	XenAdmin/Help/HelpManager.resx
2017-12-05 11:16:16 +00:00
serenc
dd2bde777a CP-25564: Disable IP configuration if clustering is enabled
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-04 16:51:14 +00:00
Mihaela Stoica
72071a3334 Merge master into REQ-477
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/XenAPI/Proxy.cs
2017-12-04 13:37:12 +00:00
Mihaela Stoica
a2d9993d08 Added KolkataOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-04 13:06:13 +00:00
Konstantina Chremmou
817ea3654e Updated API bindings including fix to regression in the Session constructors.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-03 17:02:42 +00:00
serenc
9f9754c8b0 CP-25563: Added Clustering page
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-01 14:47:50 +00:00
Konstantina Chremmou
1c579565ac Create the settings object only in DEBUG mode. 2017-11-30 15:34:36 +00:00
Konstantina Chremmou
1ec3ba6ff9 Removed association of japanese resource files with the (Public)ResxFileCodeGenerator custom tool.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
fb8434819d Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
7f1ee0b30e Namespace tidy 2/several: replaced XenAdmin with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
566c6f0219 Namespace tidy 1/several: replaced Citrix.XenCenter with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
a623e28a06 CP-24558: Created a method in XenObject converting it to JObject, so that this method can be unit tested in isolation.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:49:15 +00:00
Mihaela Stoica
ba55a778b5 CA-250229: Fix typo in dialog box when assigning a VM already part of schedule to another schedule. 2017-11-29 17:20:24 +00:00
serencorbett1
584b214ac1 CA-272131 Added messages to show status of autostart (#1857)
* CA-272131 Added messages to show status of autostart

* CA-272131 Tidied Disable and Enable Autostart Messages

* CA-272131: Changed parameter

Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-29 09:51:19 +00:00
Mihaela Stoica
343311635d
Merge pull request #1872 from michael2012z/private/fengyangz/CA-272606
CA-272606: AD user can not log out when closing XenCenter.
2017-11-28 14:31:38 +00:00
serenc
ecdbaee2f3 CP-25563: Return false to test UI
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-28 14:06:25 +00:00
serenc
7e7a6d9c46 CP-25551 and CP-25565: Updated branch based on PR comments
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-28 13:34:38 +00:00
serenc
5bb7a07711 CP-25551: Added Provisioning Page to the Wizard
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-28 10:51:44 +00:00
serenc
4837c0a5df CP-25565: Added new classes to cache and project
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-28 10:35:51 +00:00
Konstantina Chremmou
058854046d Provisional correction to the version for which JsonRpc is supported.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-27 13:17:22 +00:00
Michael Zhao
44851325fe CA-272606: AD user can not log out when closing XenCenter. 2017-11-27 14:50:05 +08:00
Konstantina Chremmou
1b302bb095 Added converter for reference/string-set maps.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-24 16:03:12 +00:00
Konstantina Chremmou
2ff121fb55 CA-266891: fixed issue where enum properties were not serialised correctly.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
bcab8a5c6c Added initial values to the JsonRpc classes to correct errors when building in Release mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
25f1971b2d Renamed converter as the previous name had the wrong meaning.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
23a9c50389 Merge remote-tracking branch 'upstream/master' into REQ-420 2017-11-23 14:07:21 +00:00
serenc
3e9e2609e8 CP-25565: Update XenCenter API binding
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-23 11:06:37 +00:00
serenc
c4b228e8da CP-25551: Change Type page, Add provisioning page
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-23 10:59:15 +00:00
Konstantina Chremmou
906619e4eb Updated API bindings with API version bumped to 2.8.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-22 14:33:26 +00:00
Mihaela Stoica
0c2af2074a
Merge pull request #1866 from vetrivelc/release/inverness/staging
L10N: Translation Checkins
2017-11-22 21:25:28 +08:00
Mihaela Stoica
407c59b8b9 CA-273163: Fix the error where XenCenter did not set XenServer log destination and the iSCSI IQN settings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-22 13:18:45 +00:00
Vetrivel Chinnasamy
5f594dae8a L10N: Translation Checkins 2017-11-22 16:03:36 +05:30
Mihaela Stoica
681f77bfd9 CA-273307: Replaced the links in the Upsell dialogs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-17 12:24:43 +00:00
Konstantina Chremmou
a170ec33e2 Merge remote-tracking branch 'upstream/master' into REQ-420
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	autogenerated XenModel/XenAPI/* files
2017-11-17 11:53:41 +00:00
Konstantina Chremmou
c2e71875af Updated bindings with the latest API objects.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-17 11:19:01 +00:00
Mihaela Stoica
8e5b40b84c Update XenAPI based on XS/master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-17 10:52:02 +00:00
Gabor Apati-Nagy
0a8f9b8aa1
Merge pull request #1855 from serencorbett1/master
CA-273674 Added warning when shutting down pool master
2017-11-17 10:43:53 +00:00
Mihaela Stoica
6ab0fb7ba5 CA-266926: Change the description of the LICENSE_EXPIRES_SOON alert message
... to avoid descriptions like "The license on host 'A' will expire at Never"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-13 17:09:36 +00:00
serenc
e041b2d2b9 CA-273674 Added warning when shutting down pool master
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-13 15:07:32 +00:00
Vetrivel Chinnasamy
6a7e911eea L10N: Translation Checkins 2017-11-13 15:44:08 +05:30
Mihaela Stoica
53a4593394
Merge pull request #1847 from serencorbett1/master
CA-271883 - Corrected order of Licenses
2017-11-10 12:43:37 +00:00
serenc
6398c94383 CA-271883 - Corrected order of Licenses
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-10 11:38:11 +00:00
Mihaela Stoica
7ac856943e CA-272143: Import wizard stuck in "Waiting for Import template wizard to complete" when importing a default template
When trying to import a default template from xva, xapi notices that it is a default template, finds an existing one on the host and returns that one.
With these changes, XenCenter handles this case and displays an error, instead of waiting for the returned VM to be linked to the import task (which never happens).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-09 11:31:00 +00:00
Vetrivel Chinnasamy
282ea74224 L10N:CA-270723 Translation Checkins 2017-11-03 16:42:41 +05:30
Michael Zhao
df92e2ee9b CP-25375: Remove double quotation marks around string USB_DEVICE_VENDOR_PRODUCT. 2017-11-01 15:06:35 +08:00
Gabor Apati-Nagy
93935e5e48
Merge pull request #1833 from jijiang/master
CA-270505: Use generic msg if VM migr not allowed
2017-10-31 14:18:46 +00:00
Mihaela Stoica
de32523d04 Merge pull request #1834 from vetrivelc/master
L10N: Fixed [XenServer] fix in zh-CN resource
2017-10-25 09:38:35 +01:00
vetrivelc
06e11b5852 L10N: Fixed [XenServer] fix in zh-CN resource 2017-10-25 14:03:27 +05:30
Mihaela Stoica
95323239a0 Merge pull request #1827 from vetrivelc/master
L10N:Translation Updates
2017-10-25 08:48:23 +01:00
Ji Jiang
92db28f62a CA-270505: Use generic msg if VM migr not allowed
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-24 15:08:35 +01:00
Michael Zhao
b093082bcd REQ-158: Merge master to fix conflicts. 2017-10-24 18:51:24 +08:00
Ji Jiang
0390bc3f6e CA-265405: Fix string bug in vmss history dialog
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-24 10:40:46 +01:00
vetrivelc
d05fd0efd3 L10N:Translation Updates 2017-10-23 19:01:14 +05:30
Mihaela Stoica
6249663ae2 CP-17098: Integrate gfs2 in New SR wizard for HBA and FCOE SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/Wizards/NewSRWizard.cs
	XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrTypePage.cs
	XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs
	XenAdmin/Wizards/NewSRWizard_Pages/SrWizardType.cs
2017-10-20 11:05:45 +01:00
Mihaela Stoica
a56338861c CP-16484: Integrate gfs2 in New SR wizard for iSCSI SRs
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>

Conflicts:
	XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoISCSI.cs
	XenAdmin/Wizards/NewSRWizard_Pages/SrWizardType.cs
	XenAdmin/XenAdmin.csproj
2017-10-20 10:42:35 +01:00
Mihaela Stoica
b23ec8136a CP-16480: Add gfs2 to the list of XenCenter known sr types
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>

Conflicts:
	XenModel/FriendlyNames.Designer.cs
	XenModel/FriendlyNames.resx
	XenModel/XenAPI-Extensions/SR.cs
2017-10-20 10:34:56 +01:00
Kun Ma
1889cbafbd CP-25329: Refine API reference for PUSB & VUSB in xenadmin
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-10-20 17:30:21 +08:00
Michael
a375c8a119 CP-25081: Set platform parameters. (#1820)
* CP-25081: Set platform parameters.

* Optimize qemu-upstream handling code.

* Support Enter/Esc keyboard handling in AttachUsbDialog.

* Fix a logic error in showing qemu-upstream warning.

* Update bindings from REQ-158 XenServer build 129.
2017-10-18 12:52:53 +01:00
Joey
2dc9c00e41 Merge pull request #1817 from GaborApatiNagy/master_new
CA-267330: [Update Wizard Improvements] The Update wizard: block the installation of an update on slaves if a reboot or a toolstack restart is pending on master
2017-10-18 09:53:51 +01:00
Ji Jiang
5fb9442632 Update XC XenAPI binding based on XS master
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-17 11:37:37 +01:00
Michael
16b52d1c3f CP-25081: UI improvements for USB passthrough (#1811)
* CP-25081: UI improvements for USB passthrough

* CP-25081: Show text when AttachUsbDialog list is empty.

* Fix comments.

* Improve the presentation of warnings in USBEditPage.

* Update warning text of attach usb dialog.

* Simplify the layout of Attach USB Dialog.

* Check if USB devices plugged before showing UI.

* Fix comments.

* Fix comments.

* Improve code.
2017-10-17 09:57:50 +01:00
Gabor Apati-Nagy
b589d0dd9e CA-267330: [Update Wizard Improvements] The Update wizard: block the installation of an update on slaves if a reboot or a toolstack restart is pending on master
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-10-13 13:55:19 +01:00
Mihaela Stoica
4a6b860f3d CA-268975: Do not allow multiple hosts to join the pool if the new pool size will exceed the max size
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-10-13 10:14:00 +01:00
Ji Jiang
be5aeae819 CA-249852: Add license status in pool general tab
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-12 13:50:24 +01:00
Mihaela Stoica
8fbfe4c060 Merge branch 'REQ-528' into master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/MainWindow.Designer.cs
2017-10-12 11:39:19 +01:00
Ji Jiang
225474f913 CA-268683: Turn on disable HA on unlicensed pool
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-11 14:58:10 +01:00
Michael
e8cb4ad7d6 CP-24412 & CP-24333: USB device list filter in Attach dialog. (#1789)
* CP-24412: Apply a filter before adding USBs to candidate list in Attach Dialog.

* CP-24333: Apply HA restraint.

* CP-24412: Fix a merge error.

* CP-24412: implement actions to attach/detach/passthrough.

* CP-24412: Add license check before making UI components visible.

* CP-24412: Change layout of new components to Dpi.

* Fixed all comments.

* Fix comments.

* fixed comments
2017-10-10 09:05:22 +01:00
Ji Jiang
89bc74583f CP-266755 & CA-266843: Fix XC brand string
Following pattern would be caught when using "XenCenter" "XenServer" and
"Citrix":
1) not "[" or "/" or """ on left of the brand string
2) brand string followed by space followed by not "p", and optional letter
3) optional letter followed by space followed by the brand string
4) brand string followed by "," and optional letter
5) begin with the brand string
6) end with the brand string

tested with all .resx files

Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-10-06 13:30:31 +01:00
Mihaela Stoica
20d79ad6f4 Merge remote-tracking branch 'upstream/REQ-67'
Conflicts:
	XenModel/Messages.Designer.cs
2017-10-04 14:40:01 +01:00
Gabor Apati-Nagy
c00439bef4 CP-24818: [Update Wizard Improvements] Show the progress of the download in Automated mode
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-10-02 16:35:10 +01:00
Gabor Apati-Nagy
a8db7bfae9 Merge remote-tracking branch 'github_xenadmin/REQ-411' into master_REQ-411_merge
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/Core/Updates.cs
	XenAdmin/TabPages/ManageUpdatesPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenModel/Messages.Designer.cs
2017-09-29 11:56:46 +01:00
Gabor Apati-Nagy
0cc907bb14 CP-24709: Add a warning in the New VM wizard and Import wizard if the pool is licensed using XD/XA entitlement (#1791)
* CP-24709: Add a warning in the New VM wizard and Import wizard if the pool is licensed using XD/XA entitlement

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CP-24709: Add a warning in the New VM wizard and Import wizard if the pool is licensed using XD/XA entitlement

Fixed unintended designer code additions/changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-09-29 11:05:57 +01:00
Gabor Apati-Nagy
39026f300e CP-24707: Add license status information to the title bar for pool and hosts (#1783)
* CP-24707: Add license status information to the title bar for pool and hosts

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CP-24707: Add license status information to the title bar for pool and hosts

Show expired licenses as Unlicensed in the Header

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CP-24707: Add license status information to the title bar for pool and hosts

Improvements, fixes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CP-24707: Add license status information to the title bar for pool and hosts

More code to make it nicer

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CP-24707: Add license status information to the title bar for pool and hosts

More code to make it even more nicer

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-09-28 16:10:41 +01:00
Ji Jiang
268b19421f REQ-534: Fix some UI text display
Based on comments from doc team:
1) Column title "Patching Status" should be replaced by "Status" in csv file
2) In View dropdown, "By Host" should be replaced by "By Server"

Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-27 15:14:15 +01:00
kunm
912475a4eb CP-24331 & CP-24135: Add UI support for usb-passthrough on both Host & VM (#1766)
* CP-24331: Add UI for UsbTab and VM Usb Property

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Update XenAPI reference

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Add AttachUsbDialog

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Refine UI changes

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Discard UsbList and little refining to code

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Refine UI code

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Refine USBEditPage

Signed-off-by: Kun Ma <kun.ma@citrix.com>

* CP-24331: Refine USBEditPage

Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-09-27 13:37:17 +01:00
Ji Jiang
41df6e5c35 Fix alert message based on comments
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-27 12:57:25 +01:00
Ji Jiang
d0687e5ae3 CP-24708: Show different unlicensed pool/host icon
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-27 11:30:12 +01:00
Mihaela Stoica
8464712335 CP-24498: RPU wizard to block the selection of unlicensed hosts
Changes following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-26 15:01:35 +01:00
Ji Jiang
37499d81b6 CP-24477: Add licence check for CBT feature
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-25 18:19:15 +01:00
Ji Jiang
cb97e3788e CP-24405: Add message alert for CBT error msg
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-25 15:14:53 +01:00
Ji Jiang
a63ca0a030 CP-24344: Add HelpID and warning when disable CBT
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-25 15:14:09 +01:00
Mihaela Stoica
0e5f1335d4 CP-24498: RPU wizard to block the selection of unlicensed hosts
Also includes some improvements to the Select Pools page of the RPU wizard
- do not show the checkbox if the item is disabled
- show the icon for the pool items, not only for hosts (making this consistent with the similar page in the Update Wizard)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-25 13:27:06 +01:00
Mihaela Stoica
f32e0a710b Merge pull request #1780 from jijiang/CP-24704
CP-24704: Add pool size license check
2017-09-25 12:18:14 +01:00
Ji Jiang
0018981782 CP-24704: Add pool size license check
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-25 09:53:37 +01:00
Mihaela Stoica
ee61818f5e Sort Messages.resx
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-23 02:07:33 +01:00
Ji Jiang
806c3a5852 Update XC XenAPI to XS/feature/CBT branch
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-22 14:28:06 +01:00
Ji Jiang
152c25d2f2 Fix compilation error after merging
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-22 11:07:56 +01:00
Ji Jiang
fce3a725cd Merge 'upstream/master' into REQ-67-us
Conflicts:
	XenAdmin/Commands/MigrateVirtualDiskCommand.cs
	XenAdmin/Commands/MoveVirtualDiskCommand.cs
	XenAdmin/TabPages/SrStoragePage.cs
	XenModel/Messages.resx

Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-22 11:02:51 +01:00
Ji Jiang
880bde38f6 CP-23455: Add Update btn in Updates page "By Host"
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 15:32:48 +01:00
Ji Jiang
b5a8282089 CP-23454: Export function in "By Host" view
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 15:32:47 +01:00
Ji Jiang
8b2bc83a12 CP-23453: Populate "By Host" view in Updates page
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 15:32:47 +01:00
Mihaela Stoica
d4c980dbfd Merge branch 'master' into REQ-230 2017-09-18 13:12:06 +01:00
Hui Zhang
80a7da6e5e CP-23604: Pick the latest XenAPI bindings.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-09-18 13:11:06 +01:00
Hui Zhang
7298b085be CP-23604: Fix the comments to merge to XenAdmin master.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-09-18 11:42:13 +01:00
Ji Jiang
e3c869ccee CP-24344: Fix the REQ-67 build failure
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-15 12:27:15 +01:00
Konstantina Chremmou
673846924b Do not set API object properties that have a default value of "OpaqueRef:NULL" to null.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 12:48:05 +01:00
Konstantina Chremmou
915059d099 The Proxy_xxx classes should not be used outside the API bindings (in reality
these classes should have been internal).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 11:52:15 +01:00
Konstantina Chremmou
4c033a6b44 CP-24196: Initial implementation of switching XenCenter to use the JsonRpc backend.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:11 +01:00
Konstantina Chremmou
d134317463 Simplified logging of xml-rpc requests and responses.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:10 +01:00
Ji Jiang
23c903af09 CA-265029: Disable "Move VM" on CBT enabled VM
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-13 14:32:16 +01:00
Mihaela Stoica
92b3dc8395 Merge pull request #1757 from xenserver/REQ-420
Merging REQ-420 into master
2017-09-13 12:35:50 +01:00
Ji Jiang
48afa741b1 CP-24344: Fix and refactor CBT implementation
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-11 14:41:36 +01:00
Konstantina Chremmou
37e3810d73 Removed the background worker and added an async action to retrieve the local
server time (previously on the UI  thread) and also update the message list
for each snapshot schedule. Preserve column sorting and multiple selection
when the list is rebuilt. Do not enforce minimum size on the form since it
is not resizable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-11 13:22:12 +01:00
Ji Jiang
b19b60f442 CP-24344: Add "Disable CBT" menu item under VM
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-08 14:03:54 +01:00
Konstantina Chremmou
dd76b9f0d5 CA-265044: Text corrections on the New VMSS Schedule wizard; image correction
on the VM Snapshots page; update VM's status on the Snapshots page when the
VM's membership in a policy changes.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 12:56:41 +01:00
Konstantina Chremmou
d9aeeb15e5 Rewriting of the Snapshot Schedule dialog for performance optimisation.
Merged the PolicyHistory control into the dialog; removed legacy column from
the policies datagridview; put retrieval of messages on a background thread
to avoid UI freezing if there is a huge number of messages; retrieve messages
only when the VMSS collection changes and not every time the run history grid
is repopulated; sorted out button enabled state.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 11:02:07 +01:00
Ji Jiang
f724efdabb CP-24348: Update XenAPI based on XS/master
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-05 12:23:23 +01:00
Konstantina Chremmou
514c33140b Converted remaining extension get and set properties of the API classes to methods
in order to prevent them from being serialised alongside the API properties.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-05 02:15:38 +01:00
Konstantina Chremmou
71301eb332 Removed the extension Properties from the VMSS class. Removed the GetVMSSAlertsAction;
it's not needed as it does not make server calls. Some more refactoring and corrections
here and there.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-04 23:07:22 +01:00
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Konstantina Chremmou
89c14d7176 Moved multiple copies of method setting other_config keys to the parent class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
da3cd070ee Removed VIF.RateLimited property because usage on the VIFDialog shows it is
occasionally preferable to access the qos_algorithm_type directly.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
4825b60a60 Moved UI logic from the VM extensions to the SnapshotsPage.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
85d398d067 Moved the SR.GetIcon() method to XenAdmin where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
880d56b30f Renamed method so it's more obvious what it does.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Mihaela Stoica
6a2f77c9f6 CA-264439: Change the XenCenter version check to return just a warning in the RPU wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-31 09:51:20 +01:00
Mihaela Stoica
c59a3d14c4 CP-24213: Show CUs as updates
CUs are available as both updates and upgrades, but they should be presented as updates where possible.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-25 10:56:04 +01:00
Mihaela Stoica
86d2acee7f Merge branch 'master' into REQ-411
Conflicts:
	CFUValidator/CFUValidator.cs
	CFUValidator/OutputDecorators/XenCenterUpdateDecorator.cs
	CFUValidator/OutputDecorators/XenServerUpdateDecorator.cs
	XenAdmin/TabPages/ManageUpdatesPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenModel/Actions/Updates/XenCenterVersion.cs
	XenModel/Actions/Updates/XenServerVersion.cs
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2017-08-23 16:32:39 +01:00
Stephen Turner
89f51e90a1 CA-258782 Remove thin provisioning code (#1728)
* CA-258782 Remove thin provisioning code

* Revert file that shouldn't have been touched

* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Hui Zhang
d8c248fa76 CP-23604: Add IGMP snooping toggle.
Add the toggle to enable/disable IGMP snooping.
Display the property if the pool is licensed
and the network backend is OVS.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-08-16 12:32:18 +08:00
Gabor Apati-Nagy
48134dfd14 Merge pull request #1723 from xenserver/REQ-473
Merge from REQ-473
2017-08-09 10:47:01 +01:00
Mihaela Stoica
5b75b5f25d CA-260365: Hide the build number from the General Tab for Ely and newer hosts (to cover the Honolulu case)
Also restrict the use of build number as an integer to pre-Ely hosts (because a Honolulu host has a non-numeric build number and XenCenter doesn't know the difference between Ely and Honolulu)
And a small update to the pool join rule to match what we have in Honolulu XenCenter (check the database schema regardless of the version)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-27 14:47:12 +01:00
Mihaela Stoica
2a4335231e Merge pull request #1697 from kc284/CA-257927
CA-257927: Fixed scalability issue where XenCenter froze momentarily when disconnecting from a host with a big number of alerts
2017-07-26 08:43:22 +01:00
Mihaela Stoica
b783bff444 CA-260364: Pool join in XenCenter: Use homogeneity flag from other_config for Ely/Honolulu hosts (#1710)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-24 15:05:14 +01:00
Konstantina Chremmou
ad7e2fa6a6 CA-257927: Changed ChangeableList.RemoveAll method to fire the CollectionChangedEvent
once for all the items to be removed, passing in their list as argument. This method,
and the method Clear calling it, are used for alerts, updates, events and connections,
hence changed the handling of the CollectionChanged event in these cases to expect
either a single item or a collection. In the case of alerts, updates and events
this means that we can rebuild the whole list instead of removing single rows which
causes the application to hang for big numbers of items.
2017-07-24 14:48:02 +01:00
Letsibogo Ramadi
c44f89bf05 CA-249823 - Accept zip files in Updates Wizard (#1667)
* CA-249823 - Accept zip files in Updates Wizard
* CA-258326 - Improve implementation of CA-248823(Accept zip files in Updates Wizard)
* Small unrelated bugfix: Stop selectFromDiskRadioButton being checked when
restoring dismissed updates.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-21 15:56:27 +01:00
Mihaela Stoica
2e653d7ac9 Merge pull request #1678 from vetrivelc/master
[updated with honolulu fixes in master] Translation Checkins
2017-07-20 10:37:11 +01:00
Letsibogo Ramadi
b0f5b8ebc4 CA-258021 - Change updates retrieval url (#1702)
* CA-258021 - Change updates retrieval url

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-258021 - Change updates retrieval url

- Update url in Branding.sh

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-19 19:07:42 +01:00
vetrivelc
a9e5198c7e L10N : Translation updates and bug fixes 2017-07-19 15:09:10 +05:30
vetrivelc
d829654203 Merge branch 'master' of https://github.com/xenserver/xenadmin 2017-07-19 14:22:53 +05:30
Konstantina Chremmou
257a6daef2 Removed duplicate resource.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-07-19 09:22:58 +01:00
Ji Jiang
8209633f3c CA-210164: Fix the time format displays differently on "Health Check Enrollment" window
The time format displays differently on "Health Check Enrollment" window after upload a Health Check report

Sign off by: Ji Jiang
2017-07-17 12:42:22 +01:00
Mihaela Stoica
e12daf5a00 CA-259659: Revise the update homogeneity pool join rule (#1692)
* CA-259659: Revise the update homogeneity pool join rule

- only check the updates on the master and the new slave

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-259659: Revise the update homogeneity pool join rule

- simplify the algorithm that checks the updates on the master and the slave

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-13 14:20:43 +01:00
Gabor Apati-Nagy
4878e5e3ac CA-257922: Cancelling Server Status Report does not clean up
Fixed code to do the cleanup even if the saving has been cancelled

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-07-06 12:08:34 +01:00
Mihaela Stoica
061aeb8e6a Merge pull request #1680 from MihaelaStoica/master
Revert the changes to the XenAPI/Relations
2017-07-04 16:30:58 +01:00
Mihaela Stoica
b87a711b5f Revert the changes to the XenAPI/Relations
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-04 16:27:14 +01:00
Gabor Apati-Nagy
51c08c7433 Merge pull request #1666 from MihaelaStoica/CP-21161
CP-21161: Do not call the disk-space plugin cleanup functions on Ely …
2017-07-04 15:37:34 +01:00
vetrivelc
d624d93865 L10N:CP-23040,CP-23012 Traanslation Checkin 2017-07-04 10:39:46 +05:30
Mihaela Stoica
dd92f0e6a6 CP-22472: Add more metadata
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
0fbe225fa4 CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
- Add an empty string (instead of 'null') if the IP address is null
- Only include the XC uptime in the SSR produced in XenCenter
- Also changed the name of the metadata file that is included in the SSR

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
713f84cf54 CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
- Added more items to the metadata; the content is now slightly different between the SSR produced in XenCenter and the one from the HealthCheck;
- Encode the metadata string before sending it to the Health Check;
- Always suppress history for the action that sends the proxy settings;
- Renamed some of the new classes;
- Also refactored the actions that send data to the HealthCheck service.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
54ab9307d2 CP-22472: Add new XenCenter metadata file to the server status report
- XenCenter sends its telemetry info to the HealthCheck service
- The HealthCheck service saves this metadata in its settings file and includes it in the health check upload

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
2c37367155 CP-22472: Add new XenCenter metadata file to the server status report
- this adds the telemetry file to the server status report produced in XenCenter

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Gabor Apati-Nagy
50633d1b20 Merge pull request #1675 from MihaelaStoica/PoolJoin
CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
2017-07-03 15:42:34 +01:00
Mihaela Stoica
a05e662246 CP-23197: Check platform version (instead of product version) in the Pool Join rules
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 10:56:50 +01:00
Letsibogo Ramadi
24454ad6a7 Merge pull request #1674 from MihaelaStoica/CA-39992
CA-39992: Add "Repair Storage" action to the PBD_PLUG_FAILED_ON_SERVE…
2017-07-03 10:25:39 +01:00
Mihaela Stoica
743e9938da Merge pull request #1665 from minglumlu/private/mingl/CA-254479
CA-254479,CA-223802,XSO-672: distinct the VM IP addresses which are r…
2017-07-03 09:59:18 +01:00
Mihaela Stoica
813228eed6 CA-39992: Add "Repair Storage" action to the PBD_PLUG_FAILED_ON_SERVER_START alert
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 16:24:29 +01:00