HBlink Status Tables   {% for _master in _table['MASTERS'] %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].iteritems() %} {% endfor %} {% endfor %}
Homebrew Protocol
Master Systems
ID/Callsign/Location
Port/Time Connected
Frequency CC
LinkedTS
Slot Call
Type
Source
Subscriber
Destination
{{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}
{{ _client }}, {{ _cdata['CALLSIGN'] }}, {{ _cdata['LOCATION'] }}
{{ _cdata['IP'] }} src port: {{ _cdata['PORT'] }} / connected since {{ _cdata['CONNECTED'] }}
{{ _cdata['RX_FREQ'] }}
{{ _cdata['TX_FREQ'] }}
CC: {{ _cdata['COLORCODE'] }}
{{ _cdata['SLOTS'] }}
TS1 {{ _cdata[1]['TYPE'] }} {{ _cdata[1]['SUB'] }} {{ _cdata[1]['DEST'] }}
TS2 {{ _cdata[2]['TYPE'] }} {{ _cdata[2]['SUB'] }} {{ _cdata[2]['DEST'] }}

{% for _peer, _pdata in _table['PEERS'].iteritems() %} {% endfor %}
Homebrew Protocol
Peer Systems
ID/Callsign/Location
Master IP:Port
Connected
TX/RX/Lost
LinkedTS Slot Call
Type
Source
Subscriber
Destination
{{ _peer}} {{ _table['PEERS'][_peer]['RADIO_ID'] }}, {{_table['PEERS'][_peer]['CALLSIGN']}}, {{_table['PEERS'][_peer]['LOCATION']}}
Master: {{ _table['PEERS'][_peer]['MASTER_IP'] }}:{{ _table['PEERS'][_peer]['MASTER_PORT'] }}
{{ _table['PEERS'][_peer]['STATS']['CONNECTED'] }}
{{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] - _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }}
{{ _table['PEERS'][_peer]['SLOTS'] }} TS1 {{ _pdata[1]['TYPE'] }} {{ _pdata[1]['SUB'] }} {{ _pdata[1]['DEST'] }}
TS2 {{ _pdata[2]['TYPE'] }} {{ _pdata[2]['SUB'] }} {{ _pdata[2]['DEST'] }}

{% for _openbridge in _table['OPENBRIDGES'] %} {% endfor %}
OpenBridge Systems Network ID
Target Port
Active Calls
{{ _openbridge}} {{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}
Port: {{ _table['OPENBRIDGES'][_openbridge]['TARGET_PORT'] }}
{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} | {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %}