Skip to content

Commit

Permalink
Merge pull request #472 from kytos-ng/fix/link_up_redeploy_2023.2.2
Browse files Browse the repository at this point in the history
[backport 2023.2.2] fix: only redeploy when handling kytos/topology.link_up if a dynamic EVC isn't active
  • Loading branch information
viniarck authored Jun 11, 2024
2 parents 842d40d + 8d451ea commit df859cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ All notable changes to the MEF_ELine NApp will be documented in this file.
[Unreleased]
************

[2023.2.2] - 2024-06-06
***********************

Fixed
=====
- Only redeploy when handling ``kytos/topology.link_up`` if a dynamic EVC isn't active

[2023.2.1] - 2024-05-23
***********************

Expand Down
2 changes: 1 addition & 1 deletion kytos.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"username": "kytos",
"name": "mef_eline",
"description": "NApp to provision circuits from user request",
"version": "2023.2.1",
"version": "2023.2.2",
"napp_dependencies": ["kytos/flow_manager", "kytos/pathfinder", "amlight/sndtrace_cp"],
"license": "MIT",
"tags": [],
Expand Down
2 changes: 1 addition & 1 deletion models/evc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ def handle_link_up(self, link):
# In this case, the circuit is not being used and we should
# try a dynamic path
(
lambda me: me.dynamic_backup_path,
lambda me: me.dynamic_backup_path and not me.is_active(),
lambda me: (me.deploy_to_path(), 'redeploy')
)
]
Expand Down

0 comments on commit df859cd

Please sign in to comment.