Commit Graph

4503 Commits

Author SHA1 Message Date
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
Mihaela Stoica
3f40ccdd8c Merge pull request #1765 from jijiang/REQ-67
CP-24344: Fix the REQ-67 build failure
2017-09-18 09:56:34 +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
Mihaela Stoica
2cb3f99c7f Merge pull request #1758 from jijiang/REQ-67
CA-265029: Disable "Move VM" on CBT enabled VM
2017-09-14 09:35:08 +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
Mihaela Stoica
9ccbf35224 Merge pull request #1759 from kc284/tests
Updated tests to reflect conversion of xenobject properties to methods.
2017-09-13 17:13:24 +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
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
Mihaela Stoica
cb3da7eb07 Merge pull request #1749 from kc284/methods
REQ-420 Preliminary refactoring Pt2
2017-09-11 17:05:53 +01:00
Mihaela Stoica
ad85737f72 Merge pull request #1754 from jijiang/REQ-67
CP-24344 & CP-24343: Add CBT in XC
2017-09-11 14:48:12 +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
Mihaela Stoica
4e32f0efe3 Merge pull request #1755 from kc284/master
CA-265044: Updated test.
2017-09-11 13:53:16 +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
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
Gabor Apati-Nagy
e92d3df839 Merge pull request #1752 from kc284/master
CA-265044: Text corrections on the New VMSS Schedule wizard; image co…
2017-09-08 18:00:03 +01:00
Ji Jiang
0286840728 CP-24343: Display CBT status per VDI in SR storage
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-08 16:44:38 +01:00
Gabor Apati-Nagy
a652e4ea26 Merge pull request #1753 from MihaelaStoica/master
CA-265172: Ensure that the "disk space requirement" precheck is perfo…
2017-09-08 14:39:36 +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
Mihaela Stoica
4274bf28fb CA-265172: Ensure that the "disk space requirement" precheck is performed for a standalone host in automated updates mode
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-07 14:29:39 +01:00
Konstantina Chremmou
4fba904d06 CA-265044: Moved the chevron button immediately below the info icon, so it
does not jump to the bottom of the page when the run history panel is expanded.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 13:10:37 +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
Konstantina Chremmou
1f2b550f4d Renamed controls and moved about methods in view of merging the run history controls into this dialog.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-06 13:22:29 +01:00
Konstantina Chremmou
9ce11ddf55 Renamed controls and placed them on a panel in view of merging them into the ScheduledSnapshotsDialog.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-06 13:15:47 +01:00
Mihaela Stoica
7d47b421f3 Merge pull request #1751 from GaborApatiNagy/master_CA-263044
CA-263044: [XSO-765] Install Update fails because it tries to install the hotfix to one pool twice
2017-09-06 09:43:09 +01:00
Gabor Apati-Nagy
5ef13705a5 CA-263044: [XSO-765] Install Update fails because it tries to install the hotfix to one pool twice
Fixed a bug that caused XenCenter to try to apply an update (that the user manually selected) multiple times and therefore failed. This was only present when the Select All button was used.
2017-09-05 18:38:20 +01:00
Mihaela Stoica
61cd4d3146 Merge pull request #1750 from jijiang/master
CP-24348: Update XenAPI based on XS master branch
2017-09-05 13:44:32 +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
Mihaela Stoica
1425509c25 Merge pull request #1748 from kc284/methods
REQ-420: Preliminary refactoring
2017-09-04 15:45:12 +01:00
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
4825b60a60 Moved UI logic from the VM extensions to the SnapshotsPage.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
85d398d067 Moved the SR.GetIcon() method to XenAdmin where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
880d56b30f Renamed method so it's more obvious what it does.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Gabor Apati-Nagy
10cdebe8c0 Merge pull request #1745 from MihaelaStoica/REQ-411
CP-24213: Show CUs as updates
2017-09-01 20:20:18 +01:00
Mihaela Stoica
dc2968b3d4 CP-24215: Add null checks when we log the minimal patches
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-01 15:34:58 +01:00
Mihaela Stoica
8cb51b974a Merge pull request #1747 from MihaelaStoica/REQ-411-u
Restore file that was accidentally removed in the previous merge
2017-09-01 13:31:19 +01:00
Mihaela Stoica
fad125eabc Restore a file that was accidentally removed in the previous merge
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-01 13:18:15 +01:00
Mihaela Stoica
6a2f77c9f6 CA-264439: Change the XenCenter version check to return just a warning in the RPU wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-31 09:51:20 +01:00
Ji Jiang
d478115ec6 CA-248292: Fix btn truncation in VM storage page
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-08-30 13:38:53 +01:00
Mihaela Stoica
69007dbaec CP-24213: Some fixes in the Patching wizard
- Change the "Web page" column alignment to TopLeft, to match the other columns
- When trying to find an alert from a filename, use the patch name instead of the alert name, because now the alert name can also be a version name

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-30 09:31:05 +01:00
Mihaela Stoica
85d57f558f CP-24215: If the Automated Updates mode goes to a new version, also apply this version's minimum patches
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-29 17:00:58 +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
7035fd17d0 Merge pull request #1743 from MihaelaStoica/REQ-411
Merge branch 'master' into REQ-411
2017-08-24 11:54:58 +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