To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit acc3fabd authored by Reto Da Forno's avatar Reto Da Forno
Browse files

add default cpu speed to serialconf

parent 13a1ecce
......@@ -513,7 +513,9 @@ def start_test(testid, cur, cn, obsdict_key, obsdict_id):
cpuspeed = srconf.xpath('d:cpuSpeed', namespaces=ns)
if cpuspeed:
cpuspeed = cpuspeed[0].text.strip()
xmlblock += "\t<cpuSpeed>%s</cpuSpeed>\n" % cpuspeed
else:
cpuSpeed = flocklab.config.get("observer", "datatrace_cpuspeed") # use default CPU speed
xmlblock += "\t<cpuSpeed>%s</cpuSpeed>\n" % cpuspeed
xmlblock += "</obsSerialConf>\n\n"
for obsid in obsids:
obsid = int(obsid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment