Skip to content

Commit e4fec41

Browse files
authored
Merge pull request #111 from CiscoTestAutomation/release_25.3
Releasing v25.3
2 parents ea460a4 + 8fd0dac commit e4fec41

File tree

16 files changed

+141
-5
lines changed

16 files changed

+141
-5
lines changed

docs/changelog/2025/march.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
March 2025
2+
==========
3+
4+
March 25 - Unicon v25.3
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v25.3
13+
``unicon``, v25.3
14+
15+
16+
17+
18+
Changelogs
19+
^^^^^^^^^^
20+
--------------------------------------------------------------------------------
21+
Fix
22+
--------------------------------------------------------------------------------
23+
24+
* unicon.robot
25+
* Modified Robot Library UniconRobot.py
26+
* Address SyntaxWarning in UniconRobot.py showing up in python >= 3.12
27+
28+
* mock_device
29+
* Updated mock device to handle ctrl-c for HA tests
30+
31+
32+
--------------------------------------------------------------------------------
33+
New
34+
--------------------------------------------------------------------------------
35+
36+
* connection_provider
37+
* Modified execute_init_commands
38+
* Updated logic to config init commands only on first connnection
39+
40+
41+
--------------------------------------------------------------------------------
42+
Fix
43+
--------------------------------------------------------------------------------
44+
45+
* generic
46+
* Added fallback credentials to login_handler statement
47+
48+
* iosxe
49+
* Added grub statement in the list 'boot_from_rommon_statement_list' for
50+
51+

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/march
78
2025/february
89
2025/january
910
2024/november

docs/changelog_plugins/2025/march.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
March 2025
2+
==========
3+
4+
March 25 - Unicon.Plugins v25.3
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v25.3
13+
``unicon``, v25.3
14+
15+
16+
17+
18+
Changelogs
19+
^^^^^^^^^^

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/march
78
2025/february
89
2025/january
910
2024/november

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__ = '25.2'
1+
__version__ = '25.3'
22

33
supported_chassis = [
44
'single_rp',

src/unicon/plugins/generic/service_statements.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def login_handler(spawn, context, session):
5353
"""
5454
credential = get_current_credential(context=context, session=session)
5555
if credential:
56+
if credential != 'default':
57+
spawn.log.info(f'Using {credential} credential set for login into device')
5658
common_cred_username_handler(
5759
spawn=spawn, context=context, credential=credential)
5860
else:

src/unicon/plugins/generic/statements.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ def login_handler(spawn, context, session):
216216
"""
217217
credential = get_current_credential(context=context, session=session)
218218
if credential:
219+
if credential != 'default':
220+
spawn.log.info(f'Using {credential} credential set for login into device')
219221
common_cred_username_handler(
220222
spawn=spawn, context=context, credential=credential)
221223
else:

src/unicon/plugins/iosxe/statements.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def boot_image(spawn, context, session):
217217
boot_from_rommon_statement_list = [
218218
please_reset_stmt, admin_password_stmt,
219219
setup_dialog_stmt, auto_install_stmt,
220-
boot_timeout_stmt
220+
boot_timeout_stmt, grub_prompt_stmt
221221
]
222222

223223

@@ -245,4 +245,4 @@ def wrapper(spawn, session, context, **kwargs):
245245
boot_from_rommon_statement_list += connection_statement_list.copy()
246246
for stmt in boot_from_rommon_statement_list:
247247
if stmt.pattern in [reload_patterns.press_return] or stmt.loop_continue is False:
248-
stmt.action = boot_finished_deco(stmt.action)
248+
stmt.action = boot_finished_deco(stmt.action)

src/unicon/plugins/iosxr/spitfire/statements.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def xr_login_handler(spawn, context, session):
4646
"""
4747
credential = get_current_credential(context=context, session=session)
4848
if credential:
49+
if credential != 'default':
50+
spawn.log.info(f'Using {credential} credential set to login into device')
4951
common_cred_username_handler(spawn=spawn, context=context, credential=credential)
5052
else:
5153
spawn.sendline(context['username'])

src/unicon/plugins/linux/statements.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
def username_handler(spawn, context, session):
1717
credential = get_current_credential(context=context, session=session)
1818
if credential:
19+
if credential != 'default':
20+
spawn.log.info(f'Using {credential} credential set for login into device')
1921
common_cred_username_handler(spawn=spawn, context=context,
2022
credential=credential)
2123
else:

0 commit comments

Comments
 (0)