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

Difficulty level
Easy (less than an hour)
Version
1.3.0-epa3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Bug (incorrect behavior)

Event Timeline

c-po created this task.
c-po triaged this task as Low priority.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.0) board.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.