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 dhclient@MGMT.service'
DEBUG/IFCONFIG cmd 'sudo systemctl stop dhcp6c@MGMT.service'
DEBUG/IFCONFIG cmd 'ip addr flush dev "MGMT"'
DEBUG/IFCONFIG cmd 'ip link del dev MGMT'
DEBUG/IFCONFIG cmd 'sudo systemctl stop dhclient@eth1.20.service'
DEBUG/IFCONFIG cmd 'sudo systemctl stop dhcp6c@eth1.20.service'
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

Event Timeline

c-po created this task.
c-po changed the task status from Open to In progress.Sat, Mar 27, 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.Mon, Mar 29, 4:29 PM