nodedb.py: Transport new data to node entry

This commit is contained in:
Daniel Ehlers 2014-02-09 15:27:09 +01:00
parent 02a2862ca9
commit 01fa5e7a0b

View file

@ -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'])