def run(poller, conf): ''' Start the negotiate server ''' NEGOTIATE_SERVER.register_module('speedtest', NEGOTIATE_SERVER_SPEEDTEST) NEGOTIATE_SERVER.register_module('bittorrent', NEGOTIATE_SERVER_BITTORRENT) HTTP_SERVER.register_child(NEGOTIATE_SERVER, '/negotiate/') HTTP_SERVER.register_child(NEGOTIATE_SERVER, '/collect/') CONFIG.register_descriptions({ 'negotiate.parallelism': 'Number of parallel tests', 'negotiate.min_thresh': 'Minimum trehshold for RED', 'negotiate.max_thresh': 'Maximum trehshold for RED', })
def run(poller, conf): """ Start the negotiate server """ NEGOTIATE_SERVER.register_module("speedtest", NEGOTIATE_SERVER_SPEEDTEST) NEGOTIATE_SERVER.register_module("bittorrent", NEGOTIATE_SERVER_BITTORRENT) NEGOTIATE_SERVER.register_module("raw", NEGOTIATE_SERVER_RAW) NEGOTIATE_SERVER.register_module("skype", NEGOTIATE_SERVER_SKYPE) HTTP_SERVER.register_child(NEGOTIATE_SERVER, "/negotiate/") HTTP_SERVER.register_child(NEGOTIATE_SERVER, "/collect/") CONFIG.register_descriptions( { "negotiate.parallelism": "Number of parallel tests", "negotiate.min_thresh": "Minimum trehshold for RED", "negotiate.max_thresh": "Maximum trehshold for RED", } )