Scrapli

Latest version: v2024.1.30

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

Scan your dependencies

Page 5 of 13

2020.09.19

- Add Ruckus Fastiron Platform (thank you Brett!)
- Add Edgecore ECS Platform (thank you Alex!)
- Add some bits to the example scrapli driver for testing purposes for scrapli core ++ supporting users creating
their own device classes so they can build custom methods/override existing methods
- Add 3.9 to weekly/commit testing

2020.09.18

Bit of house keeping -- fixed setup.py install_requires, updated some dev pins, added 3.9-dev to CI.

No real changes here, just making things nicer for `nornir_scrapli`!

2020.09.16.post1

2020.09.16

Let's call this the first "real" release of nornir_scrapli as it was originally intended to just be released for nornir 3.0.0 anyway!

2020.09.01

shhhhh I lied about the date :) one last release from the older style nornir2.x support

2020.08.28

- Added Packet Pushers scrapli episode to the README!!
- Added NXOS and Junos mock ssh servers and created tests for open/close methods (silly tests but just ensures we send what we think we should be sending)
- Created a property `timeout_ops` on the driver class -- this property will also set the `timeout_ops` value of the channel as well, this is just to make it so users don't have to do `conn.channel.timeout_ops` to set the timeout value... that was not super intuitive!
- Update dev/test requirements to finally have pylama 2.6! This means that isort can be unpinned and free to update!
- Add `send_and_read` method to `GenericDriver` -- this method allows you to send an input (at the current priv level) and wait for a prompt, an expected output, or a duration.
- Add `eager` flag to the channel `send_input` method -- this probably should *not* be used by many folks, but can be used to *not* read until the prompt pattern is seen. In other words, this will send an input, read the input off the channel and then return.
- All exceptions that are raised due to catching an internal exception should now be raising "from" the caught exception -- mostly this is to appease Pylama, but may end up being nicer on the eyes/easier to see whats going on in some scenarios.
- IOSXE now catches "Enable password:" for an escalation pattern from exec to privilege exec -- fixes [45](https://github.com/carlmontanari/scrapli/issues/45)
- The "requires open" decorator has been updated/fixed to play nice with asyncio
- `timeout_ops` has been converted from an int to a float to allow for more granular timeout control (the other timeouts remain as integers)
- Few minor docstring fixes from copypasta issues :)
- Update black pin/re-run black

Page 5 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.