#NEWLINE# def _relocate_vmdk_volume( self , volume_ref , res_pool , datastore , host = None ) : #NEWLINE# #INDENT# 'Relocate the volume.\n\n        The move type will be moveAllDiskBackingsAndAllowSharing.\n        ' #NEWLINE# client_factory = self . _session . vim . client . factory #NEWLINE# spec = vm_util . relocate_vm_spec ( client_factory , datastore = datastore , host = host ) #NEWLINE# spec . pool = res_pool #NEWLINE# task = self . _session . _call_method ( self . _session . vim , 'RelocateVM_Task' , volume_ref , spec = spec ) #NEWLINE# self . _session . _wait_for_task ( task )