diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2017-07-29 00:37:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-29 00:37:25 +0200 |
commit | 4c3d8518ea06166de82ad6172346dcaa97d5fd63 (patch) | |
tree | 05518aa4d4e8e5e010593e2904a585bb0a29c8c3 /config.php.example | |
parent | c6a7bca4e0150df0f72070eafe364c04d1b63f6a (diff) | |
parent | c6e5829908b0642a55ced790b32849458d6a6f09 (diff) |
Merge pull request #20 from ledeuns/master
Add basic support for OpenBGPd.
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 24 |
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 |