Updated main and Board class.
Change-Id: I96162d76ea0a6539257fed2f8a98e40336b2b9aa
This commit is contained in:
parent
fff6bfec91
commit
66a4414945
|
@ -5,10 +5,6 @@ Iotronic Lightning-rod Agent
|
|||
Python implementation of Lightning-rod Agent,
|
||||
the Stack4Things (http://stack4things.unime.it/) board-side probe.
|
||||
|
||||
Please fill here a long description which must be at least 3 lines wrapped on
|
||||
80 cols, so that distribution package maintainers can use it in their packages.
|
||||
Note that this is a hard requirement.
|
||||
|
||||
* Free software: Apache license
|
||||
* Documentation: http://docs.openstack.org/developer/iotronic_lightningrod
|
||||
* Source: https://github.com/openstack/iotronic-lightning-rod
|
||||
|
|
|
@ -51,7 +51,7 @@ status(){
|
|||
fi
|
||||
|
||||
}
|
||||
file:///home/webwolf/Scrivania/Stack4Things/test_ipk/s4t-lr
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
|
|
|
@ -102,7 +102,9 @@ class Board(object):
|
|||
self.getWampAgent(self.iotronic_config)
|
||||
|
||||
except Exception as err:
|
||||
LOG.warning("settings.json file exception: " + str(err))
|
||||
if str(err) != 'uuid':
|
||||
LOG.warning("settings.json file exception: " + str(err))
|
||||
|
||||
# STATUS REGISTERED
|
||||
try:
|
||||
self.code = board_config['code']
|
||||
|
@ -118,6 +120,7 @@ class Board(object):
|
|||
|
||||
'''
|
||||
try:
|
||||
|
||||
self.wamp_config = config['iotronic']['wamp']['main-agent']
|
||||
LOG.info('WAMP Agent settings:')
|
||||
|
||||
|
|
Loading…
Reference in New Issue