diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-17 07:26:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-17 07:30:54 +0200 |
commit | 227391443df088f186f1719ae470ebb35d2ff706 (patch) | |
tree | 40829134643013fb96fd509c1cf9bdc722629bc9 /interface-definitions/vpn_ipsec.xml.in | |
parent | 6a8080e1c0a7254ffb7046d543b9bff5618ff136 (diff) | |
download | vyos-1x-227391443df088f186f1719ae470ebb35d2ff706.tar.gz vyos-1x-227391443df088f186f1719ae470ebb35d2ff706.zip |
ipsec: T2816: migrate "ipsec interfaces" to "interface"
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r-- | interface-definitions/vpn_ipsec.xml.in | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index 8399cf7f4..9dbebdc0f 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -52,6 +52,7 @@ <regex>^(disable|enable)$</regex> </constraint> </properties> + <defaultValue>disable</defaultValue> </leafNode> <leafNode name="lifetime"> <properties> @@ -509,22 +510,15 @@ <help>Sets to include an additional secrets file for strongSwan. Use an absolute path to specify the included file.</help> </properties> </leafNode> - <node name="ipsec-interfaces"> + <leafNode name="interface"> <properties> - <help>Interface to use for VPN [REQUIRED]</help> + <help>Onterface used for IPsec communication</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + <multi/> </properties> - <children> - <leafNode name="interface"> - <properties> - <help>IPsec interface [REQUIRED]</help> - <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py</script> - </completionHelp> - <multi/> - </properties> - </leafNode> - </children> - </node> + </leafNode> <node name="log"> <properties> <help>IPsec logging</help> |