mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 23:45:17 -05:00
Updates
This commit is contained in:
parent
3d7b372b13
commit
2ae84b8fe8
@ -170,10 +170,8 @@ def build_hblink_table(_config, _stats_table):
|
||||
return(_stats_table)
|
||||
|
||||
def update_hblink_table(_config, _stats_table):
|
||||
|
||||
pprint(_config)
|
||||
print
|
||||
pprint(_stats_table)
|
||||
pass
|
||||
'''
|
||||
for _hbp, _hbp_data in _config.iteritems():
|
||||
_stats_peers = _stats_table['MASTERS'][_hbp]['PEERS']
|
||||
|
||||
@ -208,7 +206,7 @@ def update_hblink_table(_config, _stats_table):
|
||||
|
||||
# delte anything identified from the right part of the stats table
|
||||
delete_peers(peers_to_delete, _stats_table[_ipsc]['PEERS'])
|
||||
|
||||
'''
|
||||
#
|
||||
# CONFBRIDGE TABLE FUNCTIONS
|
||||
#
|
||||
@ -309,7 +307,7 @@ def process_message(_message):
|
||||
logging.debug('got CONFIG_SND opcode')
|
||||
CONFIG = load_dictionary(_message)
|
||||
CONFIG_RX = strftime('%Y-%m-%d %H:%M:%S', localtime(time()))
|
||||
if CTABLE:
|
||||
if False: #CTABLE:
|
||||
update_hblink_table(CONFIG, CTABLE)
|
||||
else:
|
||||
build_hblink_table(CONFIG, CTABLE)
|
||||
|
Loading…
Reference in New Issue
Block a user