Page MenuHomeVyOS Platform

Display disabled VRRP instances in a `show vrrp` output
Closed, ResolvedPublicFEATURE REQUEST

Description

All info for the show vrrp command is received from the keepalived daemon. Therefore, instances which do not exist in the keepalived.conf will not be displayed.
For a better informativity, it would be good to show disabled instances too with appropriate status.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

zsdc changed the task status from Open to Needs testing.Apr 3 2020, 2:08 PM
Unknown Object (User) added a subscriber: Unknown Object (User).Apr 3 2020, 2:12 PM
Unknown Object (User) added a subscriber: Unknown Object (User).Aug 20 2020, 6:07 PM
Viacheslav claimed this task.
Viacheslav added a subscriber: Viacheslav.

I see correct state "disabled"

vyos@r4-roll:~$ show conf com | match GRP02
set high-availability vrrp group GRP02 disable
set high-availability vrrp group GRP02 hello-source-address '100.64.1.1'
set high-availability vrrp group GRP02 interface 'eth1'
set high-availability vrrp group GRP02 no-preempt
set high-availability vrrp group GRP02 peer-address '100.64.1.2'
set high-availability vrrp group GRP02 priority '150'
set high-availability vrrp group GRP02 rfc3768-compatibility
set high-availability vrrp group GRP02 virtual-address '100.64.1.254/24'
set high-availability vrrp group GRP02 vrid '11'
vyos@r4-roll:~$ show vrrp 
Name    Interface      VRID  State     Priority    Last Transition
------  -----------  ------  --------  ----------  -----------------
GRP01   eth1v10          10  MASTER    150         37s
GRP02   eth1             11  DISABLED
vyos@r4-roll:~$
erkin set Issue type to Feature (new functionality).Aug 30 2021, 7:49 AM
erkin removed a subscriber: Active contributors.