Update static/js/pages/bgp.js
This commit is contained in:
parent
3c67f1623d
commit
6c68f23464
1 changed files with 6 additions and 6 deletions
|
|
@ -70,7 +70,7 @@ function buildSummary(label, info) {
|
||||||
<strong>Local AS:</strong> <a href='https://bgp.tools/search?q=${info.local_as}' target='_blank'>${info.local_as}</a><br>
|
<strong>Local AS:</strong> <a href='https://bgp.tools/search?q=${info.local_as}' target='_blank'>${info.local_as}</a><br>
|
||||||
<strong>VRF ID:</strong> ${info.vrf_id}<br>
|
<strong>VRF ID:</strong> ${info.vrf_id}<br>
|
||||||
<strong>RIB Entries:</strong> ${info.rib_entries} (using ${info.rib_memory})<br>
|
<strong>RIB Entries:</strong> ${info.rib_entries} (using ${info.rib_memory})<br>
|
||||||
<strong>Peers:</strong> ${info.peers}, using ${info.peers_memory}<br>
|
<strong>Peers:</strong> ${info.peers} (using ${info.peers_memory})<br>
|
||||||
<strong>BGP Table Version:</strong> ${info.table_version}
|
<strong>BGP Table Version:</strong> ${info.table_version}
|
||||||
`.trim();
|
`.trim();
|
||||||
|
|
||||||
|
|
@ -78,7 +78,7 @@ function buildSummary(label, info) {
|
||||||
<h2 class="d-inline me-2">${label} Unicast Summary</h2>
|
<h2 class="d-inline me-2">${label} Unicast Summary</h2>
|
||||||
<span tabindex="0" role="button" class="info-icon"
|
<span tabindex="0" role="button" class="info-icon"
|
||||||
data-bs-toggle="popover" data-bs-trigger="hover focus"
|
data-bs-toggle="popover" data-bs-trigger="hover focus"
|
||||||
data-bs-html="true" data-bs-title="${label} Summary Info"
|
data-bs-html="true" data-bs-title="${label} Summary Info"
|
||||||
data-bs-content="${popContent}">
|
data-bs-content="${popContent}">
|
||||||
ℹ️
|
ℹ️
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -97,10 +97,10 @@ function renderPeers(tbody, peers) {
|
||||||
peers.forEach((p, i) => {
|
peers.forEach((p, i) => {
|
||||||
const popTitle = `<a href="https://bgp.tools/search?q=${p.as_number}" target="_blank" rel="noopener noreferrer">${p.as_number}</a> details<a>`;
|
const popTitle = `<a href="https://bgp.tools/search?q=${p.as_number}" target="_blank" rel="noopener noreferrer">${p.as_number}</a> details<a>`;
|
||||||
const popContent = `
|
const popContent = `
|
||||||
Messages Received: ${p.msg_received}<br>
|
Messages Received: ${p.msg_received}<br>
|
||||||
Messages Sent: ${p.msg_sent}<br>
|
Messages Sent: ${p.msg_sent}<br>
|
||||||
Inbound Q: ${p.in_queue}<br>
|
Inbound Queue: ${p.in_queue}<br>
|
||||||
Outbound Q: ${p.out_queue}
|
Outbound Queue: ${p.out_queue}
|
||||||
`.trim();
|
`.trim();
|
||||||
|
|
||||||
const tr = document.createElement("tr");
|
const tr = document.createElement("tr");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue