summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index 4805ccaf7..40ef3f9b1 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -1148,7 +1148,7 @@ class VMOps(object):
for vrec in vm_rec['VIFs']]:
vif_map[vif['device']] = vif['MAC']
name = vm_rec['name_label']
- if vm_rec["is_a_template"] or vm_rec["is_control_domain"]:
+ if 'nova_uuid' not in vm_rec['other_config']:
continue
vifs_bw = bw.setdefault(name, {})
for key, val in data.iteritems():