Page MenuHomeVyOS Platform

flow-accounting: drop "sflow agent-address auto"
Closed, ResolvedPublicFEATURE REQUEST

Description

The implementation of the "auto" option to specify the sflow/netflow agent-address is very error prone.

The current implementation will determine the IP address used for the "auto" value as follow:

  1. Get BGP router-id
  2. If not found use OSPF router-id
  3. If not found use OSPFv3 router-id
  4. If not found use "the first IP address found on the system

Well, what is the "first IP address found"? Also this changes if DHCP is in use. Also another disadvantage is when the BGP/OSPF/OSPFv3 router-id is changed, the agent-address is not updated upon the next reboot of the system.

This task is about removing the "auto" keyword from the CLI at all and make it either entirely configurable by the user and hardcode the value in CLI, or not use this at all.

If "auto" is specified we will query the system in the above order and set the proper router-id in the CLI. If none can be found the CLI node is removed.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (migratable)
Issue type
Feature (new functionality)

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTc-po

Event Timeline

c-po triaged this task as Normal priority.
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po updated the task description. (Show Details)
c-po renamed this task from flow-accounting: drop "agent-address auto" to flow-accounting: drop "sflow agent-address auto".Dec 25 2021, 9:49 PM