diff --git a/config.php.default b/config.php.default index fdc5b1ce9..547b4c4cf 100755 --- a/config.php.default +++ b/config.php.default @@ -72,6 +72,7 @@ $config['enable_bgp'] = 0; # Enable BGP session collection and display $config['enable_syslog'] = 0; # Enable Syslog $config['enable_billing'] = 0; # Enable BGP session collection and display $config['enable_inventory'] = 0; # Enable Inventory +$config['enable_pseudowires'] = 0; # Enable Cisco Pseudowires ## Uncomment this to enable display of rancid-collected configs #$config['rancid_configs'] = '/var/lib/rancid/network/configs/'; diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 3640f9e7f..37f265151 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -120,13 +120,14 @@ if($config['show_locations']) { echo("
  • '0' OR out_errors > '0')"),0); if($interfaces['errored']) { echo("
  • Errored (".$interfaces['errored'].")
  • "); } if($config['enable_billing']) { echo("
  • Traffic Bills
  • "); $ifbreak = 1;} +if($config['enable_pseudowires']) { echo("
  • Pseudowires
  • "); $ifbreak = 1;} + if($_SESSION['userlevel'] >= '5') { echo("

  • "); diff --git a/includes/discovery/cisco-pw.php b/includes/discovery/cisco-pw.php index f54bd354c..70a293fa1 100755 --- a/includes/discovery/cisco-pw.php +++ b/includes/discovery/cisco-pw.php @@ -1,5 +1,7 @@