code: def do_list_queue(self, line):
          
  
          def f(p, args):
              o = p.get()
              if o.resources.queue:
                  for q in o.resources.queue:
                      print('%s %s' % (q.resource_id, q.port))
  
          self._request(line, f)
docs: list_queue <peer>