Page MenuHomeVyOS Platform

Add xml for vpn ipsec
Closed, ResolvedPublic

Description

Create XML for CLI

set vpn ipsec

Details

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

Related Objects

Event Timeline

Viacheslav created this task.
Viacheslav created this object in space S1 VyOS Public.

PR https://github.com/vyos/vyos-1x/pull/626

Now new functionality, only XML with name nipsec For further writing and editing of the new format.

vyos@r5# run show conf com | match ipsec
set vpn nipsec auto-update '123'
set vpn nipsec esp-group FOO-ESP compression 'disable'
set vpn nipsec esp-group FOO-ESP mode 'tunnel'

vyos@r5# commit
[ vpn nipsec ]
{'auto_update': '123',
 'esp_group': {'FOO_ESP': {'compression': 'disable', 'mode': 'tunnel'}}}
Viacheslav changed the task status from Open to Needs testing.Dec 1 2020, 5:26 PM
c-po edited projects, added VyOS 1.4 Sagitta; removed VyOS 1.3 Equuleus.