aefe1455af
* 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>
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# host-sflow package
|
|
|
|
HSFLOWD_VERSION = 2.0.34
|
|
HSFLOWD_SUBVERSION = 1
|
|
export HSFLOWD_VERSION HSFLOWD_SUBVERSION
|
|
|
|
HSFLOWD = hsflowd_$(HSFLOWD_VERSION)-$(HSFLOWD_SUBVERSION)_$(CONFIGURED_ARCH).deb
|
|
$(HSFLOWD)_DEPENDS += $(LIBHIREDIS_DEV)
|
|
$(HSFLOWD)_SRC_PATH = $(SRC_PATH)/sflow/hsflowd
|
|
|
|
SONIC_MAKE_DEBS += $(HSFLOWD)
|
|
|
|
HSFLOWD_DBG = hsflowd-dbg_$(HSFLOWD_VERSION)-$(HSFLOWD_SUBVERSION)_$(CONFIGURED_ARCH).deb
|
|
$(HSFLOWD_DBG)_DEPENDS += $(HSFLOWD)
|
|
$(HSFLOWD_DBG)_RDEPENDS += $(HSFLOWD)
|
|
$(eval $(call add_derived_package,$(HSFLOWD),$(HSFLOWD_DBG)))
|
|
|
|
export HSFLOWD HSFLOWD_DBG
|
|
|
|
# sflowtool package
|
|
|
|
SFLOWTOOL_VERSION = 5.04
|
|
export SFLOWTOOL_VERSION
|
|
|
|
SFLOWTOOL = sflowtool_$(SFLOWTOOL_VERSION)_$(CONFIGURED_ARCH).deb
|
|
$(SFLOWTOOL)_SRC_PATH = $(SRC_PATH)/sflow/sflowtool
|
|
|
|
SONIC_MAKE_DEBS += $(SFLOWTOOL)
|
|
export SFLOWTOOL
|
|
|
|
# psample package
|
|
|
|
PSAMPLE_VERSION = 1.1
|
|
PSAMPLE_SUBVERSION = 1
|
|
export PSAMPLE_VERSION PSAMPLE_SUBVERSION
|
|
|
|
PSAMPLE = psample_$(PSAMPLE_VERSION)-$(PSAMPLE_SUBVERSION)_$(CONFIGURED_ARCH).deb
|
|
$(PSAMPLE)_SRC_PATH = $(SRC_PATH)/sflow/psample
|
|
|
|
SONIC_MAKE_DEBS += $(PSAMPLE)
|
|
export PSAMPLE
|
|
|
|
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
|
# are archived into debug one image to facilitate debugging.
|
|
#
|
|
DBG_SRC_ARCHIVE += sflow
|