Skip to content

Commit cbaa854

Browse files
author
Taarini Sarath Chander
committed
Releasing v24.4
1 parent 3c39dcb commit cbaa854

Some content is hidden

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

52 files changed

+807
-143
lines changed

docs/changelog/2024/april.rst

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
April 2024
2+
==========
3+
4+
- Unicon v24.4
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v24.4
13+
``unicon``, v24.4
14+
15+
Install Instructions
16+
^^^^^^^^^^^^^^^^^^^^
17+
18+
.. code-block:: bash
19+
20+
bash$ pip install unicon.plugins
21+
bash$ pip install unicon
22+
23+
Upgrade Instructions
24+
^^^^^^^^^^^^^^^^^^^^
25+
26+
.. code-block:: bash
27+
28+
bash$ pip install --upgrade unicon.plugins
29+
bash$ pip install --upgrade unicon
30+
31+
Features and Bug Fixes:
32+
^^^^^^^^^^^^^^^^^^^^^^^
33+
34+
35+
36+
37+
Changelogs
38+
^^^^^^^^^^
39+
--------------------------------------------------------------------------------
40+
Fix
41+
--------------------------------------------------------------------------------
42+
43+
* sshutils
44+
* add_tunnel
45+
* add logic to handle allocating ports based on the tunnel type.
46+
47+
* unicon
48+
* Bases/Routers
49+
* Do learn hostname if only the learn pattern is in the statmachine patterns.
50+
* Update the connection init logic.
51+
* Patterns
52+
* Add Bad secrets to bad_passwords pattern.
53+
54+
* unicon/bases
55+
* Router/connection_provider
56+
* Update logic to not learn the hostname when the device is in shell mode.
57+
58+
59+
--------------------------------------------------------------------------------
60+
New
61+
--------------------------------------------------------------------------------
62+
63+
* unicon
64+
* Connection provider
65+
* Add args and kwargs for connect function
66+
67+
68+
--------------------------------------------------------------------------------
69+
New
70+
--------------------------------------------------------------------------------
71+
72+
* iosxe
73+
* statemachine
74+
* add pki_hexmode state for iosxe
75+
76+
* iosxr
77+
* Added get_commit_cmd
78+
* Added support for 'commit best-effort' command.
79+
80+
* stackresetstandbyrp
81+
* Added iosxe/stack StackResetStandbyRP
82+
* iosxe/stack service reset_standby_rp
83+
* Check whole stack readiness to decide the result of reset_standby_rp
84+
85+
86+
--------------------------------------------------------------------------------
87+
Fix
88+
--------------------------------------------------------------------------------
89+
90+
* iosxr/spitfire
91+
* Modified Prompt Recovery Commands
92+
* Updated prompt recovery commands to user CTRL+C.
93+
94+
* iosxe
95+
* connection provider
96+
* Get the pattern for the enable statment from state machine for handeling device prompts after
97+
98+
* resetstandbyrp
99+
* Modified generic ResetStandbyRP
100+
* Fixed to handle the optinal argument "reply"
101+
102+

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+
2024/april
78
2024/march
89
2024/february
910
2024/january
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
April 2024
2+
==========
3+
4+
- Unicon.Plugins v24.4
5+
------------------------
6+
7+
8+
9+
.. csv-table:: Module Versions
10+
:header: "Modules", "Versions"
11+
12+
``unicon.plugins``, v24.4
13+
``unicon``, v24.4
14+
15+
Install Instructions
16+
^^^^^^^^^^^^^^^^^^^^
17+
18+
.. code-block:: bash
19+
20+
bash$ pip install unicon.plugins
21+
bash$ pip install unicon
22+
23+
Upgrade Instructions
24+
^^^^^^^^^^^^^^^^^^^^
25+
26+
.. code-block:: bash
27+
28+
bash$ pip install --upgrade unicon.plugins
29+
bash$ pip install --upgrade unicon
30+
31+
Features and Bug Fixes:
32+
^^^^^^^^^^^^^^^^^^^^^^^
33+
34+
35+
36+
37+
Changelogs
38+
^^^^^^^^^^
39+
--------------------------------------------------------------------------------
40+
Fix
41+
--------------------------------------------------------------------------------
42+
43+
* generic
44+
* Use stricter pattern for enable password
45+
* Update standby locked pattern
46+
* Add connection closed statement to execute service
47+
* Add standby locked state to single RP statemachine
48+
* Update escape character handler timing settings
49+
* Revert adding connection closed statement to execute service
50+
* Update config transition logic
51+
* Add `result_check_per_command` option to disable/enable error checking per configuration command
52+
53+
* iosxe
54+
* Fix operating mode logic
55+
* More prompt handling updated
56+
* Added statements to token discovery dialog
57+
58+
* iosxr
59+
* Add standby locked state to single RP statemachine
60+
* Change default behavior of ``configure()`` service, error check after all commands by default
61+
* Add handler for `show configuration failed` errors to ``configure()`` service.
62+
* Add `SHOW_CONFIG_FAILED_CMD` setting for command to use, default `show configuration failed`
63+
64+
* other
65+
* update pid token list
66+
67+

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

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.3'
1+
__version__ = '24.4'
22

33
supported_chassis = [
44
'single_rp',

src/unicon/plugins/cheetah/ap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ class ApSingleRpConnection(BaseSingleRpConnection):
5454
state_machine_class = ApSingleRpStateMachine
5555
connection_provider_class = ApSingleRpConnectionProvider
5656
subcommand_list = ApServiceList
57-
settings = ApSettings()
57+
settings = ApSettings()

src/unicon/plugins/cheetah/ap/patterns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ class CheetahAPPatterns(GenericPatterns):
99

1010
def __init__(self):
1111
super().__init__()
12-
self.ap_shell_prompt = r'^(.*?)\w+:\/(.*?)#\s?$'
12+
self.ap_shell_prompt = r'^(.*?)\w+:\/(.*?)#\s?$'

src/unicon/plugins/cheetah/ap/service_implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def call_service(self, command=None, reply=Dialog([]), timeout=None, *args,
2121
class Reload(GenericReload):
2222
def __init__(self, connection, context, **kwargs):
2323
super().__init__(connection, context, **kwargs)
24-
self.dialog = self.dialog + Dialog(ap_reload_list)
24+
self.dialog = self.dialog + Dialog(ap_reload_list)

src/unicon/plugins/cheetah/ap/service_patterns.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
class APReloadPatterns(ReloadPatterns):
66
def __init__(self):
77
super().__init__()
8-
self.ap_shell_prompt = r'^Proceed with reload (command (\W+cold\W)?)?(\?) (\[)+confirm+(\])$'
9-
8+
self.ap_shell_prompt = r'^Proceed with reload (command (\W+cold\W)?)?(\?) (\[)+confirm+(\])$'

src/unicon/plugins/cheetah/ap/service_statement.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
"""
22
Module:
33
unicon.plugins.generic
4-
54
Authors:
65
7-
86
Description:
97
Module for defining all Services Statement, handlers(callback) and Statement
108
list for service dialog would be defined here.
@@ -34,5 +32,4 @@ def send_response(spawn, response=""):
3432
continue_timer=False)
3533

3634
ap_reload_list = list(reload_statement_list)
37-
ap_reload_list.insert(0,ap_shell_prompt)
38-
35+
ap_reload_list.insert(0,ap_shell_prompt)

0 commit comments

Comments
 (0)