summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-03-18 17:22:13 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-03-18 17:22:13 -0500
commitac66fde6d787742e9d5d6af9ebfe3302d9375073 (patch)
tree1686e8bae14e7c642d1c5e2130e4d65e8a7bb025
parentb05bdeaf77ccb91ac59b4a2dde4a6cad94eb22b2 (diff)
downloadnova-ac66fde6d787742e9d5d6af9ebfe3302d9375073.tar.gz
nova-ac66fde6d787742e9d5d6af9ebfe3302d9375073.tar.xz
nova-ac66fde6d787742e9d5d6af9ebfe3302d9375073.zip
comment more descriptive
-rw-r--r--nova/virt/xenapi/vmops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index 6542630c1..cfd74e5de 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -734,7 +734,7 @@ class VMOps(object):
"""
logging.debug(_("injecting network info to xs for vm: |%s|"), vm_ref)
- # make sure we have a vm opaque ref (raises otherwise)
+ # this function raises if vm_ref is not a vm_opaque_ref
self._session.get_xenapi().VM.get_record(vm_ref)
for (network, info) in network_info:
@@ -754,7 +754,7 @@ class VMOps(object):
"""Creates vifs for an instance"""
logging.debug(_("creating vif(s) for vm: |%s|"), vm_ref)
- # make sure we have a vm opaque ref (raises otherwise)
+ # this function raises if vm_ref is not a vm_opaque_ref
self._session.get_xenapi().VM.get_record(vm_ref)
device = 0