Migrate all vpn IPSec OP commands to VICI python module. We have already command show vpn ipsec sa which utilized VICI and will be good migrate others command to python code.
- Difficulty level
- Unknown (require assessment)
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
|Open||None||T2816 Rewrite IPsec scripts with the new XML/Python approach|
|Open||FEATURE REQUEST||Dmitry||T2641 Rewrite vpn ipsec OP commands in new style XML syntax|
Going to mention this in here:
I had problem resetting a tunnel configured with ipsec sourced from loopback with gre on top of that. When configured with @remote_it I was unable to use reset command.
olof@vyos_1.2.3:~$ reset vpn ipsec-peer @remote_id Resetting tunnel 1 with peer @remote_id... olof@vyos_1.2.3:~$ show vpn ipsec sa | grep remote_id peer-remote_id-tunnel-1 up 50 minutes 4M/2M
Only restart vpn actually reset that vpn peer (along with the rest of the tunnels configured on that vyosrouter)
And T2639 if it is relevant.