code: def setup(self):
          
          options = ""
          if self.get_option("port"):
              options = (options + " -b " + gethostname() +
                         ":%s" % (self.get_option("port")))
          # gethostname() is due to DISPATCH-156
  
          # for either present option, add --option=value to 'options' variable
          for option in ["ssl-certificate", "ssl-key", "ssl-trustfile"]:
              if self.get_option(option):
                  options = (options + " --%s=" % (option) +
                             self.get_option(option))
  
          self.add_cmd_output([
              "qdstat -a" + options,  # Show Router Addresses
              "qdstat -n" + options,  # Show Router Nodes
              "qdstat -c" + options,  # Show Connections
              "qdstat -m" + options   # Show Broker Memory Stats
          ])
  
          self.add_copy_spec([
              "/etc/qpid-dispatch/qdrouterd.conf"
          ])
docs: performs data collection for qpid dispatch router