Page MenuHomeVyOS Platform

VPP sflow not work when enable-egress is disabled
Closed, ResolvedPublicBUG

Description

When VPP sFlow is enabled, VyOS generates hsflowd configuration that does not include a valid PSAMPLE group unless set system sflow enable-egress is also configured.

Observed behavior

With VPP sFlow enabled but without set system sflow enable-egress, the generated hsflowd config contains either:

psample { }

As a result, hsflowd does not receive/export VPP packet samples.

If I add set system sflow enable-egress

the generated config becomes:

psample { group=1 egress=on }

and VPP sFlow data is exported correctly.

Expected behavior

enable-egress should only control egress PSAMPLE handling. VPP sFlow should still configure the ingress PSAMPLE group when egress is disabled.

Expected generated config:

psample { group=1 }

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

sorry, With VPP sFlow enabled but without set system sflow enable-egress, the generated hsflowd config will not contain psample { group=1 }. I cannot edit this task. I think I choose the wrong form type (I should create bug report, not task)

natali-rs1985 changed the task status from Open to In progress.Jul 9 2026, 9:31 AM
natali-rs1985 claimed this task.
natali-rs1985 changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav changed the subtype of this task from "Task" to "Bug".Jul 9 2026, 9:58 AM
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.