@@ -15,11 +15,11 @@ discard block |
||
15 | 15 | */ |
16 | 16 | |
17 | 17 | 'host' => '192.168.88.1', // Address of Mikrotik RouterOS |
18 | - 'user' => 'admin', // Username |
|
19 | - 'pass' => null, // Password |
|
20 | - 'port' => 8728, // RouterOS API port number for access (if not set use default or default with SSL if SSL enabled) |
|
21 | - 'ssl' => false, // Enable ssl support (if port is not set this parameter must change default port to ssl port) |
|
22 | - 'ssh_port' => 22, // Number of SSH port |
|
18 | + 'user' => 'admin', // Username |
|
19 | + 'pass' => null, // Password |
|
20 | + 'port' => 8728, // RouterOS API port number for access (if not set use default or default with SSL if SSL enabled) |
|
21 | + 'ssl' => false, // Enable ssl support (if port is not set this parameter must change default port to ssl port) |
|
22 | + 'ssh_port' => 22, // Number of SSH port |
|
23 | 23 | |
24 | 24 | /* |
25 | 25 | |-------------------------------------------------------------------------- |
@@ -32,8 +32,8 @@ discard block |
||
32 | 32 | */ |
33 | 33 | |
34 | 34 | 'legacy' => false, // Support of legacy login scheme (true - pre 6.43, false - post 6.43) |
35 | - 'timeout' => 10, // Max timeout for answer from RouterOS |
|
36 | - 'attempts' => 10, // Count of attempts to establish TCP session |
|
37 | - 'delay' => 1, // Delay between attempts in seconds |
|
35 | + 'timeout' => 10, // Max timeout for answer from RouterOS |
|
36 | + 'attempts' => 10, // Count of attempts to establish TCP session |
|
37 | + 'delay' => 1, // Delay between attempts in seconds |
|
38 | 38 | |
39 | 39 | ]; |
@@ -60,9 +60,9 @@ |
||
60 | 60 | * List of allowed parameters of config |
61 | 61 | */ |
62 | 62 | public const ALLOWED = [ |
63 | - 'host' => 'string', // Address of Mikrotik RouterOS |
|
64 | - 'user' => 'string', // Username |
|
65 | - 'pass' => 'string', // Password |
|
63 | + 'host' => 'string', // Address of Mikrotik RouterOS |
|
64 | + 'user' => 'string', // Username |
|
65 | + 'pass' => 'string', // Password |
|
66 | 66 | 'port' => 'integer', // RouterOS API port number for access (if not set use default or default with SSL if SSL enabled) |
67 | 67 | 'ssl' => 'boolean', // Enable ssl support (if port is not set this parameter must change default port to ssl port) |
68 | 68 | 'legacy' => 'boolean', // Support of legacy login scheme (true - pre 6.43, false - post 6.43) |