[pfSense Support] OpenBGPD status page

2009-12-11 Thread Evgeny Yurchenko

I know it is cosmetic but it is easy to fix, please do it.

1) Status has two "OpenBGPD Routing" sections, one of them should be 
renamed to "Forwarding" as it shows fib not rib.

2) "OpenBGPD IP" section returns error

missing argument:
valid commands/args:
 bgp

it happens because not there is not "bgpctl show ip" command, we have to use "bgpctl 
show ip bgp"

Fix for both issues:
--- openbgpd_status.php.20091211.bak2009-12-10 11:26:10.0 -0500
+++ openbgpd_status.php 2009-12-11 19:20:28.83700 -0500
@@ -140,10 +140,10 @@
defCmdT("OpenBGPD Summary","bgpctl show summary"); 
defCmdT("OpenBGPD Interfaces","bgpctl show interfaces"); 
defCmdT("OpenBGPD Routing","bgpctl show rib"); 
-defCmdT("OpenBGPD Routing","bgpctl show fib"); 
+defCmdT("OpenBGPD Forwarding","bgpctl show fib"); 
defCmdT("OpenBGPD Network","bgpctl show network"); 
defCmdT("OpenBGPD Nexthops","bgpctl show nexthop"); 
-defCmdT("OpenBGPD IP","bgpctl show ip"); 
+defCmdT("OpenBGPD IP","bgpctl show ip bgp"); 
defCmdT("OpenBGPD Neighbors","bgpctl show neighbor"); 


?>

Thanks,
Evgeny.


-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] OpenBGPD status page

2009-12-12 Thread Scott Ullrich
On Fri, Dec 11, 2009 at 7:26 PM, Evgeny Yurchenko  wrote:
> I know it is cosmetic but it is easy to fix, please do it.
>
> 1) Status has two "OpenBGPD Routing" sections, one of them should be renamed
> to "Forwarding" as it shows fib not rib.
> 2) "OpenBGPD IP" section returns error
>
> missing argument:
> valid commands/args:
>  bgp
>
> it happens because not there is not "bgpctl show ip" command, we have to use
> "bgpctl show ip bgp"
> 
> Fix for both issues:
> --- openbgpd_status.php.20091211.bak    2009-12-10 11:26:10.0 -0500
> +++ openbgpd_status.php 2009-12-11 19:20:28.83700 -0500
> @@ -140,10 +140,10 @@
> defCmdT("OpenBGPD Summary","bgpctl show summary"); defCmdT("OpenBGPD
> Interfaces","bgpctl show interfaces"); defCmdT("OpenBGPD Routing","bgpctl
> show rib"); -defCmdT("OpenBGPD Routing","bgpctl show fib");
> +defCmdT("OpenBGPD Forwarding","bgpctl show fib"); defCmdT("OpenBGPD
> Network","bgpctl show network"); defCmdT("OpenBGPD Nexthops","bgpctl show
> nexthop"); -defCmdT("OpenBGPD IP","bgpctl show ip"); +defCmdT("OpenBGPD
> IP","bgpctl show ip bgp"); defCmdT("OpenBGPD Neighbors","bgpctl show
> neighbor");
> ?>

Thanks, all of the submissions have been committed.

Scott

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org