Releases: scrapli/scrapli_netconf
Releases · scrapli/scrapli_netconf
2024.07.30
What's Changed
- refactor: nc11 chunk parsing like scrapligo thanks to @netixx! by @carlmontanari in #143
- refactor: override core scrapli reads in async/sync channels by @carlmontanari in #144
Full Changelog: 2024.01.30...2024.07.30
2024.01.30
👀 (its for being consistent w/ "core" scrapli ok, w/e....)
Full Changelog: 2023.07.30...2024.01.30
2023.07.30
What's Changed
- refactor: improve 1.1 chunk matching by @carlmontanari in #132
- fix: use re to check for password so we dont catch extra things in caps during in channel auth by @carlmontanari in #134
- fix: update asyncssh arg handling by @carlmontanari in #139
Full Changelog: 2023.01.30...2023.07.30
2023.01.30
What's Changed
- Stop bein greedy by @carlmontanari in #126
- Catches more variants of server capabilities supporting 'with-defaults' by @sanjmonkey in #129
New Contributors
- @sanjmonkey made their first contribution in #129
Full Changelog: 2022.07.30...2023.01.30
2022.07.30
What's Changed
- Added commit confirmed functionality by @dmulyalin in #97
- fix weekly build by @carlmontanari in #100
- 1 1 chunk patch v2 by @carlmontanari in #113
New Contributors
- @dmulyalin made their first contribution in #97
Full Changelog: 2022.01.30...2022.07.30
2022.01.30 Release
What's Changed
- Fix weekly build failure by @carlmontanari in #75
- Fix weekly build by @carlmontanari in #84
- Ssh2 py310 by @carlmontanari in #86
- improved raise for status exception message by @carlmontanari in #92
- Prepare for 2022.01.30 Release by @carlmontanari in #94
Full Changelog: 2021.07.30...2022.01.30
First pre-release for 2022.01.30
Pre release so we can do dev work on things that drop deprecated filters
arg from get-config method.
2021.07.30
- Force system transport ssh connections to allocate a tty (-tt); fixes issue that would prevent system transport from sending any command > 1024 chars.
- Added
use_compressed_parser
argument to the driver constructor -- defaults toTrue
which means we "squish" all the whitespace out of any input we get from the user before sending it to the netconf server, generally this is no problem, but some devices (looking at you NX-OS!) lock up and stop reading at some character counts (4096 in NX-OS it seems) causing the connection to timeout and die. By not "squishing" whitespace out this does not happen. - Fixed some typing issues and pinned to scrapli pre-release to take advantage of updated typing/packaging setup
- Deprecate
filters
argument onget_config
-- will be supported (by decorator) until 2022.01.30 (and pre-releases). This was done to make the arguments consistent forget
,get_config
, andrpc
. - Better handling of multiple filter elements in a filter string
- Smarter message building -- previously most of the final bytes payload that we send to the servers got built in the base driver class, and then some more (1.1 encoding) got added in the channel base class -- silly! Fixed this, so it is all done in the driver which eliminated a bunch of duplication (yay!).
- Deprecating
comms_ansi
-- see also scrapli changelog for this release (2021.07.30) for more details. This was never used here in scrapli_netconf so should be a non issue, but will not be fully deprecated until 2022.01.30. - Re-fix #10... see #68 -- now there is a test with a comment so I don't break this again :)
- Added
copy_config
method, thanks to Roman Dodin for adding this in scrapligo first! - Added handling/warning about
use_compressed_parser
if we catch a timeout exception when looking for prompt after writing inputs -- since I don't know (can't know?) which platforms may require this flag set to False this seems like a reasonable way to let users know and point them in the right direction to get things working! - Reswizzled the echo check to be like the scrapligo version -- much simpler/less moving parts, so should be good!
Ginormous Overhaul!
Really... pretty ginormous. Check out the scrapli release here for more details!
- Big overhaul in line with the scrapli core overhaul... mostly this was about reconciliation of the channel and
transport things and putting stuff where it should have been in the first place... see the changelog at scrapli
core for much more details - FUTURE BREAKING CHANGE --
NetconfScrape
andAsyncNetconfScrape
have been renamed toNetconfDriver
and
AsyncNetconfDriver
-- there are alias classes so you can continue to useNetconfScrape
and
AsyncNetconfScrape
but there is a warning, and these will be removed at some point in the future!
Flatter.... things.... yeah thats mostly it for now
- Support for future "vrouter" setup for testing
- Flatten all channel inputs (no pretty printed xml) -- seems to behave much more nicely across the board!
- Updated test to match some recent scrapli core updates (multipl easync transports)