Page MenuHomeVyOS Platform

static ipv6 route doesn't deleted in some cases
Closed, ResolvedPublicBUG

Description

To reproduce it we need 2 commits for the same route.

For 1.3 behavior:

set protocols static route6 ::/0 next-hop fe80::11
commit
set protocols static route6 ::/0 next-hop fe80::11 interface eth0
commit

Check routes:

[email protected]# vtysh -c "show run | include ipv"
ipv6 route ::/0 fe80::11 eth0
ipv6 route ::/0 fe80::11
[edit]

Delete all protocols, expected behavior delete all routes

[email protected]# delete protocols 
[edit]
[email protected]# commit
[edit]
[email protected]# vtysh -c "show run | include ipv"
ipv6 route ::/0 fe80::11
[edit]

For 1.2.8 behavior:

set protocols static route6 ::/0 next-hop fe80::11
commit
set protocols static route6 ::/0 next-hop fe80::11 interface eth0
commit
set protocols static route6 ::/0 next-hop cafe:e1f::11
commit
set protocols static route6 ::/0 next-hop cafe:e1f::11 interface eth0
commit

delete protocols
commit

Check routes:

vyos@r12-lts:~$ vtysh -c "show run | include ipv"
ipv6 route ::/0 fe80::11
ipv6 route ::/0 fe80::11 eth0
ipv6 route ::/0 cafe:e1f::11
ipv6 route ::/0 cafe:e1f::11 eth0

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3.0-rc5, 1.2.8
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Viacheslav changed Version from VyOS 1.3.0-rc5 to VyOS 1.3.0-rc5, 1.2.8.Jul 16 2021, 8:30 PM
Viacheslav moved this task from Backport Candidates to Finished on the VyOS 1.3 Equuleus board.
Viacheslav moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.9) board.