X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sliver_libvirt.py;h=8189b192c7f67ae6d96c6db6f77d0c1d364b3e4a;hb=e57432c1dfdfeaa52cc32799e2abbc34b7704ce9;hp=5407cdc41249ab2aeda55e67ec4f427d9cebee46;hpb=a6d570bf946593e0f0c428da5e3e99a903b51474;p=nodemanager.git diff --git a/sliver_libvirt.py b/sliver_libvirt.py index 5407cdc..8189b19 100644 --- a/sliver_libvirt.py +++ b/sliver_libvirt.py @@ -114,13 +114,14 @@ class Sliver_Libvirt(Account): logger.log_call(command) def start(self, delay=0): - ''' Just start the sliver ''' + '''Just start the sliver''' logger.verbose('sliver_libvirt: %s start'%(self.name)) # Check if it's running to avoid throwing an exception if the - # domain was already running, create actually means start + # domain was already running if not self.is_running(): try: + # create actually means start self.dom.create() except Exception, e: # XXX smbaker: attempt to resolve slivers that are stuck in