web interface ospf XD FOR FENESTRO TO MAKE GREAT TEST

git-svn-id: http://www.observium.org/svn/observer/trunk@2176 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-27 01:46:01 +00:00
parent ac299ec4fa
commit 9329a6ac9c
3 changed files with 12 additions and 0 deletions

View File

@@ -9,9 +9,14 @@ if ($bgp_count) { $datas[] = 'bgp'; }
$cef_count = mysql_result(mysql_query("select count(*) from cef_switching WHERE device_id = '" . $device['device_id'] . "'"), 0);
if ($cef_count) { $datas[] = 'cef'; }
$ospf_count = mysql_result(mysql_query("select count(*) from ospf_instances WHERE device_id = '" . $device['device_id'] . "'"), 0);
if ($ospf_count) { $datas[] = 'ospf'; }
$type_text['overview'] = "Overview";
$type_text['bgp'] = "BGP";
$type_text['cef'] = "CEF";
$type_text['ospf'] = "OSPF";
print_optionbar_start();