feature: Added better BGP support for Arista (#6046)

* feature: Added better BGP support for Arista
This commit is contained in:
Neil Lathwood
2017-03-11 23:16:49 +00:00
committed by GitHub
parent 107ad9cc1f
commit 38cebc5fd7
9 changed files with 2215 additions and 217 deletions

View File

@@ -107,7 +107,7 @@ if ($_SESSION['userlevel'] < '5') {
echo ' | Prefixes: Unicast (';
if ($vars['graph'] == 'prefixes_ipv4unicast') {
echo "<span class='pagemenu-selected'>";
$extra_sql = " AND `bgpLocalAddr` NOT LIKE '%:%'";
$extra_sql = " AND `bgpPeerIdentifier` NOT LIKE '%:%'";
}
echo generate_link('IPv4', $vars, array('view' => 'graphs', 'graph' => 'prefixes_ipv4unicast'));
@@ -119,7 +119,7 @@ if ($_SESSION['userlevel'] < '5') {
if ($vars['graph'] == 'prefixes_ipv6unicast') {
echo "<span class='pagemenu-selected'>";
$extra_sql = " AND `bgpLocalAddr` LIKE '%:%'";
$extra_sql = " AND `bgpPeerIdentifier` LIKE '%:%'";
}
echo generate_link('IPv6', $vars, array('view' => 'graphs', 'graph' => 'prefixes_ipv6unicast'));