xenadmin/XenModel/Actions/VMSS
Mihaela Stoica c061b0f57d CA-257574: Manage vApps dialog is unusable with a vApp containing a l… (#1664)
* CA-257574: Manage vApps dialog is unusable with a vApp containing a large number of VMs

- In the VMAppliancesDialog, change event handlers to reduce the number of refreshes when something changes: only reload the appliances when the VM_appliance collection change; if a relevant property is changed (in VM_appliance or VM), then update only the affected rows.
- Improve the way we assign VMs to a group (AssignVMsToVMApplianceAction and AssignVMsToPolicyAction): only update the VMs that really changed.
- Also improve the way we update the VM startup options and HA restart priorities on a set of VMs

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

* CA-257574: Manage vApps dialog is unusable with a vApp containing a large number of VMs: changes following code review

- reverted the changes to the AssignVMsToGroup actions that added the additional constructor
- changed the AssignVMsToGroup actions to calculate the set difference between two lists more efficiently
- added code to deregister PropertyChanged events on VM_appliances
- removed getCurrentSettings() method as it is not needed, GetChangedSettings can be used in all cases

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-27 17:32:46 +01:00
..
AssignVMsToPolicyAction.cs CA-257574: Manage vApps dialog is unusable with a vApp containing a l… (#1664) 2017-06-27 17:32:46 +01:00
ChangePolicyEnabledAction.cs CA-242134: Remove the VMPP code: move actions into the VMSS folder 2017-05-30 15:17:20 +01:00
CreateVMPolicy.cs CA-242134: Remove the VMPP code: move actions into the VMSS folder 2017-05-30 15:17:20 +01:00
DestroyPolicyAction.cs CA-242134: Remove the VMPP code: move actions into the VMSS folder 2017-05-30 15:17:20 +01:00
GetVMSSAlertsAction.cs Fixing copyright check failures at build time 2017-01-25 14:11:24 +05:30
RunPolicyNowAction.cs CA-242134: Remove the VMPP code: move actions into the VMSS folder 2017-05-30 15:17:20 +01:00