Mihaela Stoica
15edb13997
Merge pull request #2089 from kc284/REQ-672
...
First batch of changes for CP-28281
2018-06-08 11:32:26 +01:00
Ji Jiang
88224df214
CA-290316: Skip hotfix homogeneity precheck in mixed pool
...
Because we couldn't control user's selected combination from
a mixed pool, and the version compatibility precheck exists already,
here just simply skip the precheck and issue a warning.
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-08 11:17:41 +01:00
Konstantina Chremmou
1b4a862fd0
Further corrections to the load/leave page workflow and object selection ensuring correct enablement of the Next button.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
887428872a
Logic corrections. Show the name of the patch being removed each time.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:12:17 +01:00
Jisheng Xing
b85c6d9f60
CA-289618: Clear the created network after enabling SR-IOV failed
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-04 12:06:40 +01:00
Mihaela Stoica
a74ee3a793
CA-290064: Make the FibreChannelProbeAction an AsyncAction, because the PureAsyncAction throws an exception when collecting the API methods for RBAC checks.
...
An exception is thrown by the ProcessXml function if the result is an empty string, which is the case when the action is run with the RbacCollectorProxy to collect the API calls
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-24 13:00:05 +01:00
Mihaela Stoica
5d0b760a96
CA-288751: Fix the RBAC checks for probe_ext
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-24 13:00:05 +01:00
Ji Jiang
9ddb253ec0
CP-26866: Add a specific warning when creating a bond on cluster network
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-05-23 16:47:59 +01:00
serenc
29d82b1498
CP-28229: Update XenCenter to remove Cluster.network
2018-05-18 16:40:59 +01:00
Mihaela Stoica
171284ff34
CP-28094: Rationalise device-config keys with SMAPIv1
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-16 17:18:12 +01:00
Konstantina Chremmou
c475861941
CA-248353: Refactoring to avoid referencing cells with hardcoded index numbers,
...
which makes them undiscoverable and breaks if the columns are rearranged.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
0d8f61fbb0
CA-289182: Corrections to sorting (clearer handling of null cases, non-XenObjects, logic path inconsistencies).
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-14 14:56:42 +01:00
Konstantina Chremmou
fd2ee1922a
CA-286291: Missing copyright.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-14 13:37:40 +01:00
Mihaela Stoica
7ba8546929
CA-286291: Refactoring in VMOperationToolStripManuItem
...
- added an action for the API call that retrieves the WLB VM recommendations
- removed the thread used for updating the menu items, so that we always access the menu items on the UI thread and do only the server calls on separate threads (for WLB, getting the recommendations now is done on the new action, for non-WLB we have the `workerQueueWithoutWlb`)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-14 12:30:40 +01:00
Konstantina Chremmou
0c3298fd8b
CA-289153: Do not attempt updating the licence status for disconnected hosts. ( #2072 )
...
Also, no need to trigger an event when the host is null or when get_servertime
fails only to double-log it in the handling class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-11 16:38:46 +01:00
Konstantina Chremmou
f9a7e64086
Merge pull request #2068 from xenserver/release/kolkata/master
...
Merge release/kolkata/master into master
2018-05-10 13:46:53 +01:00
Vetrivel Chinnasamy
6d442aec50
L10N: CP-28097 Translation Checkins
2018-05-10 15:29:25 +05:30
Mihaela Stoica
5b234d181d
Merge pull request #2065 from kc284/release/kolkata/master2
...
Disable creation of SR-IOV network if the feature is disabled.
2018-05-09 12:54:32 +01:00
Konstantina Chremmou
3fc14c5344
Disable creation of SR-IOV network if the feature is disabled.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-09 12:38:26 +01:00
Mihaela Stoica
02c4ed5a95
CA-288560: Also update the CN and JA resources
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-02 12:57:10 +01:00
Mihaela Stoica
4096803ee1
CA-288560: Convert CPU average frequency to GHz, when needed
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-02 12:57:10 +01:00
Mihaela Stoica
906af62422
CA-288560: Add friendly name and units for CPU average frequency
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-02 12:57:10 +01:00
Mihaela Stoica
d501d248db
Resort Messages.resx
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-30 09:57:11 +01:00
vetrivelc
1f4fa9b46a
L10N: CA-288597 & Translation Updates
2018-04-26 10:54:18 +01:00
jishengx
ac9425fad0
CA-287857: judge if the status of pifOnMaster before enable SR-IOV ( #2050 )
...
* CA-287857: judge if the status of pifOnMaster before enable SR-IOV
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* fix some comments
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* fix comments
* fix comments
2018-04-24 17:22:18 +01:00
Konstantina Chremmou
21d6080464
Normalisation and internationalisation for exceptions thrown when failing to resolve objects in the cache.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-23 09:54:48 +01:00
Konstantina Chremmou
af04730191
Corrected NetworkWizard warning.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-23 09:54:48 +01:00
serencorbett1
e90b04d783
CA-287856: Add new API calls and update SR repair ( #2043 )
...
* CA-287856: Add new API calls and update SR repair
* CA-287856: changed setIscsiIQN and added try/catch
* CA-287856: correct method
* CA-287856: add else
2018-04-20 13:26:42 +01:00
jishengx
aa276dc8f5
CA-286449: Filter out SR-IOV network when importing OVF ( #2037 )
...
CA-286449: Filter out SR-IOV network when importing OVF
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-04-19 15:51:33 +01:00
Konstantina Chremmou
2a6451f0cd
Some more string corrections.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-17 13:32:05 +01:00
Konstantina Chremmou
04a29dd3a0
Message correction.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-17 13:32:05 +01:00
vetrivelc
be97b82329
L10N: Translation Updates
2018-04-17 12:44:09 +05:30
vetrivelc
b57d7d13bf
L10N:CA-287607 Translation Updates
2018-04-17 10:08:42 +05:30
Ji Jiang
ccd174718e
CA-285270: Enable iso file type download in install update wizard
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-04-16 12:48:01 +01:00
Konstantina Chremmou
b5567c6716
CA-286574: Corrected null check.
2018-04-12 15:48:47 +01:00
Konstantina Chremmou
7d8bb514d2
CA-287723: Updated bindings to include correction in the datetime deserialization.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-10 15:26:02 +01:00
Mihaela Stoica
2af3de8e7f
CA-287430: Fixed the issue where the "Install Update" page of the patching wizard does not show the information on the host reboot steps.
...
- use the plan action's ProgressDescription property to display the steps in RestartHostPlanAction (evacuate host, reboot host, bring babies back);
- the plan action should not be visible if the restart is skipped;
- The change to the DownloadAndUnzipXenServerPatchAction is to ensure that the download progress description is updated on the wizard with the correct description (in automated updates mode, via DownloadPatchPlanAction); DownloadPatchPlanAction is using the ActionChanged event to update its description based on the action's DownloadProgressDescription property, but the ActionChanged event is called when the PercentComplete is updated, so this needs to happen after DownloadProgressDescription has been updated.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-10 11:08:18 +01:00
YarsinCitrix
9384a42435
CA-281881: G11N: L10N: Hardcode issue in error messages when configure AD for server
...
Refer to the CA ticket for details. Generall, there may be some messages (strings)
from the same error message and we cannot literally translate that in the current
framework nor can we split the error into multiple errors and make the translation
separately due to effort constrain. So we just remove the extra information/string
from the current error message to keep current message language(translation) consistent.
Signed-off-by: YarsinCitrix <yarsin.he@citrix.com>
2018-04-09 11:33:22 +01:00
Konstantina Chremmou
a112bd73fb
Removed duplicate code; correction setting the request timeout in a session constructor;
...
renamed method to be more descriptive.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-09 10:45:27 +01:00
Konstantina Chremmou
a8efbbfba2
CA-286574: Fixed issue where the DR metadata were not loaded from the VDI because
...
the action was failing to create a metadata session; the latter was due to accessing
directly properties of the xmlrpc proxy which is null since we use the jsonrpc backend.
Also fixed some more areas where the same might occur.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-09 10:45:27 +01:00
Konstantina Chremmou
01273b205c
Reverted changes that were mistakenly added with ef65d3fede
.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-04 14:48:59 +01:00
Mihaela Stoica
cab6a051b8
Merge branch 'REQ-477' into master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/PCI.cs
# XenModel/XenModel.csproj
2018-04-04 09:59:29 +01:00
Konstantina Chremmou
ea225e1d23
Removed files erroneously added to source control.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-04 09:23:27 +01:00
Mihaela Stoica
6a8b65b21e
CP-17099: Do the double probe for HBA
...
- The LVMOHBAWarningDialog class has been changed to display the type of the existing SR and the requested type (that will be used for formatting)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-04 08:03:28 +01:00
Vetrivel Chinnasamy
587144d3bf
L10N: Translation Updates ( #2020 )
...
* L10N: Translation Updates
2018-04-03 11:57:09 +01:00
Konstantina Chremmou
ff13eff7dd
Some information (ScsiId) is contained in the Probe_result.configuration, the Probe_result.extra_info does not contain everything we need.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
6adcd2b83f
Some more code simplifications.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
4b0aa132d2
Simplified the FibreChannelProbeAction and compacted the methods and helper classes for parsing the results for the various SR types.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
4452318d1d
Moved the classes FibreChannelDevice and FibreChannelProbeParsing to XenModel.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
0e55a4f078
Tidied up SrProbeAction constructors.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
fc42be5bee
CP-17099: Do the probe_ext for HBA
...
- Move the scan for HBA devices after the Provisioning page
- Fix the device-config for HBA (removed uri)
- Add probe_ext in FibreChannelProbeAction and the method to process the result
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-03 11:24:40 +01:00
Joey
48782eac44
CA-286458: Fix latestcr XC requirement when apply CR update ( #2010 )
...
* CA-286458: Fix latestcr XC requirement when apply CR update
Using minimum_xc_version attribute in xenserver version to
determine which xencenter version is required.
* CA-286458: change MinimumXcVersion type to Version
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-03-29 11:13:13 +01:00
Mihaela Stoica
fcb6399535
CP-17099: Changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00
Mihaela Stoica
6ad6b4efc7
CP-17099: Use SR.probe_ext for GFS2 over iSCSI to populate the lists of IQNs and LUNs on the New SR wizard
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00
Mihaela Stoica
d3fa68e210
CA-286582: Hide the Provisioning method page if the feature is not present or disabled
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00
serenc
b7d3a2b3b5
CP-17099: Add gfs2 SR probe
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-03-28 11:34:42 +01:00
vetrivelc
c910f7d41b
L10N: Translation Updates
2018-03-27 13:47:39 +01:00
Jisheng Xing
be88e56dbc
change the field allow_network_sriov to allow-network-sriov according to template change
2018-03-27 13:46:17 +01:00
Jisheng Xing
a4bff0c560
CA-286137: Enable modprobe SR-IOV shows incorrect status at the very beginning.
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-27 13:46:17 +01:00
Joey
d80240b891
CA-281652: Add VM_REQUIRES_GPU failure reason ( #1997 )
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-03-26 11:04:12 +01:00
jishengx
ebadba53c3
CA-286339: The prompt information on RPU prechecks should be accurate ( #2009 )
...
* CA-286339: The prompt information on RPU prechecks should be accurate
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* fix some comments
2018-03-26 10:55:24 +01:00
Jisheng Xing
8e64c917e2
fix review comments
...
modify the judgement of SR-IOV network
fix review comments
fix review comments
judge the resolve result and modify the link status of VLAN on SR-IOV
2018-03-26 16:33:11 +08:00
jishengx
a635c6e3f5
CA-286342: SRIOV should be enabled on master when 2 NICs are not the … ( #1998 )
...
* CA-286342: SRIOV should be enabled on master when 2 NICs are not the same type
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* set the ExpectDisruption as false after action finished
2018-03-23 14:45:00 +08:00
jishengx
a22cb38835
CP-26363: Display the remaining VF numbers in NIC TabPage ( #1982 )
...
* CP-26363: Display the remaining VF numbers in NIC TabPage
* correct the link status of Networking TabPage
* show the warning when creating SR-IOV network
* fix some comments
* modify the action
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:44:56 +08:00
jishengx
e7bfb78c00
CP-26884 + CP-27199: Add network-sriov info in OVF file when exporting vm + Block VF assignment to VM according to recommendations: a ( #1980 )
...
* CP-26884: add network-sriov info in OVF file when exporting vm
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* CP-27199: Block VF assignment to VM according to recommendations
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
* fix some comments
* revert the Messages.resx
2018-03-23 14:44:51 +08:00
Jisheng Xing
89716cf258
CP-27332: correct the CONFIRM_DISABLE_VMs_TITLE
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:43:51 +08:00
Cheng Zhang
ef65d3fede
CP-27332: Use latest version of XenAPI to pass build
...
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2018-03-23 14:43:22 +08:00
Jisheng Xing
b52bead826
sort the XenModel/Messages.resx file
2018-03-23 14:41:56 +08:00
Jisheng Xing
7dd99857cd
CP-26391: Display the SR-IOV network status on Networking Tab Page
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:41:55 +08:00
Jisheng Xing
35acc262ee
CP-27188: Filter out the SR-IOV network when configuring IP address
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:41:54 +08:00
Mihaela Stoica
b2df93222a
Add missing bracket
2018-03-23 14:27:06 +08:00
jishengx
8e075f599a
CP-26421: Remove SR-IOV network on host's Networking TabPage ( #1954 )
...
* CP-26421: Remove SR-IOV network on host's Networking TabPage
* fix review comments
* add the pif.IsSrIovLogicalPIF
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:27:05 +08:00
jishengx
6f4fa43c03
CP-26362: Enable create SR-IOV network ( #1952 )
...
* update the XenAPI according to the Jason-RPC
* CP-26362: Enable create SR-IOV network
* fix review comments
* fix the judgement on SR-IOV details page
* disable the finish button
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-23 14:27:04 +08:00
Jisheng Xing
3ec5805464
add some check when resolving a reference
2018-03-23 14:27:03 +08:00
Jisheng Xing
530462ad41
CP-26491: modify IsPhysical function and Properties dialog according to SR-IOV
2018-03-23 14:26:03 +08:00
Jisheng Xing
cbfeaa3638
update the XenAPI
2018-03-23 14:24:51 +08:00
jishengx
b2c74ff261
CP-25982: add wizard to enable SR-IOV network ( #1887 )
2018-03-23 14:24:10 +08:00
Mihaela Stoica
3e1562b415
Merge master into REQ-477
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/Host.cs
# XenModel/XenAPI/JsonRpc.cs
# XenModel/XenAPI/VM.cs
# XenModel/XenAPI/VM_metrics.cs
2018-03-22 15:17:16 +00:00
Konstantina Chremmou
8250e086d1
Updated bindings to fix CA-285680, whereby the health check upload requests
...
were broken due to the Json library changing the format of date strings
even when they were deserialized as strings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-22 15:07:32 +00:00
Konstantina Chremmou
29cdf221bc
Cleared some level 4 warnings.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-22 15:07:32 +00:00
Konstantina Chremmou
f1e1146a55
CP-17099: Updated bindings to include new Sr.probe_ext call.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-22 13:59:22 +00:00
Michael
ebb918296b
CA-284226: Optimize performance of menu Start-on-Server and Migrate-to-Server ( #1985 )
...
* CA-284226: Reduce unnecessary CanExecute() calls.
* CA-284226: Optimize the performance of menu Migrate to Server and Start on Server.
* Fix an error in updating Migrate menu with WLB, which lead to crash.
* Clear the worker queue when menu is closed.
Signed-off-by: Michael Zhao <michael.zhao@citrix.com>
* Fix comments.
2018-03-20 07:07:19 +00:00
Mihaela Stoica
9fd8134b9e
Corrected path in XenModel
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-19 15:34:04 +00:00
Mihaela Stoica
ec5dcf9751
Update API bindings
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-19 14:08:32 +00:00
Mihaela Stoica
f7b27ec222
Merge pull request #1994 from xenserver/REQ-477
...
Merge REQ-477 into master
2018-03-19 13:23:19 +00:00
Cheng Zhang
76365e9dec
CA-286093: Refine VIF hotplug error message
...
VIF hotplug actully needs a shutdown and restart to take effect. Change the error message.
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2018-03-16 14:03:24 +00:00
jishengx
0c13d8786d
CA-274082: Check status of SR uploaded updates during update installa… ( #1937 )
...
* CA-274082: Check status of SR uploaded updates during update installation
* fix review comments
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-03-14 12:19:14 +00:00
Mihaela Stoica
0184470ea3
Merge pull request #1968 from kc284/master
...
CA-284125: Automated updates should prioritise a pending host restart to a mandatory xapi restart
2018-03-08 15:54:39 +00:00
Konstantina Chremmou
34ec571fa1
Return null if the string to deserialize to a XenRef<T> is null. This can
...
happen for calls returning a XenRef<T> when the server is using the JsonRpc
v1.0 and we have an error, in which case the result is null. Similarly, return
DateTime.MinValue when the datetime string is null (or in general unparasable).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-03-08 10:17:12 +00:00
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