From aefe1455af5e1292a08564092ce0744f3bcbf590 Mon Sep 17 00:00:00 2001 From: maksymbelei95 <75987222+maksymbelei95@users.noreply.github.com> Date: Sun, 28 Mar 2021 07:09:57 +0300 Subject: [PATCH] [sflow] Update version of hsflowd (#7137) * Updating version of hsflow daemon to apply fix, which resolves problem of switching between IPv4 and IPv6, in case when the IPv4 has deleted for the interface. The new release of hsflowd contains the fix for the issue: sflow/host-sflow@2703ecb How I did it HSFLOWD_VERSION env variable has changed in the rules to be pointed to the latest release of hsflowd. How to verify it sudo config sflow enable sudo config loopback add Loopback1 sudo config int ip add Loopback1 a84f:97ff:fea7:33a5::fe80/64 sudo config int ip add Loopback1 192.168.101.1/24 sudo config sflow agent-id add Loopback1 sudo config sflow collector add Collector1 192.168.101.1 sudo config sflow collector add Collector2 a84f:97ff:fea7:33a5::fe80 use sudo sflowtool -p 6343 -l for checking sflow data remove and add again the ipv4 entry of Loopback1. hsflowd should change agent ip from IPv4 to IPv6 and wise versa, depending on IPv4 entry present or not. Switching between IPs is being performed by hsflowd, based on IP address priority ranking. Signed-off-by: Maksym Belei --- rules/sflow.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/sflow.mk b/rules/sflow.mk index 7f0ac72bed..1942a91065 100644 --- a/rules/sflow.mk +++ b/rules/sflow.mk @@ -1,6 +1,6 @@ # host-sflow package -HSFLOWD_VERSION = 2.0.32 +HSFLOWD_VERSION = 2.0.34 HSFLOWD_SUBVERSION = 1 export HSFLOWD_VERSION HSFLOWD_SUBVERSION