feature: Peeringdb integration to show the Exchanges and peers for your AS' (#6178)

This commit is contained in:
Neil Lathwood
2017-03-22 10:17:13 +00:00
committed by GitHub
parent a752dc1bff
commit 5f5dc2a854
1758 changed files with 178518 additions and 238 deletions

View File

@@ -511,6 +511,12 @@ if ($bgp_alerts) {
<li><a href="routing/protocol=bgp/adminstatus=start/state=down/"><i class="fa fa-exclamation-circle fa-fw fa-lg" aria-hidden="true"></i> Alerted BGP (' . $bgp_alerts . ')</a></li>');
}
if (is_admin() === true && $routing_count['bgp'] && $config['peeringdb']['enabled'] === true) {
echo '
<li role="presentation" class="divider"></li>
<li><a href="peering/"><i class="fa fa-hand-o-right fa-fw fa-lg" aria-hidden="true"></i> PeeringDB</a></li>';
}
echo(' </ul>');
?>