summaryrefslogtreecommitdiff
path: root/routers/router.php
AgeCommit message (Collapse)Author
2014-11-17Code format. Always use () for functions.Guillaume Mazoyer
2014-09-24Log format can be configured.Guillaume Mazoyer
The format for each log can be configured with the configuration option defined by $config['logs']['format']. %D is for the time, %R is for the requester IP address, %H is for the host on which the command has been executed and %C is for the command. Warning! The configuration option to choose the logs file has been moved from $config['misc']['logs'] to $config['logs']['file'].
2014-09-24Externalize output formatter to a dedicated function.Guillaume Mazoyer
The dedicated function 'format_output(command, output)' can be redefined by router and can be used to format the output according to what is inside. In this way, the output can be formatted differently according to the router type and the command.
2014-09-08Remove useless condition.Guillaume Mazoyer
2014-09-08Improve output filters.Guillaume Mazoyer
Fix filters that could lead to filtered HTML output. Do not remove empty lines anymore, except for the last line. Do not try to loop over each line of the output if no filter are defined.
2014-08-26Remove command in label to use kbd (not a proper use of label).Guillaume Mazoyer
2014-08-05Add config.defaults.php to set default configuration options.Guillaume Mazoyer
The defaults can be overriden in the config.php file but some of them are fine as defaults. This will help in having a config.php file as short as we can. Also move utils.php to the includes directory.
2014-08-04adding Quagga support and fixing Cisco commandsRomain Boissat rboissat
2014-08-04Split IPv4 and IPv6 results.Guillaume Mazoyer
Show the executed command for each output.
2014-08-03Be sure to login and disconnect after each command.Guillaume Mazoyer
2014-06-20Basic support for BIRD based routers.Guillaume Mazoyer
2014-06-14Remove useless code.Guillaume Mazoyer
2014-06-14Add preliminary support for Cisco routers.Guillaume Mazoyer
Need to be tested.
2014-06-13No more 'no-more' for Juniper.Guillaume Mazoyer
2014-06-13Support for request that need multiple commands for a proper output.Guillaume Mazoyer
More accurate commands for Juniper router.
2014-06-13Ensure that specified ports are actually integers.Guillaume Mazoyer
2014-06-11Handle error more properly.Guillaume Mazoyer
Exception are forwarded up to be able to inform the user about it.
2014-06-10Fix logs format.Guillaume Mazoyer
2014-06-10Rewrite of the routers part.Guillaume Mazoyer
Should be more modular now to add other routers types.