code: def ext_pillar(minion_id,
                 pillar,  # pylint: disable=W0613
                 conf):
      '''
      Check neutron for all data
      '''
      comps = conf.split()
  
      profile = None
      if comps[0]:
          profile = comps[0]
  
      conn = _auth(profile)
      ret = {}
      networks = conn.list_networks()
      for network in networks['networks']:
          ret[network['name']] = network
  
      if len(comps) < 2:
          comps.append('networks')
      return {comps[1]: retf ext_pillar(minion_id,
                 pillar,  # pylint: disable=W0613
                 conf):
      '''
      Check neutron for all data
      '''
      comps = conf.split()
  
      profile = None
      if comps[0]:
          profile = comps[0]
  
      conn = _auth(profile)
      ret = {}
      networks = conn.list_networks()
      for network in networks['networks']:
          ret[network['name']] = network
  
      if len(comps) < 2:
          comps.append('networks')
      return {comps[1]: ret}
docs: Check neutron for all data