summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-06-21 11:39:55 +0100
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-06-21 11:39:55 +0100
commit35e922a2db9b45314108b35e438e9229bea4b977 (patch)
tree3588745ffc60fc1224f573fdb76238ed446bbeac /nova
parent260af1f3edb7993a6b6374563ef2b46c7fa700df (diff)
fix comment line
Diffstat (limited to 'nova')
-rw-r--r--nova/network/xenapi_net.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/network/xenapi_net.py b/nova/network/xenapi_net.py
index 7976a7265..af295a4f8 100644
--- a/nova/network/xenapi_net.py
+++ b/nova/network/xenapi_net.py
@@ -56,8 +56,8 @@ def ensure_vlan_bridge(vlan_num, bridge, net_attrs=None):
'other_config': {}}
network_ref = session.call_xenapi('network.create', network_rec)
# 2 - find PIF for VLAN
- # Note using double quotes inside single quotes as xapi filter
- # only support tokens in double quotes
+ # NOTE(salvatore-orlando): using double quotes inside single quotes
+ # as xapi filter only support tokens in double quotes
expr = 'field "device" = "%s" and \
field "VLAN" = "-1"' % FLAGS.vlan_interface
pifs = session.call_xenapi('PIF.get_all_records_where', expr)