Taskautom

Latest version: v8.2.3

Safety actively analyzes 688512 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

7.12.2

- Comments in the code
- Show CRON, inventory only if configured.

7.12.1

- Remove parameter `clientType` in favor of `deviceType`.
- Using Netmiko's `nokia_sros_telnet` as device type when a Telnet Connection is needed. If ssh, use `nokia_sros`.
- Rename parameter `sshMaxLoops` in favor of `maxLoops`.
- Remove paramter `telnetTimeout`.
- all timinig is now controlled by `delayFactor` and/or `maxLoops`.
- Function `connectToRouter()` is simpler now:
- New function `routerLogin()` which direclty calls `ConnectHandler()` with the appropiate `deviceType`.
- Functions `routerLoginSSH()` and `routerLoginTelnet()` no longer needed.
- Function `fncWriteToConnection()` is simpler now as the connection handler is always Netmiko's `ConnectHandler()`.
- Function `fncAuxGetVal()` is simpler now.
- Function `routerLogout()` no longer needed.
- PluginType is now a mandatory parameter and no longer optional.
- If `cron` is enabled, then `strictOrder=no` and `pluginType=config`.
- Function `fncSshServer(self, strConn, connInfo, sftp=False)` now has an sftp parameter which becomes True when invoked from within `fncUploadFile()`.
- Function `runCron()` updated so that all commands are compatible with Nokia's echo (and as such detectable by Netmiko's `cmd_verify`).

7.11.9

- In function `renderCliLine()` bug corrected when `len(aluCliLine)=0`.

7.11.8

- In function `renderCliLine()` better error message when the plugin cannot be rendered correctly with data.

7.11.7

- `00_log.cvs` report includes now the Timos of the device.
- `fncWriteToConnection()` implements now a set of `try|expect` for every possible writing option and returns `runStatus,logReason,output`. This will allow for every method in the class to write appropriately and hence detect if something happened.
- Both functions `routerRunRoutine()` and `fncAuxGetVal()` use now the new version of `fncWriteToConnection()` which detectes better connection problems when writing. This will also help in detecting nodes with connection problems and log them into `00_log.csv`

7.11.5

- In the function `fncConnectToRouter()` the logins either using SSH or Telnet, have been changed to better detect login problems. This will be notified under `aluLogReason`.
- In `fncPrintResults()`, accomodate results better when printing the table.
- Added `openpyxl==3.0.6` and `xlrd==2.0.1` to `requirements.txt`.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.