blob: 3ca4237b4dafedd4740bea8acd8ecf8777935235 [file] [log] [blame]
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<script src="static/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="static/craft.css">
<link rel=icon href=static/favicon.ico>
<link rel=stylesheet href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;lang=en">
<link rel=stylesheet href=static/default.css>
</head>
<body>
<header>
<section>
<h1><img src=static/logo.png alt="Google Fiber"></h1>
<nav>
<ul>
<li class=active><a href=/>GFCH100</a></li>
<li ><a href=/config>Configuration</a></li>
<li ><a href={{ peerurl }} target=_blank>Peer</a></li>
</ul>
</nav>
</section>
</header>
<br>
<div class="tabs">
<div class="tab">
<input type="radio" id="tab-1" name="tab-group-1" checked>
<label for="tab-1">Platform</label>
<div class="content">
<b>Serial Number:</b><span class="values" id="platform/serialno">...</span><br>
<b>Platform:</b><span class="values" id="platform/platform">...</span><br>
<b>Software Version:</b><span class="values" id="platform/version">...</span><br>
<b>Software Date:</b><span class="values" id="platform/softwaredate">...</span><br>
<b>Uptime:</b><span class="values" id="platform/uptime">...</span><br>
<b>Status:</b><span class="values" id="platform/ledstate">...</span><br>
</div>
</div>
<div class="tab">
<input type="radio" id="tab-2" name="tab-group-1">
<label for="tab-2">Network</label>
<div class="content">
<b>Peer is up:</b><span class="values" id="platform/peer_up">...</span><br>
<b>IP Addresses:</b>
<table>
<tr>
<td align=center><b>Port</b></td>
<td align=center><b>MAC</b></td>
<td align=center><b>VLAN</b></td>
<td align=center><b>IPv4</b></td>
<td align=center><b>IPv6</b></td></tr>
<tr>
<td><b>Craft</b></td>
<td align=right><span id="platform/craft_mac">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/active_craft_inet">...</span></td>
<td align=right><span id="platform/active_craft_inet6">...</span></td></tr>
<tr>
<td><b>In-Band</b></td>
<td align=right><span id="platform/bridge_mac">...</span></td>
<td align=right><span id="platform/active_inband_vlan">...</span></td>
<td align=right><span id="platform/active_bridge_inet">...</span></td>
<td align=right><span id="platform/active_bridge_inet6">...</span></td></tr>
<tr>
<td><b>Out-of-Band (PoE)</b></td>
<td align=right><span id="platform/ooband_mac">...</span></td>
<td align=right><span id="platform/active_ooband_vlan">...</span></td>
<td align=right><span id="platform/active_ooband_inet">...</span></td>
<td align=right><span id="platform/active_ooband_inet6">...</span></td></tr>
<tr>
<td><b>Link (to peer)</b></td>
<td align=right><span id="platform/link_mac">...</span></td>
<td align=right><span id="platform/active_link_vlan">...</span></td>
<td align=right><span id="platform/active_link_inet">...</span></td>
<td align=right><span id="platform/active_link_inet6">...</span></td></tr>
</table>
<b>Packet Counters:</b>
<table>
<tr>
<td><b></b></td>
<td colspan=5 align=center><b>received</b></td>
<td colspan=5 align=center><b>transmitted</b></td>
<td colspan=9 align=center><b>errors</b></td></tr>
<tr>
<td align=center><b>interface</b></td>
<td align=center><b>bytes</b></td>
<td align=center><b>frames</b></td>
<td align=center><b>multicast</b></td>
<td align=center><b>broadcast</b></td>
<td align=center><b>unicast</b></td>
<td align=center><b>bytes</b></td>
<td align=center><b>frames</b></td>
<td align=center><b>multicast</b></td>
<td align=center><b>broadcast</b></td>
<td align=center><b>unicast</b></td>
<td align=center><b>rx errors</b></td>
<td align=center><b>rx dropped</b></td>
<td align=center><b>rx CRC</b></td>
<td align=center><b>rx Undersize</b></td>
<td align=center><b>tx errors</b></td>
<td align=center><b>tx dropped</b></td>
<td align=center><b>tx CRC</b></td>
<td align=center><b>tx Undersize</b></td>
<td align=center><b>collisions</b></td>
<tr>
<td><b>Modem (from/to switch)<b></td>
<td align=right><span id="modem/network/rxCounters/bytes">...</span></td>
<td align=right><span id="modem/network/rxCounters/frames">...</span></td>
<td align=right><span id="modem/network/rxCounters/multicast">...</span></td>
<td align=right><span id="modem/network/rxCounters/broadcast">...</span></td>
<td align=right><span id="modem/network/rxCounters/unicast">...</span></td>
<td align=right><span id="modem/network/txCounters/bytes">...</span></td>
<td align=right><span id="modem/network/txCounters/frames">...</span></td>
<td align=right><span id="modem/network/txCounters/multicast">...</span></td>
<td align=right><span id="modem/network/txCounters/broadcast">...</span></td>
<td align=right><span id="modem/network/txCounters/unicast">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="modem/network/rxCounters/crcErrors">...</span></td>
<td align=right><span id="modem/network/rxCounters/framesUndersized">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="modem/network/txCounters/crcErrors">...</span></td>
<td align=right><span id="modem/network/txCounters/framesUndersized">...</span></td>
<td align=right>-</td></tr>
<tr>
<td><b>Craft<b></td>
<td align=right><span id="platform/craft_rx_bytes">...</span></td>
<td align=right><span id="platform/craft_rx_packets">...</span></td>
<td align=right><span id="platform/craft_multicast">...</span></td>
<td align=right><span id="platform/craft_broadcast">...</span></td>
<td align=right><span id="platform/craft_unicast">...</span></td>
<td align=right><span id="platform/craft_tx_bytes">...</span></td>
<td align=right><span id="platform/craft_tx_packets">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/craft_rx_errors">...</span></td>
<td align=right><span id="platform/craft_rx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/craft_tx_errors">...</span></td>
<td align=right><span id="platform/craft_tx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/craft_collisions">...</span></td>
<tr>
<td><b>In-Band<b></td>
<td align=right><span id="platform/bridge_rx_bytes">...</span></td>
<td align=right><span id="platform/bridge_rx_packets">...</span></td>
<td align=right><span id="platform/bridge_multicast">...</span></td>
<td align=right><span id="platform/bridge_broadcast">...</span></td>
<td align=right><span id="platform/bridge_unicast">...</span></td>
<td align=right><span id="platform/bridge_tx_bytes">...</span></td>
<td align=right><span id="platform/bridge_tx_packets">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/bridge_rx_errors">...</span></td>
<td align=right><span id="platform/bridge_rx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/bridge_tx_errors">...</span></td>
<td align=right><span id="platform/bridge_tx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/bridge_collisions">...</span></td>
<tr>
<td><b>Out-of-Band (PoE)<b></td>
<td align=right><span id="platform/ooband_rx_bytes">...</span></td>
<td align=right><span id="platform/ooband_rx_packets">...</span></td>
<td align=right><span id="platform/ooband_multicast">...</span></td>
<td align=right><span id="platform/ooband_broadcast">...</span></td>
<td align=right><span id="platform/ooband_unicast">...</span></td>
<td align=right><span id="platform/ooband_tx_bytes">...</span></td>
<td align=right><span id="platform/ooband_tx_packets">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/ooband_rx_errors">...</span></td>
<td align=right><span id="platform/ooband_rx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/ooband_tx_errors">...</span></td>
<td align=right><span id="platform/ooband_tx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/ooband_collisions">...</span></td>
<tr>
<td><b>Link (to peer)<b></td>
<td align=right><span id="platform/link_rx_bytes">...</span></td>
<td align=right><span id="platform/link_rx_packets">...</span></td>
<td align=right><span id="platform/link_multicast">...</span></td>
<td align=right><span id="platform/link_broadcast">...</span></td>
<td align=right><span id="platform/link_unicast">...</span></td>
<td align=right><span id="platform/link_tx_bytes">...</span></td>
<td align=right><span id="platform/link_tx_packets">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/link_rx_errors">...</span></td>
<td align=right><span id="platform/link_rx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/link_tx_errors">...</span></td>
<td align=right><span id="platform/link_tx_dropped">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right><span id="platform/link_collisions">...</span></td>
<tr>
<td><b>Switch Port 0/0 (PoE)</b></td>
<td align=right><span id="platform/switch/0/0/bytes_received">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/0/multicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/0/broadcast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/0/unicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/0/bytes_sent">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/0/multicast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/0/broadcast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/0/unicast_packets_sent">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<tr>
<td><b>Switch Port 0/4 (SOC)</b></td>
<td align=right><span id="platform/switch/0/4/bytes_received">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/4/multicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/4/broadcast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/4/unicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/4/bytes_sent">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/4/multicast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/4/broadcast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/4/unicast_packets_sent">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<tr>
<td><b>Switch Port 0/24 (modem)</b></td>
<td align=right><span id="platform/switch/0/24/bytes_received">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/24/multicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/24/broadcast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/24/unicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/24/bytes_sent">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/24/multicast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/24/broadcast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/24/unicast_packets_sent">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<tr>
<td><b>Switch Port 0/25 (SFP+)</b></td>
<td align=right><span id="platform/switch/0/25/bytes_received">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/25/multicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/25/broadcast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/25/unicast_packets_received">...</span></td>
<td align=right><span id="platform/switch/0/25/bytes_sent">...</span></td>
<td align=right>-</td>
<td align=right><span id="platform/switch/0/25/multicast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/25/broadcast_packets_sent">...</span></td>
<td align=right><span id="platform/switch/0/25/unicast_packets_sent">...</span></td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
<td align=right>-</td>
</table>
</div>
</div>
<div class="tab">
<input type="radio" id="tab-3" name="tab-group-1">
<label for="tab-3">Modem</label>
<div class="content">
<b>Chip:</b><span class="values" id="modem/version/api/chipType">...</span><br>
<b>Firmware:</b><span class="values" id="modem/firmware">...</span><br>
<b>Bootloader Version:</b><span class="values">
<span id="modem/version/bootloader/major">...</span>.<span id="modem/version/bootloader/minor">?</span>.<span id="modem/version/bootloader/build">?</span>
</span><br>
<b>API Version:</b><span class="values">
<span id="modem/version/api/major">...</span>.<span id="modem/version/api/minor">?</span>.<span id="modem/version/api/build">?</span>
</span><br>
<b>Profile:</b><span class="values" id="modem/profile">...</span><br>
<b>Temperature:</b><span class="values" id="modem/temperature">...</span><br>
<b>Network Status:</b><span class="values">
<span id="modem/network/statusStr">...</span>
(Code: <span id="modem/network/status">...</span>)
</span><br>
<b>Acquire Status:</b><span class="values">
<span id="modem/status/acquireStatusStr">...</span>
(Code: <span id="modem/status/acquireStatus">...</span>)
</span><br>
<b>Transmitter Mode:</b><span class="values">
<span id="modem/transmitter/modeStr">...</span>
(Code: <span id="modem/transmitter/mode">...</span>)
</span><br>
<b>Last Acquire Error:</b><span class="values">
<span id="modem/status/lastAcquireErrorStr">...</span>
(Code: <span id="modem/status/lastAcquireError">...</span>)
</span><br>
<b>Carrier Offset:</b><span class="values" id="modem/status/carrierOffset">...</span><br>
<b>ResPhNoise:</b><span class="values" id="modem/status/resPhNoiseVal">...</span><br>
<b>DebugIndications:</b><span class="values" id="modem/status/debugIndications">...</span><br>
<b>MSE:</b><span class="values">
Normalized: <span id="modem/status/normalizedMse">...</span>&nbsp;&nbsp;
Absolute: <span id="modem/status/absoluteMse">...</span>&nbsp;&nbsp;
Radial: <span id="modem/status/radialMse">...</span>&nbsp;&nbsp;
</span><br>
<b>ACM Profile:</b><span class="values">
rx: <span id="modem/status/rxAcmProfile">...</span>&nbsp;&nbsp;
tx: <span id="modem/status/txAcmProfile">...</span>&nbsp;&nbsp;
</span><br>
<b>Symbol Rate:</b><span class="values">
rx: <span id="modem/status/rxSymbolRate">...</span>&nbsp;&nbsp;
tx: <span id="modem/status/txSymbolRate">...</span>&nbsp;&nbsp;
</span><br>
<b>AGC:</b><span class="values">
external: <span id="modem/status/externalAgc">...</span>&nbsp;&nbsp;
internal: <span id="modem/status/internalAgc">...</span>&nbsp;&nbsp;
</span><br>
<b>ACM Engine:</b><span class="values">
rx sensors enabled: <span id="modem/status/acmEngineRxSensorsEnabled">...</span>&nbsp;&nbsp;
tx switch enabled: <span id="modem/status/acmEngineTxSwitchEnabled">...</span>&nbsp;&nbsp;
</span><br>
<b>Transmitter DC Leakage:</b><span class="values">
I: <span id="modem/transmitter/dcLeakageI">...</span>&nbsp;&nbsp;
Q: <span id="modem/transmitter/dcLeakageQ">...</span>&nbsp;&nbsp;
</span><br>
<b>Transmitter:</b><span class="values">
signal gain: <span id="modem/transmitter/signalGain">...</span>&nbsp;&nbsp;
sweep time: <span id="modem/transmitter/sweepTime">...</span>&nbsp;&nbsp;
tone freq: <span id="modem/transmitter/toneFreq">...</span>&nbsp;&nbsp;
tone sec freq: <span id="modem/transmitter/toneSecFreq">...</span>&nbsp;&nbsp;
</span><br>
</div>
</div>
<div class="tab">
<input type="radio" id="tab-4" name="tab-group-1">
<label for="tab-4">Radio</label>
<div class="content">
<b>Hardware Version:</b><span class="values">
<span id="radio/version/hardware/type">...</span>&nbsp;
(<span id="radio/version/hardware/major">?</span>.<span id="radio/version/hardware/minor">?</span>)
</span><br>
<b>Software Version:</b><span class="values">
<span id="radio/version/software/major">?</span>.<span id="radio/version/software/minor">?</span>.<span id="radio/version/software/build">?</span>
</span><br>
<b>RSSI:</b><span class="values" id="radio/rx/rssi">...</span><br>
<b>PA Temp:</b><span class="values" id="radio/tx/paTemp">...</span><br>
<b>MCU Temp:</b><span class="values" id="radio/mcuTemp">...</span><br>
<b>Heater Enabled:</b><span class="values" id="radio/heaterEnabled">...</span><br>
<b>PA LNA:</b><span class="values">
Power Enabled: <span id="radio/paLnaPowerEnabled">...</span>&nbsp;&nbsp;&nbsp;
Status: <span id="radio/paLnaPowerStatus">...</span>&nbsp;&nbsp;&nbsp;
</span><br>
<b>Transceivers Power Enabled:</b><span class="values" id="radio/transceiversPowerEnabled">...</span><br>
<table>
<tr>
<td><b>Transceiver</b></td>
<td><b>Model</b></td>
<td><b>Mode</b></td>
<td><b>Temp</b></td>
<td><b>PLL (freq, locked, lockCount)</b></td>
<td><b>EPOT (control, driver, lna, pa)</b></td></tr>
<tr>
<td><b>High</b>
<td><span id="radio/hiTransceiver/icModel">...</span></td>
<td><span id="radio/hiTransceiver/mode">...</span></td>
<td><span id="radio/hiTransceiver/temp">...</span></td>
<td>
<span id="radio/hiTransceiver/pll/frequency">...</span>
<span id="radio/hiTransceiver/pll/locked">...</span>
<span id="radio/hiTransceiver/pll/lockCounts">...</span></td>
<td>
<span id="radio/hiTransceiver/epot/control">...</span>
<span id="radio/hiTransceiver/epot/driver">...</span>
<span id="radio/hiTransceiver/epot/lna">...</span>
<span id="radio/hiTransceiver/epot/pa">...</span></td></tr>
<tr>
<td><b>Low</b>
<td><span id="radio/loTransceiver/icModel">...</span></td>
<td><span id="radio/loTransceiver/mode">...</span></td>
<td><span id="radio/loTransceiver/temp">...</span></td>
<td>
<span id="radio/loTransceiver/pll/frequency">...</span>
<span id="radio/loTransceiver/pll/locked">...</span>
<span id="radio/loTransceiver/pll/lockCounts">...</span></td>
<td>
<span id="radio/loTransceiver/epot/control">...</span>
<span id="radio/loTransceiver/epot/driver">...</span>
<span id="radio/loTransceiver/epot/lna">...</span>
<span id="radio/loTransceiver/epot/pa">...</span></td></tr>
</table>
<b>Digital AGC Gain:</b><span class="values">
<span id="radio/rx/agcDigitalGain">...</span>&nbsp;&nbsp;&nbsp;
(Index <span id="radio/rx/agcDigitalGainIndex">...</span>)
</span><br>
<b>LNA Current:</b><span class="values">
Meas: <span id="radio/rx/lnaCurrentMeas">...</span>&nbsp;&nbsp;&nbsp;
Set: <span id="radio/rx/lnaCurrentSet">...</span>
</span><br>
<b>Driver Current:</b><span class="values">
Meas: <span id="radio/tx/driverCurrentMeas">...</span>&nbsp;&nbsp;&nbsp;
Set: <span id="radio/tx/driverCurrentSet">...</span>
</span><br>
<b>PA Current:</b><span class="values">
Meas: <span id="radio/tx/paCurrentMeas">...</span>&nbsp;&nbsp;&nbsp;
Set: <span id="radio/tx/paCurrentSet">...</span>
</span><br>
<b>PA Power:</b><span class="values">
Meas: <span id="radio/tx/paPowerMeas">...</span>&nbsp;&nbsp;&nbsp;
Set: <span id="radio/tx/paPowerSet">...</span>
</span><br>
<b>TX Power:</b><span class="values">
Meas: <span id="radio/tx/txPowerMeas">...</span>&nbsp;&nbsp;&nbsp;
Set: <span id="radio/tx/txPowerSet">...</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Control: <span id="radio/tx/txPowerControl">...</span>
</span><br>
<b>DC:</b><span class="values">
I: <span id="radio/tx/dcI">...</span>&nbsp;&nbsp;&nbsp;
Q: <span id="radio/tx/dcQ">...</span>&nbsp;&nbsp;&nbsp;
</span><br>
<b>VGA Gain:</b><span class="values" id="radio/tx/vgaGain">...</span><br>
</div>
</div>
<div class="tab">
<input type="radio" id="tab-5" name="tab-group-1">
<label for="tab-5">Debug</label>
<div class="content">
<form action=/startisostream method=post>
{% module xsrf_form_html() %}
<button id="isostream_button">Run Test</button>
</form>
<b>refreshCount:</b><span class="values" id="platform/refreshCount">...</span><br>
<b>unhandled xml:</b><span class="values" id="unhandled"></span>
</div>
</div>
</div>
<script src="static/craft.js"></script>
</body>
</html>
<!-- end of index.thtml (used by unit test) -->