Page MenuHomeVyOS Platform

ethernet: deleting interface should place interface in admin down state
Closed, ResolvedPublicBUG

Description

This is actually a rare use-case

cpo@LR2.wue3# run show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u
eth1             -                                 u/D
eth2             -                                 u/D
lo               127.0.0.1/8                       u/u
                 ::1/128
cpo@LR2.wue3# delete interfaces ethernet eth2
cpo@LR2.wue3# commit
cpo@LR2.wue3# run show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u
eth1             -                                 u/D
eth2             -                                 u/D
lo               127.0.0.1/8                       u/u
                 ::1/128

As the interface is removed from the config we should automatically place it in admin-down state

Details

Version
1.3.0-epa3
Is it a breaking change?
Behavior change
Issue type
Bug (incorrect behavior)