Mihaela Stoica
5e9f6d84f9
CP-28712: Add new message and friendly names ( #2132 )
...
CP-28712: Add new message and friendly names
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 10:39:16 +01:00
Ji Jiang
ce3a1a6f02
CA-293686: Fix the spelling mistake
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-07-11 16:35:00 +01:00
Ji Jiang
9e8e8237e2
CA-293721: Improve host HostMaintenanceMode problem description
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-07-11 14:28:49 +01:00
serencorbett1
63d09dd117
CP-28431: Block updates/upgrades from Kolkata if clustering enabled ( #2124 )
...
* CP-28431: Block updates and upgrades from Kolkata onwards if clustering enabled
* CP-28431: Rename files and change from Pool Check to [Host] Check
* CP-28431: Change description message
Signed-off-by: Seren Corbett <seren.corbett@citrix.com>
2018-07-09 10:59:09 +01:00
Konstantina Chremmou
624a228715
Corrected the logic deciding whether a supplemental pack is applicable on a host.
...
(This looks like a better fix for CA-236547 too).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Konstantina Chremmou
c11b692958
CA-293158: Reworked the logic enabling/disabling and selecting servers depending
...
on the update mode, so that the right set of hosts is passed on to the prechecks
page for partially upgraded pools that are to be updated to a new version with
hotfixes. Also, corrected code that was mixing the logic of changing the enabled
state of a row with the checked state.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Mihaela Stoica
7c1484d6c7
CA-293099: If the update that we are trying to apply is already applied, then show that in the wizard.
...
Also sort Messages.resx and call ReplaceProgressStep instead of AddProgressStep in the DownloadPatchPlanAction class (when the download is skipped)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-04 16:08:22 +01:00
Konstantina Chremmou
c2ae0a6069
Placed the CFU availability and the automated updates licence checks under the same group as requested per code review.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Konstantina Chremmou
69c9d942ff
CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this
...
is enforced on all host post-liveness checks.
Added missing description to SafeToUpgradeCheck.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Jisheng Xing
076c9dfb96
declare VMs with SR-IOV VFs as non-agile
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-07-04 12:03:03 +01:00
Mihaela Stoica
167c5132a3
CA-293099: When installing updates in the automated updates mode (including new version and RPU), ignore the UPDATE_ALREADY_APPLIED errors and allow the process to continue witth the remaining actions.
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-03 11:09:14 +01:00
Mihaela Stoica
f2a5b1936c
CA-293316: Add latest XenAPI bindings to XenCenter
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-03 10:46:53 +01:00
Konstantina Chremmou
89ddbf4007
Use "restart toolstack" instead of "restart agent" to conform with the server's menu item and the help files.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
7188a79263
Added padding to the upload/download progress numbers to reduce left-right message "jumping".
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Ji Jiang
11c3c02a48
Fix an assert message
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-07-02 10:57:51 +01:00
Konstantina Chremmou
bd9d8dfc93
CA-291030: Fixed a couple of duplicate hotkeys in the pool's menu and context menu.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
f16cc7f770
Made UploadPatchAction and UploadSupplementalPackAction report progress of uploaded bytes.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
3e71da4e0a
Do not trigger the Action.Change event when the PercentComplete or the Description
...
are set unless the new value is actually different. Small efficiency improvements
to the DownloadPatch action and plan action.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
8d6b615841
Check and plug PBDs for VMs only if and when there are VMs to migrate; do not log
...
a message in this case as the SRs are reconnected after reboot and this may lead
to duplicate messages. Also, simplified check-and-plug methods for PBDs to avoid
repetition of iterations.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-27 07:58:55 +01:00
Konstantina Chremmou
d3f761b070
Reworked the logging for the plan actions. ( #2109 )
...
* Deprecate set but unused Status property in favour of ProgressDescription.
* Deprecate set but unused TitlePlan property.
* Deprecated property Title in favour of ProgressDescription.
* Removed unused plan RebootHostPlanAction.
* Updated event declaration.
* Removed property Visible. The plan is to have the actions log their history as soon as some is available.
* Reworked the logging for the plan actions. The main change is the replacement of
the ProgressDescription with a stack where all the steps of an action are stored,
i.e. the action is responsible for its history, not the worker running it.
* Lock the progress history before accessing it.
* Better handling of error logging and user cancellation.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-26 14:04:51 +01:00
Ji Jiang
41e358a8fa
CP-28583: Remove host-level selection in Update wizard
...
1) Always pool level selection of hosts, except uploading sup pack file
from disk.
2) Revert homogeneity precheck change recently. It won't happen in new version
update any more.
3) User can never update slaves to a higher version than master, so delete
master_version_not_compatible_problem.
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-26 12:45:59 +01:00
Konstantina Chremmou
37d9bc4b3b
Moved all the code for the manual upgrade into the UpgradeManualHostPlanAction and removed the IsManual property.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
e8d2b9e493
CP-28279: Use different messages for RPU (for reporting success or failure)
...
- Also corrected the function that creates the update plan action in RPU: when running a retry, these actions shouldn't be regenerated.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
97a60c91da
Since the reason why a VM already involved in an operation in progress cannot be migrated is known, display it, otherwise the user may wonder unnecessarily what the problem is.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Konstantina Chremmou
e7683fcf0b
CP-28492: Evacuate the VMs before the first reboot and repatriate them after the last one.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Ji Jiang
6d070d3cfc
CP-28425: Add automated updates license precheck in RPU wizard
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 17:20:11 +01:00
Ji Jiang
ccf6f97732
CP-28280: Add CFU availability precheck to RPU wizard comments fix
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 12:02:19 +01:00
Ji Jiang
9ae8340913
CP-28280: Add CFU availability precheck to RPU wizard
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 12:02:19 +01:00
Jisheng Xing
538e6f90a1
fix some comments
2018-06-21 14:54:47 +01:00
Jisheng Xing
cb1da504fd
CA-289627: SR-IOV on NIC tab is confusing
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-21 14:54:47 +01:00
Konstantina Chremmou
6513abc09e
The check for hosts that are unlicensed for automated updates should be on all pool hosts as there maybe individual restrictions (for example via a feature flag).
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-19 17:20:08 +01:00
Mihaela Stoica
59b9b695db
CP-28284: Changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
da2c96ad1c
CP-28426: RPU wizard: add user option for automatically applying updates - changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-18 16:28:28 +01:00
jishengx
cf20ac13c4
CA-289629: prompt host may need to be rebooted to enable SR-IOV ( #2092 )
...
CA-289629: prompt host may need to be rebooted to enable SR-IOV
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-18 12:36:12 +01:00
Joey
abe97def1e
CP-28286: Support resume from a partially upgraded pool via Update wi… ( #2095 )
...
* CP-28286: Support resume from a partially upgraded pool via Update wizard
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
* CP-28286: Fix comments of the previous commit
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-18 10:46:41 +01:00
Mihaela Stoica
93a154e04f
CP-28282: Unit tests fix + improved message
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-15 16:05:37 +01:00
Mihaela Stoica
121bce92af
CP-28282: Correction to the required disk space calculation
...
- also renamed a variable and updated the problem description to include the server name
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-15 14:24:29 +01:00
Mihaela Stoica
e8ab24820d
CP-28282: Fix the bug where the action fails with InvalidOperationException if there is no available SR for upload
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-14 16:39:43 +01:00
Mihaela Stoica
c702399d95
CP-28282: Update the disk space precheck to calculate the required space according to the new workflow (apply all hotfixes to a host before moving to the next one)
...
- this commit covers the post-Ely case, where updates are uploaded to storage repositories
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-13 17:24:33 +01:00
Mihaela Stoica
8fff0b2b10
Merge pull request #2093 from kc284/REQ-672
...
Separate displayed update information per pool. Minor layout corrections and removal of unused LinkLabel.
2018-06-08 16:54:11 +01:00
Konstantina Chremmou
73e7b66fa4
Do not change the page top blurb depending on the process outcome. Improved error messages.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-08 16:15:55 +01:00
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