Mihaela Stoica
296739cfa4
CP-27751: Include new RPU003 and RPU004 plugins for CA-287020 ( #2049 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-23 15:39:34 +01:00
Mihaela Stoica
e85954fb75
CP-27568: Update the RPU hotfix to version 5
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-05 11:01:04 +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
Mihaela Stoica
d4c5a86698
Fix the SR wizard tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-04 08:03:28 +01:00
Konstantina Chremmou
7655011158
Compliance with C# conventions: normally interface names start with an I.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +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
Mihaela Stoica
6d5e8116c4
CP-17099: Fix the usage of IscsiChoiceDialog in the tests
...
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
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
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
123db499f5
Merge branch 'master' into REQ-420
2018-01-25 13:38:58 +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
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
69edc172eb
CP-25563: Build now passes unit tests
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-04 10:53:58 +00:00
Konstantina Chremmou
3d2e4c70cd
Lowered temporarily the API version in test database to unblock the build. Use the
...
restored Session constructor. Fixed threading issue.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-03 17:02:42 +00:00
Konstantina Chremmou
641ed8f77a
Updated unit test: AppliesTo is filled from the host's name, which in this case
...
is the name_label's default value. The default value is now taken from the API
and it is an empty string rather than null.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-01 12:19:41 +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
23a9c50389
Merge remote-tracking branch 'upstream/master' into REQ-420
2017-11-23 14:07:21 +00:00
Mihaela Stoica
b3a1de34ad
CA-274150: Update RPU hotfixes in XenCenter
...
- RPU004 is applicable to Falcon as well as Ely hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-17 16:48:40 +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
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
Mihaela Stoica
20d79ad6f4
Merge remote-tracking branch 'upstream/REQ-67'
...
Conflicts:
XenModel/Messages.Designer.cs
2017-10-04 14:40:01 +01:00
Mihaela Stoica
9431752d54
CP-24708: Fix the tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-29 12:48:36 +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
Mihaela Stoica
99cd1423e4
CP-24498: RPU wizard to block the selection of unlicensed hosts
...
Fixed the tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-27 11:43:55 +01:00
Mihaela Stoica
50623be97c
CP-24806: Update the RPU hotfix to version 4
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-22 13:55:28 +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
d2d0c2cd09
CP-24344: Fix REQ-67 test failure
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 14:07:20 +01:00
Mihaela Stoica
2e21b8ab91
Merge pull request #1760 from xenserver/REQ-420
...
Updated tests to reflect conversion of xenobject properties to methods.
2017-09-13 17:23:12 +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
32fd3914da
Updated tests to reflect conversion of xenobject properties to methods.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 14:46:58 +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
32347739d9
CA-265044: Updated test.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-11 13:40:29 +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
ae22560ce8
Converted all extension get properties of the API classes to methods in order to
...
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Mihaela Stoica
c59a3d14c4
CP-24213: Show CUs as updates
...
CUs are available as both updates and upgrades, but they should be presented as updates where possible.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-25 10:56:04 +01:00
Mihaela Stoica
86d2acee7f
Merge branch 'master' into REQ-411
...
Conflicts:
CFUValidator/CFUValidator.cs
CFUValidator/OutputDecorators/XenCenterUpdateDecorator.cs
CFUValidator/OutputDecorators/XenServerUpdateDecorator.cs
XenAdmin/TabPages/ManageUpdatesPage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenModel/Actions/Updates/XenCenterVersion.cs
XenModel/Actions/Updates/XenServerVersion.cs
XenModel/Messages.Designer.cs
XenModel/Messages.resx
2017-08-23 16:32:39 +01:00
Stephen Turner
89f51e90a1
CA-258782 Remove thin provisioning code ( #1728 )
...
* CA-258782 Remove thin provisioning code
* Revert file that shouldn't have been touched
* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Gabor Apati-Nagy
48134dfd14
Merge pull request #1723 from xenserver/REQ-473
...
Merge from REQ-473
2017-08-09 10:47:01 +01:00
Mihaela Stoica
5e2fe55771
CA-260214: Update the uuid of the RPU hotfix ( #1704 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-20 12:32:03 +01:00
Mihaela Stoica
f9c574c885
CP-23101: Add tests for the metadata transfer functions: changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-07 15:55:25 +01:00
Mihaela Stoica
253bd465e9
CP-23101: Add tests for the metadata transfer functions
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-04 11:58:53 +01:00
Mihaela Stoica
713f84cf54
CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
...
- Added more items to the metadata; the content is now slightly different between the SSR produced in XenCenter and the one from the HealthCheck;
- Encode the metadata string before sending it to the Health Check;
- Always suppress history for the action that sends the proxy settings;
- Renamed some of the new classes;
- Also refactored the actions that send data to the HealthCheck service.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
2c37367155
CP-22472: Add new XenCenter metadata file to the server status report
...
- this adds the telemetry file to the server status report produced in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Gabor Apati-Nagy
597762b884
CA-255547: WLB code in XenCenter: Remove all code targetting <= 6.1 XenServers
...
Removed code that is no longer needed. Also removed an obsolete unit test.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-12 16:49:37 +01:00
Konstantina Chremmou
af647fbf52
Merge pull request #1608 from MihaelaStoica/removeVMPP
...
Remove vmpp
2017-05-31 08:43:12 +01:00