def upgrade_tools(name, reboot=False, call=None):
 if (call != 'action'):
  raise SaltCloudSystemExit('The upgrade_tools action must be called with -a or --action.')
 vm_ref = salt.utils.vmware.get_mor_by_property(_get_si(), vim.VirtualMachine, name)
 return _upg_tools_helper(vm_ref, reboot)

def upgrade_tools ( name , reboot = False , call = None ) : if ( call != 'action' ) : raise SaltCloudSystemExit ( 'The upgrade_tools action must be called with -a or --action.' ) vm_ref = salt . utils . vmware . get_mor_by_property ( _get_si ( ) , vim . VirtualMachine , name ) return _upg_tools_helper ( vm_ref , reboot )
to upgrade vmware tools on a specified virtual machine .