summaryrefslogtreecommitdiff
path: root/config.php.example
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-06-14 23:17:22 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-06-14 23:17:22 +0200
commitf97dcdd539407d5987236bdffacc093cc790d373 (patch)
treec39dcd05d218a3a7d6e4638b0bbaf83bdfea9088 /config.php.example
parent6f3b61ae16cc04c4b4f036a795842ef81d210635 (diff)
Add preliminary support for Cisco routers.
Need to be tested.
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example24
1 files changed, 5 insertions, 19 deletions
diff --git a/config.php.example b/config.php.example
index 0f19e46..0749398 100644
--- a/config.php.example
+++ b/config.php.example
@@ -29,16 +29,16 @@ $config['filters'][1] = '/^NotToShow/';
// Routers definitions
-// Authentication based on SSH with password
+// Authentication based on SSH or Telnet with password
// The hostname or the IP address
$config['routers']['router1']['host'] = 'r1.example.net';
// The user to use to connect to the router
$config['routers']['router1']['user'] = 'readonlyuser';
// The password of the given user
$config['routers']['router1']['pass'] = 'readonlypassword';
-// The authentication mecanism to use (ssh-password, ssh-key or telnet)
+// The authentication mecanism to use (can be ssh-password or telnet)
$config['routers']['router1']['auth'] = 'ssh-password';
-// The router type (juniper/junos only supported for now)
+// The router type (can be cisco, ios, juniper or junos)
$config['routers']['router1']['type'] = 'juniper';
// The router description to be displayed in the router list
$config['routers']['router1']['desc'] = 'Example\'s Router 1';
@@ -54,25 +54,11 @@ $config['routers']['router2']['public_key'] = '/home/user/.ssh/key.pub';
$config['routers']['router2']['private_key'] = '/home/user/.ssh/key.pub';
// The passphrase of the key (optional if the key has no passphrase)
$config['routers']['router2']['pass'] = 'mypassphrase';
-// The authentication mecanism to use (ssh-password, ssh-key or telnet)
+// The authentication mecanism to use (ssh-key for SSH based on keys)
$config['routers']['router2']['auth'] = 'ssh-key';
-// The router type (juniper/junos only supported for now)
+// The router type (can be cisco, ios, juniper or junos)
$config['routers']['router2']['type'] = 'juniper';
// The router description to be displayed in the router list
$config['routers']['router2']['desc'] = 'Example\'s Router 2';
-// Authentication based on Telnet
-// The hostname or the IP address
-$config['routers']['router3']['host'] = 'r3.example.net';
-// The user to use to connect to the router
-$config['routers']['router3']['user'] = 'readonlyuser';
-// The password of the given user
-$config['routers']['router3']['pass'] = 'readonlypassword';
-// The authentication mecanism to use (ssh-password, ssh-key or telnet)
-$config['routers']['router3']['auth'] = 'telnet';
-// The router type (juniper/junos only supported for now)
-$config['routers']['router3']['type'] = 'juniper';
-// The router description to be displayed in the router list
-$config['routers']['router3']['desc'] = 'Example\'s Router 3';
-
// End of config.php