summaryrefslogtreecommitdiff
path: root/config.php.example
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-12-10 20:47:56 +0100
committerGuillaume Mazoyer <respawneral@gmail.com>2014-12-10 20:47:56 +0100
commit7436934fe3e1d28ca4c1124ccec5bbcdecdc986f (patch)
treee6c5fac19adeccb4cc3c360b0e101d6f669614b8 /config.php.example
parentbcb3cc4dc275098c33ebc46fb49ef0397242b1ba (diff)
Add option to specify an interface or an address for routers.
The interface is used on routers to source ping and traceroute. On software routers, an address is required instead of the interface.
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example
index 1126988..107ff1d 100644
--- a/config.php.example
+++ b/config.php.example
@@ -38,6 +38,8 @@ $config['routers']['router1']['pass'] = 'readonlypassword';
$config['routers']['router1']['auth'] = 'ssh-password';
// The router type (can be cisco, ios, juniper or junos)
$config['routers']['router1']['type'] = 'juniper';
+// The router source interface to be used
+$config['routers']['router1']['source-interface-id'] = 'lo0';
// The router description to be displayed in the router list
$config['routers']['router1']['desc'] = 'Example\'s Router 1';
@@ -54,6 +56,8 @@ $config['routers']['router2']['pass'] = 'mypassphrase';
$config['routers']['router2']['auth'] = 'ssh-key';
// The router type (can be cisco, ios, juniper or junos)
$config['routers']['router2']['type'] = 'juniper';
+// The router source interface to be used
+$config['routers']['router2']['source-interface-id'] = 'lo0';
// The router description to be displayed in the router list
$config['routers']['router2']['desc'] = 'Example\'s Router 2';
@@ -68,6 +72,8 @@ $config['routers']['router3']['pass'] = 'birduserpassword';
$config['routers']['router3']['auth'] = 'ssh-password';
// The router type (can only be bird)
$config['routers']['router3']['type'] = 'bird';
+// The router source address to be used
+$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';