Page MenuHomeVyOS Platform

"show interfaces" does not list VIF interfaces in ascending order
Closed, ResolvedPublicBUG

Description

vyos@vyos:~$ show interfaces | strip-private
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dum0             xxx.xxx.151.251/32                u/u
                 xxxx:xxxx:200:ffff::2/128
eth0             -                                 A/D
eth1             -                                 A/D
eth2             -                                 A/D
eth3             xxx.xxx.210.197/31                u/u  
                 xxx.xxx.151.223/31                     
                 xxxx:xxxx:200:ff::101:1/112            
eth4             -                                 u/u  
                                                        
                                                        
eth4.10          xxx.xxx.150.60/26                 u/u  
                 xxx.xxx.150.62/26                      
                 xxxx:xxxx:200::ffff/64
                 xxxx:xxxx:200:10::ffff/64
                 xxxx:xxxx:200::1:ffff/64
                 xxxx:xxxx:200:10::1:ffff/64
eth4.110         xxx.xxx.151.190/27                u/u  
                 xxx.xxx.151.158/28                     
                 xxxx:xxxx:200:101::ffff/64
eth4.15          xxx.xxx.150.76/28                 u/u  
                 xxx.xxx.150.78/28                      
                 xxxx:xxxx:200:15::ffff/64
                 xxxx:xxxx:200:15::1:ffff/64
eth4.410         xxx.xxx.151.206/28                u/u  
                 xxxx:xxxx:200:104::ffff/64             
eth4.450         xxx.xxx.151.142/29                A/D  
                 xxxx:xxxx:200:103::ffff/64
eth4.5           xxx.xxx.150.121/28                u/u  
                 xxx.xxx.150.120/28                     
                 xxxx:xxxx:200:f0::ffff/64
                 xxxx:xxxx:200:f0::4/64
eth4.500         xxx.xxx.151.236/28                u/u  
                 xxx.xxx.151.238/28                     
                 xxxx:xxxx:200:50::ffff/64
                 xxxx:xxxx:200:50::1:ffff/64
eth4.510         -                                 A/D  
                                                        
eth4.550         -                                 A/D  
                                                        
eth4.800         xxx.xxx.151.212/31                u/u  
                 xxxx:xxxx:200:ff::104:1/112            
                                                        
eth5             xxx.xxx.151.208/31                u/u  
                 xxxx:xxxx:200:ff::102:1/112            
                                                        
                                                        
lo               xxx.xxx.0.1/8                       u/u
                 ::1/128

I'd expect to see the VIFs in ascending order. eth4.5, eth4.10, eth4.15 ...

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202006150117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po renamed this task from "show interfaces" does not list VIF interfaces in natural sorted order to "show interfaces" does not list VIF interfaces in ascending order.Jun 15 2020, 2:18 PM
c-po assigned this task to thomas-mangin.
c-po created this task.
c-po moved this task from Need Triage to Backlog on the VyOS 1.3 Equuleus board.Jun 15 2020, 2:54 PM
c-po closed this task as Resolved.Jun 15 2020, 3:29 PM
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dum0             172.18.254.201/32                 u/u
eth0             -                                 u/u
eth0.5           -                                 u/u
eth0.10          -                                 u/u
eth0.15          -                                 u/u
eth0.201         172.18.201.10/24                  u/u
eth0.202         2001:affe::201/64                 u/u
eth1             fd00::ffff/64                     u/u
eth2             -                                 A/D
lo               127.0.0.1/8                       u/u
                 ::1/128

works as expected

c-po moved this task from Backlog to Finished on the VyOS 1.3 Equuleus board.Jul 7 2020, 4:10 PM