def list_cache_nodes_full(opts=None, provider=None, base=None):
 if (opts is None):
  opts = __opts__
 if (opts.get('update_cachedir', False) is False):
  return
 if (base is None):
  base = os.path.join(opts['cachedir'], 'active')
 minions = {}
 for driver in os.listdir(base):
  minions[driver] = {}
  prov_dir = os.path.join(base, driver)
  for prov in os.listdir(prov_dir):
   if (provider and (provider != prov)):
    continue
   minions[driver][prov] = {}
   min_dir = os.path.join(prov_dir, prov)
   for fname in os.listdir(min_dir):
    fpath = os.path.join(min_dir, fname)
    minion_id = fname[:(-2)]
    with salt.utils.fopen(fpath, 'r') as fh_:
     minions[driver][prov][minion_id] = msgpack.load(fh_)
 return minions

def list_cache_nodes_full ( opts = None , provider = None , base = None ) : if ( opts is None ) : opts = __opts__ if ( opts . get ( 'update_cachedir' , False ) is False ) : return if ( base is None ) : base = os . path . join ( opts [ 'cachedir' ] , 'active' ) minions = { } for driver in os . listdir ( base ) : minions [ driver ] = { } prov_dir = os . path . join ( base , driver ) for prov in os . listdir ( prov_dir ) : if ( provider and ( provider != prov ) ) : continue minions [ driver ] [ prov ] = { } min_dir = os . path . join ( prov_dir , prov ) for fname in os . listdir ( min_dir ) : fpath = os . path . join ( min_dir , fname ) minion_id = fname [ : ( - 2 ) ] with salt . utils . fopen ( fpath , 'r' ) as fh_ : minions [ driver ] [ prov ] [ minion_id ] = msgpack . load ( fh_ ) return minions
return a list of minion data from the cloud cache .