Commit Graph

4904 Commits

Author SHA1 Message Date
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
99f9a70189 Connection code simplification/update: removed CachePopulatedEventArgs class and use the newer Action delegate instead.
Also, changed the access modifiers of several members to private, because they don't need to be exposed outside the parent class.

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
Konstantina Chremmou
1febd6f49a Removed unused variable that broke the build. Expanded command documentation.
Some tidying up.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-22 10:28:27 +00:00
auron-muc
6d0c07d5d6 Some Enhancements to input stream handling in xva_verify (#1870)
* Some enhancements to input stream handling

- Open input file in read mode to allow readonly data
- Allow reading from stdin with filename "-"
- test for compressed data, use decompression if needed.

* Fixed missing reset of stream whan not gzipped

* BufferedStream not necessary
2018-01-19 14:08:06 +00:00
Mihaela Stoica
deb953a6ff CA-280287: Fix the null reference exception on the Import wizard (#1918)
* CA-280287: Fix the null reference exception on the Import wizard

- Added a check so that we don't attempting to show the license warning if the wizard is open without a preselected host/pool.
- The license warning is now updated whenever the host selection changes; plus, we are not attempting to show it if the wizard is open without a preselected host/pool.

- Also a minor refactoring in the GlobalSelectHost page to fix this issue: when the wizard is open with a pre-selected host, we pass this to the page by assigning SelectedHost property, which in turn sets the m_selectedHost. The getter for SelectedHost  resets m_selectedHost to the selected item in the host list. If the getter is used before the host list selection is updated, then the desired pre-selection is lost, because m_selectedHost is reset to null.

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

* CA-280287: Corrections following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 14:05:20 +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
babf201d2a CA-276678: Add "Buy licenses" link in the patching wizard when the precheck fails with license restriction
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 13:11:00 +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
66707610f2
Merge pull request #1916 from MihaelaStoica/REQ-477
Merge master into REQ-477
2018-01-16 09:05:47 +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
Mihaela Stoica
b7fea09842
Merge pull request #1910 from kc284/master
CP-26469: Added version 2.9 to the API bindings.
2018-01-10 13:05:21 +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
65156121c4
Merge pull request #1905 from xenserver/REQ-637
Merge REQ-637 into master
2018-01-08 12:14:12 +00:00
Mihaela Stoica
30ec0fa743
Merge pull request #1904 from MihaelaStoica/REQ-637
Port CP-26290 to master
2018-01-02 12:34:58 +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
Mihaela Stoica
d428bcb4ae
Merge pull request #1901 from MihaelaStoica/release/jura/master
CP-26290: Add new edition
2017-12-19 10:56:44 +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
Gabor Apati-Nagy
281c68edb8
Merge pull request #1900 from MihaelaStoica/release/jura/master
Added JuraOrGreater function
2017-12-18 13:15:55 +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
Gabor Apati-Nagy
3a076e21c6 CP-26048: Improve the fix for CA-271775 (console tab)
Fixed typo

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +00:00
Gabor Apati-Nagy
a01a4b9855 CP-26048: Improve the fix for CA-271775 (console tab)
Improved message (when using an outdated RDP client)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +00:00
Gabor Apati-Nagy
9b6806de1b CP-26048: Improve the fix for CA-271775 (console tab)
Reserved space for the warning message that is displayed if the XC machine is running an older version of the RDP control

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +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
Mihaela Stoica
5b242f0a7d
Merge pull request #1894 from kc284/master
Updated bindings with new API version 2.10.
2017-12-11 14:25:10 +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
Gabor Apati-Nagy
a1be6bc9e1
Merge pull request #1893 from kc284/REQ-420
Added Json.NET dll in the installer. Updated README.
2017-12-08 13:49:19 +00:00
Konstantina Chremmou
69bf32394b Added Json.NET dll in the installer. Updated README.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-08 13:36:58 +00:00
Mihaela Stoica
66b3b5f846
Merge pull request #1892 from kc284/CA-275576
CA-275576: Renamed the zip with the unsigned files.
2017-12-07 16:09:33 +00:00
Konstantina Chremmou
d173dcd771 CA-275576: Renamed the zip with the unsigned files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-07 14:39:32 +00:00
Mihaela Stoica
1e08eb2371
Merge pull request #1890 from jishengx/private/jishengx/CA-272130
CA-272130: modify truncated linklabel and text on the memory settings wizard
2017-12-07 13:53:03 +00:00
Gabor Apati-Nagy
a2a5f4eaeb
Merge pull request #1888 from michael2012z/private/fengyangz/CA-271863
CA-271863: Can not automatically resolve autostart-enabled VM in RPU.
2017-12-07 11:12:31 +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