From 072f030e9a995c14c36e7bbf0a030e7781cf070d Mon Sep 17 00:00:00 2001 From: David Ramirez Date: Tue, 18 Jul 2023 19:44:52 +0000 Subject: [PATCH 1/3] Raised default lldp flow priority to 50000 --- CHANGELOG.rst | 5 +++++ settings.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 24cc226..d543e45 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,11 @@ All notable changes to the of_lldp NApp will be documented in this file. [UNRELEASED] - Under development ******************************** +Changed +======= + +- Raised defaultt ``settings.FLOW_PRIORITY`` to 50000. + [2022.3.1] - 2023-06-28 *********************** diff --git a/settings.py b/settings.py index 059bee9..580aa7b 100644 --- a/settings.py +++ b/settings.py @@ -1,6 +1,6 @@ """Settings for the of_lldp NApp.""" FLOW_VLAN_VID = 3799 -FLOW_PRIORITY = 1000 +FLOW_PRIORITY = 50000 TABLE_ID = 0 POLLING_TIME = 3 From cc85e61782b1105ddb30631164192c4c200eb759 Mon Sep 17 00:00:00 2001 From: David Ramirez Date: Tue, 18 Jul 2023 19:47:04 +0000 Subject: [PATCH 2/3] release: bumped 2022.3.2 --- CHANGELOG.rst | 3 +++ kytos.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d543e45..4beb01e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,9 @@ All notable changes to the of_lldp NApp will be documented in this file. [UNRELEASED] - Under development ******************************** +[2022.3.2] - 2023-07-18 +*********************** + Changed ======= diff --git a/kytos.json b/kytos.json index 4b853e7..27d7c3d 100644 --- a/kytos.json +++ b/kytos.json @@ -3,7 +3,7 @@ "username": "kytos", "name": "of_lldp", "description": "Discover network-to-network interfaces (NNIs) using the LLDP protocol.", - "version": "2022.3.1", + "version": "2022.3.2", "napp_dependencies": ["kytos/of_core", "kytos/flow_manager", "kytos/topology"], "license": "MIT", "url": "https://github.com/kytos/of_lldp.git", From f7dc577d50f99f321a2bb94b34b04318b716e28c Mon Sep 17 00:00:00 2001 From: David Ramirez Date: Mon, 24 Jul 2023 18:51:27 +0000 Subject: [PATCH 3/3] Included flow clean up info in changelog --- CHANGELOG.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4beb01e..5a4c731 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,10 @@ Changed - Raised defaultt ``settings.FLOW_PRIORITY`` to 50000. +General Information +=================== +- To clean up lldp flows with the old priority, run the following command, then restart kytos: ``curl -H 'Content-type: application/json' -X DELETE http://127.0.0.1:8181/api/kytos/flow_manager/v2/flows/ -d '{"flows": [{"cookie": 12321848580485677056, "cookie_mask": 18374686479671623680}]}'`` + [2022.3.1] - 2023-06-28 ***********************