cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [44/50] [abbrv] git commit: updated refs/heads/reporter to 178a938
Date Wed, 04 Mar 2015 10:06:28 GMT
CLOUDSTACK-8296 VMs cannot be migrated with XenMotion as network is not available.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/736c7d76
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/736c7d76
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/736c7d76

Branch: refs/heads/reporter
Commit: 736c7d7668796af96f223a2c6cd82aac6789a2ee
Parents: 58c5850
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Mon Mar 2 11:22:49 2015 +0530
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Tue Mar 3 13:14:04 2015 +0530

----------------------------------------------------------------------
 .../hypervisor/xenserver/resource/XenServer610Resource.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/736c7d76/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer610Resource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer610Resource.java
b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer610Resource.java
index 5e3f95c..2283477 100644
--- a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer610Resource.java
+++ b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer610Resource.java
@@ -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();


Mime
View raw message