From 84133f858a64a51cf4d77be5f1052bf0a86b5e62 Mon Sep 17 00:00:00 2001 From: Gokulnath-Raja Date: Wed, 30 Aug 2023 14:03:43 -0400 Subject: [PATCH] RCA is When we are deleting the agent-id, hsflowd is referring for the eth0 interface and expecting samples in that interface. (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.) Signed-off-by: Gokulnath-Raja Co-authored-by: mohanapriya-meganathan --- 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):