Create XML for CLI
set vpn ipsec
Create XML for CLI
set vpn ipsec
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | sarthurdev | T2816 Rewrite IPsec scripts with the new XML/Python approach | |||
| Resolved | Viacheslav | T3093 Add xml for vpn ipsec |
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'}}}