Skip to content

Commit 77b17b3

Browse files
authored
Merge pull request #108 from CiscoTestAutomation/release_25.1
Releasing v25.1
2 parents f31a0d9 + a697068 commit 77b17b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+755
-47
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PYPIREPO = pypitest
1111

1212
DEPENDENCIES = robotframework pyyaml dill coverage Sphinx \
1313
sphinxcontrib-napoleon sphinxcontrib-mockautodoc \
14-
sphinx-rtd-theme asyncssh PrettyTable
14+
sphinx-rtd-theme asyncssh PrettyTable "cryptography>=44.0"
1515

1616

1717
.PHONY: clean package distribute develop undevelop help devnet\

docs/changelog/2025/january.rst

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
January 2025
2+
==========
3+
4+
- Unicon v25.1
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v25.1
13+
``unicon``, v25.1
14+
15+
16+
17+
18+
Changelogs
19+
^^^^^^^^^^
20+
--------------------------------------------------------------------------------
21+
Fix
22+
--------------------------------------------------------------------------------
23+
24+
* backend
25+
* New match mode support for last line ignoring whitespace
26+
27+
* learn_tokens
28+
* Update learn_os_prompt to account for config mode
29+
30+
* unicon
31+
* Fix the dialog processor to trigger actions only when statements match patterns(HA/Stack)
32+
33+
34+
--------------------------------------------------------------------------------
35+
Fix
36+
--------------------------------------------------------------------------------
37+
38+
* iosxr
39+
* Added SwitchoverDisallowedError exception to raise when redundancy switchover is disallowed on the device.
40+
41+
* unicon.plugins
42+
* Added Reload
43+
* Added support to pick max value of RELOAD_RECONNECT_WAIT or POST_RELOAD_WAIT
44+
* Base Execute
45+
* pass backend decode error
46+
* generic
47+
* Updated regex patterns to prevent matching of test case names that contain the words "failure" or "fail_". This change ensures that test cases with failure-related names no longer trigger errors during processing.
48+
49+
* iosxe/pattern
50+
* Allow 'DDNS' to config prompt patterns
51+
52+
* generic
53+
* Added 'copy_overwrite_handler' in the service_statements.py to handle
54+
55+
* iosxe
56+
* Added below config error patterns
57+
* % VLAN [<vlan_id>] already in use
58+
* Added below config error patterns
59+
* % VNI <VNI_ID> is either already in use or exceeds the maximum allowable VNIs.
60+
61+

docs/changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44
.. toctree::
55
:maxdepth: 2
66

7+
2025/january
78
2024/november
89
2024/october
910
2024/September
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
January 2025
2+
==========
3+
4+
- Unicon.Plugins v25.1
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v25.1
13+
``unicon``, v25.1
14+
15+
16+
17+
18+
Changelogs
19+
^^^^^^^^^^
20+
--------------------------------------------------------------------------------
21+
Fix
22+
--------------------------------------------------------------------------------
23+
24+
* iosxr
25+
* Update monitor service prompt pattern
26+
* Fix action pattern regex
27+
* Update logic support matching case and space insensitive actions
28+
* SPITFIRE plugin
29+
* Added a new pattern to recognize the prompt seen when showtech collection times out and the script tries to exit by sending kill signal. Also, added the statement to run while the pattern matches
30+
* Added UNICON_BACKEND_DECODE_ERROR_LIMIT with a default value of 10, to handle scenarios when the device is slow
31+
* Add statements to reload dialog
32+
* Add pattern for "Do you wish to continue"
33+
* Add syslog statement to config state transition
34+
35+
* generic
36+
* Update learn_os_prompt to account for config mode
37+
* update syslog message pattern
38+
39+
* unicon.plugins
40+
* Fix syntax warning
41+
42+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--------------------------------------------------------------------------------
2+
Fix
3+
--------------------------------------------------------------------------------
4+
* Generic
5+
* Modified rommon_prompt regex pattern to accommodate various outputs

docs/changelog_plugins/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Plugins Changelog
44
.. toctree::
55
:maxdepth: 2
66

7+
2025/january
78
2024/november
89
2024/october
910
2024/September

docs/user_guide/services/iosxr.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ Example:
172172
# send an action to the device
173173
rtr.monitor('clear')
174174
rtr.monitor('bytes')
175+
rtr.monitor('general')
176+
rtr.monitor('IPv4 uni') # this can be called with 'ipv4 uni' or 'ipv4uni' as well.
175177
176178
177179
monitor.get_buffer

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def version_info(*paths):
5050

5151
install_requires = ['unicon {range}'.format(range = version_range),
5252
'pyyaml',
53-
'PrettyTable']
53+
'PrettyTable',
54+
'cryptography>=44.0']
5455

5556
# launch setup
5657
setup(

src/unicon/plugins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '24.11'
1+
__version__ = '25.1'
22

33
supported_chassis = [
44
'single_rp',

src/unicon/plugins/confd/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self):
2727
self.JUNIPER_INIT_CONFIG_COMMANDS = []
2828

2929
# Prompt prefixes will be removed from the output by the configure() and execute() services
30-
self.JUNIPER_PROMPT_PREFIX = "\[edit\]"
30+
self.JUNIPER_PROMPT_PREFIX = r"\[edit\]"
3131

3232
self.ERROR_PATTERN = [
3333
'Error:',

0 commit comments

Comments
 (0)