Page MenuHomeVyOS Platform

PPP Interfaces Missing from Tab Completion in Flow Accounting
Closed, WontfixPublicBUG

Description

Possible completion (TAB) missing PPP interfaces

When using show flow-accounting interface <Tab>, only physical interfaces are shown in completions:

vyos@PPPOE-SERVER:~$ show flow-accounting interface
Possible completions:
  eth0
  eth1
  eth2
  lo

PPP interfaces are not listed, even though they are configured in flow-accounting and work correctly when typed manually:

vyos@PPPOE-SERVER:~$ show flow-accounting interface ppp1
IN_IFACE    SRC_MAC            DST_MAC            SRC_IP      DST_IP        SRC_PORT    DST_PORT    PROTOCOL    TOS    PACKETS    BYTES
----------  -----------------  -----------------  ----------  ----------  ----------  ----------  ----------  -----  ---------  -------
ppp1        00:00:00:00:00:00  00:00:00:00:00:00  10.0.0.102  10.0.0.100           0           0           1      0       1594   133896
ppp1        00:00:00:00:00:00  00:00:00:00:00:00  10.0.0.102  10.0.0.101           0        2048           1      0       1187    99708

Details

Version
1.5.0
Is it a breaking change?
Behavior change
Issue type
Cosmetic issue (typos etc.)

Event Timeline

Pay attention, for BRAS with ~10K+ PPPoE interfaces, it is not the best solution. You will see 10K interfaces in the completion help.
As interfaces are dynamic, is there any sense in this action?

Pay attention, for BRAS with ~10K+ PPPoE interfaces, it is not the best solution. You will see 10K interfaces in the completion help.
As interfaces are dynamic, is there any sense in this action?

Taking into account your comment, I can conclude it's expected behaviour, called from my side as a bug mistakenly, during testing. I cannot advise any action required, except (probably) to highlight or document this behaviour to avoid reopening this discussion in the future.

Viacheslav claimed this task.

We agreed not to add a completion help for interfaces created by the PPPoE server.
But you can use it anyway if you know an interface name.