Page MenuHomeVyOS Platform

op-mode IPSec show vpn ipsec sa output with underscores
Closed, ResolvedPublicBUG

Description

We should replace the underscore with a hyphen.

1.4 output:

vyos@r1-roll:~$ show vpn ipsec sa
Connection          State    Uptime    Bytes In/Out    Packets In/Out    Remote address    Remote ID    Proposal
------------------  -------  --------  --------------  ----------------  ----------------  -----------  ----------------------------------
peer_192-0-2-1_vti  up       16m28s    0B/0B           0/0               192.0.2.1         N/A          AES_CBC_256/HMAC_SHA1_96/MODP_1024

1.3 output more preferable/readable:

[email protected]:~$ show vpn ipsec sa
Connection                 State    Uptime    Bytes In/Out    Packets In/Out    Remote address    Remote ID    Proposal
-------------------------  -------  --------  --------------  ----------------  ----------------  -----------  ----------------------------------
peer-192.0.2.2-tunnel-vti  up       17m37s    0B/0B           0/0               192.0.2.2         N/A          AES_CBC_256/HMAC_SHA1_96/MODP_1024

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202107280117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible