Skip to content

[sflow] Update version of hsflowd#7137

Merged
lguohan merged 1 commit intomasterfrom
unknown repository
Mar 28, 2021
Merged

[sflow] Update version of hsflowd#7137
lguohan merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 24, 2021

  • 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.

Signed-off-by: Maksym Belei Maksym_Belei@jabil.com

Why I did it

Resolves #6951
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

  1. sudo config sflow enable
  2. 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
  3. 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
  4. use sudo sflowtool -p 6343 -l for checking sflow data
  5. 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.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

The issue has reported on 202012, but is reproducible on master branch too.

Description for the changelog

Update of hsflowd to the latest release version.

* 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.

Signed-off-by: Maksym Belei <Maksym_Belei@jabil.com>
@ghost ghost requested review from lguohan, qiluo-msft and xumia as code owners March 24, 2021 08:38
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Mar 25, 2021

/azp run

1 similar comment
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Mar 27, 2021

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@lguohan lguohan merged commit aefe145 into sonic-net:master Mar 28, 2021
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
* 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 <Maksym_Belei@jabil.com>
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
* 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 <Maksym_Belei@jabil.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sflow] | sflow doesn't switch to IPv6 agent-id if IPv4 address was removed from interface

1 participant