mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8296 VMs cannot be migrated with XenMotion as network is not available.
(cherry picked from commit 736c7d7668)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c8e6fbb812
commit
8069b17250
|
|
@ -132,6 +132,12 @@ public class XenServer610Resource extends XenServer600Resource {
|
|||
|
||||
try {
|
||||
prepareISO(connection, vmSpec.getName());
|
||||
|
||||
// Get the list of networks and recreate VLAN, if required.
|
||||
for (NicTO nicTo : vmSpec.getNics()) {
|
||||
getNetwork(connection, nicTo);
|
||||
}
|
||||
|
||||
Map<String, String> other = new HashMap<String, String>();
|
||||
other.put("live", "true");
|
||||
Network networkForSm = getNativeNetworkForTraffic(connection, TrafficType.Storage, null).getNetwork();
|
||||
|
|
|
|||
Loading…
Reference in New Issue