September 18 - v2.3.5¶
bash$ pip install --upgrade unicon
Features and Bug Fixes:¶
New plugin: ConfD with support for NSO, ESC and NFVIS
Update to nxos plugin to support
shellexecon non-MDS platforms.
continue connectingin generic and IOSXR plugin.
%to linux prompt pattern.
NSO plugin updates
error_patternoption to NSO plugin services
Updated implementation for execute, configure and command services to allow
error_patternoption to be specified.
Update documentation with examples of error_patterns.
Fixed bugs in command stripping and timeout handling
Added tests with list of commands for configure and execute services
Changed NsoConnection to Connection class.
Changed the assertion statements to use unittest assertion methods.
Added unittests for passing
Added example execute service with list of commands.
executeservice: maintain CLI style, change in output stripping.
When you execute a command using the
executeservice, the style that is active before execution is restored at the end of the execution.
This means that you cannot use the
executeservice to switch styles, use the
cli_styleservice to change CLI style.
Executing the command
switch cliraises an exception and point to cli_style.
The output is stripped of whitespace from the right only, if a CR/LF is present at the start of the output it is stripped. Previously, whitespace was stripped from both sides of the output text.
iosxe and iosxe/cat3k plugin updates:
Adapted patterns to be more real-time efficient to better handle long outputs.
Introduced mocked device tests for ASR HA, ISR and CAT3k.
Fixed the switchover service so it works properly for ASR HA.