nodedb.py: Transport new data to node entry

alfred-data
Daniel Ehlers 2014-02-09 15:27:09 +01:00
parent 02a2862ca9
commit 01fa5e7a0b
1 changed files with 15 additions and 0 deletions

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