def _get_config(self):
     port = base.get_free_port()
     self.url = "http://localhost:%s" % port
     conf = {
             "service": {
                 "name": "status",
                 "module": "rallyci.services.status",
                 "listen": ["localhost", port],
             }
     }
     return [[conf], [port]]
 def _get_config(self):
     port = base.get_free_port()
     self.url = "http://localhost:%s/" % port
     conf = {
         "provider": {
             "name": "virsh",
             "module": "rallyci.providers.virsh",
             "nodes": [],
             "hosts": [],
             "metadata_server": {"listen_addr": "localhost", "listen_port": port, "user_data": "userdata"},
         }
     }
     return ([conf], (port,))