summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-07-20 18:17:54 +0000
committerGerrit Code Review <review@openstack.org>2012-07-20 18:17:54 +0000
commit05febcde0e14fa71095cfb8f174f517193e42cc2 (patch)
tree841fe5929764d3d190f77e19315fa7e4dac8058d /nova
parentbeb15b5e76312d9100b84d5a80af7ce2e1f57c9b (diff)
parent212045e4c87aee81fde82dd4887d321cb511d717 (diff)
Merge "Improved VM detection for bandwidth polling (XAPI)"
Diffstat (limited to 'nova')
-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 95999584c..8eef23dd5 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -1149,7 +1149,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():