summaryrefslogtreecommitdiff
path: root/config.php.example
diff options
context:
space:
mode:
authorDenis Fondras <github@ggl.ledeuns.net>2017-07-15 21:58:39 +0200
committerDenis Fondras <github@ggl.ledeuns.net>2017-07-15 21:58:39 +0200
commitc6e5829908b0642a55ced790b32849458d6a6f09 (patch)
tree05518aa4d4e8e5e010593e2904a585bb0a29c8c3 /config.php.example
parentc6a7bca4e0150df0f72070eafe364c04d1b63f6a (diff)
Add basic support for OpenBGPd
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example24
1 files changed, 24 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example
index 107ff1d..dd514f0 100644
--- a/config.php.example
+++ b/config.php.example
@@ -77,4 +77,28 @@ $config['routers']['router3']['source-interface-id'] = '192.168.1.1';
// The router description to be displayed in the router list
$config['routers']['router3']['desc'] = 'Example\'s Router 3';
+// Router based on OpenBGPd
+// The hostname or the IP address
+$config['routers']['router4']['host'] = 'r4.example.net';
+// The user to use to connect to the router
+$config['routers']['router4']['user'] = 'openbgpduser';
+// The password of the given user
+$config['routers']['router4']['pass'] = 'openbgpduserpassword';
+// The authentication mecanism to use (can be ssh-password or ssh-key)
+$config['routers']['router4']['auth'] = 'ssh-password';
+// The router type (can only be openbgpd)
+$config['routers']['router4']['type'] = 'openbgpd';
+// The router source address to be used
+$config['routers']['router4']['source-interface-id'] = '192.168.1.1';
+// The router description to be displayed in the router list
+$config['routers']['router4']['desc'] = 'OpenBGPd Router';
+
+// If running on *BSD, disable '-A' which is non-existent
+$config['tools']['ping_options'] = '-c 5';
+// If running on *BSD, disable '-N' which is non-existent
+$config['tools']['traceroute_options'] = '-A -q1 -w2 -m15';
+// If running on *BSD, there is no '-4' or '-6'
+$config['tools']['traceroute6'] = 'traceroute6';
+$config['tools']['traceroute4'] = 'traceroute';
+
// End of config.php