Page MenuHomeVyOS Platform

VRF: removing vif which belongs to a vrf, will delete the entire vrf from the operating system
Closed, ResolvedPublicBUG

Description

 ethernet eth1 {
     description OOB
-    vif 20 {
-        vrf MGMT
-    }
-    vif 200 {
-        address 1.1.1.1/32
-    }
     vrf MGMT
 }
DEBUG/IFCONFIG cmd 'ip link set dev eth1 up'
DEBUG/IFCONFIG cmd 'sudo systemctl stop [email protected]'
DEBUG/IFCONFIG cmd 'sudo systemctl stop [email protected]'
DEBUG/IFCONFIG cmd 'ip addr flush dev "MGMT"'
DEBUG/IFCONFIG cmd 'ip link del dev MGMT'
DEBUG/IFCONFIG cmd 'sudo systemctl stop [email protected]'
DEBUG/IFCONFIG cmd 'sudo systemctl stop [email protected]'
DEBUG/IFCONFIG cmd 'ip addr flush dev "eth1.20"'
DEBUG/IFCONFIG cmd 'ip link del dev eth1.20'

Details

Difficulty level
Unknown (require assessment)
Version
1.3.0-rc1
Why the issue appeared?
Design mistake
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po created this task.
c-po changed the task status from Open to In progress.Mar 27 2021, 2:34 PM
c-po triaged this task as High priority.
c-po added a project: VyOS 1.3 Equuleus.
c-po changed Version from 1.4-rolling-202103262220 to 1.3.0-rc1.
c-po changed Why the issue appeared? from Will be filled on close to Design mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Stricter validation.
c-po changed the task status from In progress to Needs testing.Mar 29 2021, 4:29 PM
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:39 PM