mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-02-03 09:44:14 -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)
|
return(_stats_table)
|
||||||
|
|
||||||
def update_hblink_table(_config, _stats_table):
|
def update_hblink_table(_config, _stats_table):
|
||||||
|
pass
|
||||||
pprint(_config)
|
'''
|
||||||
print
|
|
||||||
pprint(_stats_table)
|
|
||||||
for _hbp, _hbp_data in _config.iteritems():
|
for _hbp, _hbp_data in _config.iteritems():
|
||||||
_stats_peers = _stats_table['MASTERS'][_hbp]['PEERS']
|
_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
|
# delte anything identified from the right part of the stats table
|
||||||
delete_peers(peers_to_delete, _stats_table[_ipsc]['PEERS'])
|
delete_peers(peers_to_delete, _stats_table[_ipsc]['PEERS'])
|
||||||
|
'''
|
||||||
#
|
#
|
||||||
# CONFBRIDGE TABLE FUNCTIONS
|
# CONFBRIDGE TABLE FUNCTIONS
|
||||||
#
|
#
|
||||||
@ -309,7 +307,7 @@ def process_message(_message):
|
|||||||
logging.debug('got CONFIG_SND opcode')
|
logging.debug('got CONFIG_SND opcode')
|
||||||
CONFIG = load_dictionary(_message)
|
CONFIG = load_dictionary(_message)
|
||||||
CONFIG_RX = strftime('%Y-%m-%d %H:%M:%S', localtime(time()))
|
CONFIG_RX = strftime('%Y-%m-%d %H:%M:%S', localtime(time()))
|
||||||
if CTABLE:
|
if False: #CTABLE:
|
||||||
update_hblink_table(CONFIG, CTABLE)
|
update_hblink_table(CONFIG, CTABLE)
|
||||||
else:
|
else:
|
||||||
build_hblink_table(CONFIG, CTABLE)
|
build_hblink_table(CONFIG, CTABLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user