mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-289335: If there is no other network available, pick the management network for the migration of VDIs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
14aa3f3f5d
commit
57ab2ced2b
@ -31,6 +31,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using XenAdmin.Controls;
|
||||
using System.Linq;
|
||||
using XenAPI;
|
||||
|
||||
namespace XenAdmin.Wizards.CrossPoolMigrateWizard
|
||||
@ -93,6 +94,9 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard
|
||||
public override void PopulatePage()
|
||||
{
|
||||
networkComboBox.PopulateComboBox(Connection, item => !item.IsManagement);
|
||||
|
||||
if (networkComboBox.SelectedItem == null)
|
||||
networkComboBox.SelectedItem = networkComboBox.Items.Cast<NetworkComboBoxItem>().FirstOrDefault(item => item.IsManagement);
|
||||
}
|
||||
|
||||
public KeyValuePair<string, string> NetworkUuid
|
||||
|
Loading…
Reference in New Issue
Block a user