summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2017-07-29 00:44:04 +0200
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2017-07-29 00:44:04 +0200
commit5b5648d58ee781904ad93eb0149e890e4fef0c13 (patch)
tree489e47d420c6aac6d0520a934a6863a046dc703d
parent4c3d8518ea06166de82ad6172346dcaa97d5fd63 (diff)
Update documentation to mention OpenBGPd support.
-rw-r--r--README.md5
-rw-r--r--docs/configuration.md7
-rw-r--r--docs/index.md5
-rw-r--r--routers/router.php8
4 files changed, 14 insertions, 11 deletions
diff --git a/README.md b/README.md
index 1d26005..7c373f1 100644
--- a/README.md
+++ b/README.md
@@ -19,9 +19,10 @@ execute some commands on routers. The output is sent back to the user.
For now this looking glass is quite simple. Here you have some features:
* Interface using Javascript and AJAX calls (needs a decent browser)
- * Support of BIRD, Cisco (IOS and IOS-XR), Juniper and Quagga routers
+ * Support of BIRD, Cisco (IOS and IOS-XR), Juniper, OpenBGPd and Quagga
+ routers
* Support of Telnet and SSH connection to routers using password
- authentication and SSH keys.
+ authentication and SSH keys
* Configurable list of routers
* Tweakable interface (title, logo, footer, elements order)
* Log all commands in a file
diff --git a/docs/configuration.md b/docs/configuration.md
index 7b7a543..4840ade 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -117,15 +117,16 @@ interact with it.
```php
$config['routers']['router1']['type'] = 'juniper';
```
-The router type can be Juniper, Cisco (IOS or IOS-XR), Quagga or BIRD. You can
-take a look at the specific documentation for your router. Possible values
-are:
+The router type can be Juniper, Cisco (IOS or IOS-XR), Quagga, BIRD or
+OpenBGPd. You can take a look at the specific documentation for your router.
+Possible values are:
* juniper **or** junos
* cisco **or** ios
* ios-xr **or** iosxr
* bird
* quagga **or** zebra
+ * openbgpd
It is also highly recommended to specify a source interface ID to be used by
the router when it will try to ping or traceroute a destination. This is done
diff --git a/docs/index.md b/docs/index.md
index 1d26005..7c373f1 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -19,9 +19,10 @@ execute some commands on routers. The output is sent back to the user.
For now this looking glass is quite simple. Here you have some features:
* Interface using Javascript and AJAX calls (needs a decent browser)
- * Support of BIRD, Cisco (IOS and IOS-XR), Juniper and Quagga routers
+ * Support of BIRD, Cisco (IOS and IOS-XR), Juniper, OpenBGPd and Quagga
+ routers
* Support of Telnet and SSH connection to routers using password
- authentication and SSH keys.
+ authentication and SSH keys
* Configurable list of routers
* Tweakable interface (title, logo, footer, elements order)
* Log all commands in a file
diff --git a/routers/router.php b/routers/router.php
index 7eadadb..5756c86 100644
--- a/routers/router.php
+++ b/routers/router.php
@@ -25,8 +25,8 @@ require_once('bird.php');
require_once('cisco.php');
require_once('cisco_iosxr.php');
require_once('juniper.php');
-require_once('quagga.php');
require_once('openbgpd.php');
+require_once('quagga.php');
require_once('includes/utils.php');
require_once('auth/authentication.php');
@@ -180,13 +180,13 @@ abstract class Router {
case 'junos':
return new Juniper($config, $router_config, $id, $requester);
+ case 'openbgpd':
+ return new OpenBGPd($config, $router_config, $id, $requester);
+
case 'quagga':
case 'zebra':
return new Quagga($config, $router_config, $id, $requester);
- case 'openbgpd':
- return new OpenBGPd($config, $router_config, $id, $requester);
-
default:
print('Unknown router type "'.$router_config['type'].'".');
return null;