diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-05-29 13:52:23 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-05-29 13:52:23 +0200 |
commit | f8b05a1fed71b89b1cd7524e4f64b317af1ab7a4 (patch) | |
tree | c0c3b349981f652e062b4760c472f8beed92b0e7 /config.php.example | |
parent | 6e78dac2ee52bde9f6c59f0b210aa651a5ff683c (diff) |
Add a contact part to the README file.
Add comments to the example configuration file.
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/config.php.example b/config.php.example index aa0e003..7666cb3 100644 --- a/config.php.example +++ b/config.php.example @@ -1,22 +1,38 @@ <?php +// People to contact $config['contact']['name'] = 'Example Support'; $config['contact']['mail'] = 'support@example.com'; +// Frontpage configuration + +// Title of the page $config['frontpage']['title'] = 'Looking Glass'; +// Logo to display $config['frontpage']['image'] = 'logo.png'; +// Disclaimer to inform people using the looking glass $config['frontpage']['disclaimer'] = 'This is a disclaimer!'; +// Logs file when commands will be written $config['misc']['logs'] = '/var/log/looking-glass.log'; +// Things to remove from the output (PHP compatible regex) $config['filters'][0] = '/(client1|client2)/'; $config['filters'][1] = '/^NotToShow/'; +// Router definition + +// 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'; -$config['routers']['router1']['auth'] = 'ssh2-password'; +// The authentication mecanism to use (ssh-password only for now) +$config['routers']['router1']['auth'] = 'ssh-password'; +// The router type (juniper/junos only supported for now) $config['routers']['router1']['type'] = 'junos'; +// The router description to be displayed in the router list $config['routers']['router1']['desc'] = 'Example\'s Router 1'; // End of config.php |