From 81aa5040dea4acfd21d98e2c8c735e82d0d0d166 Mon Sep 17 00:00:00 2001 From: Gokulnath Raja <87805083+Gokulnath-Raja@users.noreply.github.com> Date: Thu, 14 Sep 2023 06:21:30 +0530 Subject: [PATCH] RCA is When we are deleting the agent-id, hsflowd is referring for the eth0 interface and expecting samples in that interface. (#9766) (This is with the updated hsflowd , When you start hsflowd with no explicit agent-id configured, it will run an "election" to decide which IP address to adopt.) --- tests/sflow/test_sflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sflow/test_sflow.py b/tests/sflow/test_sflow.py index 9b9178c0004..044e0ad0da4 100644 --- a/tests/sflow/test_sflow.py +++ b/tests/sflow/test_sflow.py @@ -474,7 +474,7 @@ def testDelAgent(self, duthost, partial_ptf_runner): # Verify whether the samples are received with previously configured agent ip partial_ptf_runner( polling_int=20, - agent_id=var['lo_ip'], + agent_id=var['mgmt_ip'], active_collectors="['collector0','collector1']") def testAddAgent(self, duthost, partial_ptf_runner):