@@ -126,22 +126,22 @@ |
||
126 | 126 | * List of allowed parameters of config |
127 | 127 | */ |
128 | 128 | public const ALLOWED = [ |
129 | - 'host' => 'string', // Address of Mikrotik RouterOS |
|
130 | - 'user' => 'string', // Username |
|
131 | - 'pass' => 'string', // Password |
|
129 | + 'host' => 'string', // Address of Mikrotik RouterOS |
|
130 | + 'user' => 'string', // Username |
|
131 | + 'pass' => 'string', // Password |
|
132 | 132 | 'port' => 'integer', // RouterOS API port number for access (if not set use default or default with SSL if SSL enabled) |
133 | 133 | 'ssl' => 'boolean', // Enable ssl support (if port is not set this parameter must change default port to ssl port) |
134 | - 'ssl_options' => 'array', // List of SSL options, eg. |
|
134 | + 'ssl_options' => 'array', // List of SSL options, eg. |
|
135 | 135 | 'legacy' => 'boolean', // Support of legacy login scheme (true - pre 6.43, false - post 6.43) |
136 | 136 | 'timeout' => 'integer', // Max timeout for instantiating connection with RouterOS |
137 | 137 | 'socket_timeout' => 'integer', // Max timeout for read from RouterOS |
138 | 138 | 'socket_blocking' => 'boolean', // Set blocking mode on a socket stream |
139 | - 'socket_options' => 'array', // List of socket context options |
|
139 | + 'socket_options' => 'array', // List of socket context options |
|
140 | 140 | 'attempts' => 'integer', // Count of attempts to establish TCP session |
141 | 141 | 'delay' => 'integer', // Delay between attempts in seconds |
142 | 142 | 'ssh_port' => 'integer', // Number of SSH port |
143 | 143 | 'ssh_timeout' => 'integer', // Max timeout for read from RouterOS via SSH proto (for "/export" command) |
144 | - 'ssh_private_key' => 'string', // Max timeout for read from RouterOS via SSH proto (for "/export" command) |
|
144 | + 'ssh_private_key' => 'string', // Max timeout for read from RouterOS via SSH proto (for "/export" command) |
|
145 | 145 | ]; |
146 | 146 | |
147 | 147 | /** |