From 01fa5e7a0b65a15f16be7f44239812c0265b3a25 Mon Sep 17 00:00:00 2001 From: Daniel Ehlers Date: Sun, 9 Feb 2014 15:27:09 +0100 Subject: [PATCH] nodedb.py: Transport new data to node entry --- nodedb.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nodedb.py b/nodedb.py index 65e4d5e..7d3aa24 100644 --- a/nodedb.py +++ b/nodedb.py @@ -188,6 +188,21 @@ class NodeDB: if 'firmware' in alias: node.firmware = alias['firmware'] + if 'firmware-base' in alias: + node.firmware-base = alias['firmware-base'] + + if 'hardware-model' in alias: + node.hardware-model = alias['hardware-model'] + + if 'selected-gateway' in alias: + node.selected-gateway = alias['selected-gateway'] + + if 'autoupdater-branch' in alias: + node.autoupdater-branch = alias['autoupdater-branch'] + + if 'autoupdater-enabled' in alias: + node.autoupdater-branch = alias['autoupdater-enabled'] + # list of macs # if options['gateway']: # mark_gateways(options['gateway'])