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 f6e879b5 authored by Reto Da Forno's avatar Reto Da Forno

cleaner now marks nodes as online/offline in the database, and minor fix in test_to_linkmap

parent de6a2b8a
......@@ -124,7 +124,11 @@ def TestToLinkmap(testid=None, cn=None, cur=None):
# nx_uint16_t num_messages;
# nx_uint16_t sender_id;
# nx_uint16_t num_received;
packet = bytes.fromhex(packetinfo[4])
try:
packet = bytes.fromhex(packetinfo[4])
except ValueError:
logger.debug("Non-hex value found in serial packet (skipped)")
continue
data = unpack(">7xB%dx" % (len(packet) - 8), packet)
if data[0] == 7:
# link measurement
......
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