code: def _list_nodes(call=None):
      '''
      List the nodes, ask all 'vagrant' minions, return dict of grains.
      '''
      local = salt.client.LocalClient()
      ret = local.cmd('salt-cloud:driver:vagrant', 'grains.items', '', tgt_type='grain')
      return ref _list_nodes(call=None):
      '''
      List the nodes, ask all 'vagrant' minions, return dict of grains.
      '''
      local = salt.client.LocalClient()
      ret = local.cmd('salt-cloud:driver:vagrant', 'grains.items', '', tgt_type='grain')
      return ret
docs: List the nodes, ask all 'vagrant' minions, return dict of grains.