diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 56827af6..96f3a2d1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 *********************** diff --git a/kytos.json b/kytos.json index c6670bb8..6d95632d 100644 --- a/kytos.json +++ b/kytos.json @@ -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": [], diff --git a/models/evc.py b/models/evc.py index a9c6ddd0..3eeb3f82 100644 --- a/models/evc.py +++ b/models/evc.py @@ -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') ) ]