summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-07 16:48:00 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-07 16:48:00 +0100
commit56a966f94b5c5bbe7f57b80316f3ba389534ad5f (patch)
treea14025810c0210c651205e87e21d3919d4fe0fbb /interface-definitions/vpn_ipsec.xml.in
parenta4cf71912d52de4398273405b5682d8da5e1dbe3 (diff)
downloadvyos-1x-56a966f94b5c5bbe7f57b80316f3ba389534ad5f.tar.gz
vyos-1x-56a966f94b5c5bbe7f57b80316f3ba389534ad5f.zip
xml: provide and use common interface-name building blocks
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in19
1 files changed, 2 insertions, 17 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index 164ba6618..cfa456e42 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -498,15 +498,7 @@
<help>Sets to include an additional secrets file for strongSwan. Use an absolute path to specify the included file.</help>
</properties>
</leafNode>
- <leafNode name="interface">
- <properties>
- <help>Onterface used for IPsec communication</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
- </completionHelp>
- <multi/>
- </properties>
- </leafNode>
+ #include <include/generic-interface-multi.xml.i>
<node name="log">
<properties>
<help>IPsec logging</help>
@@ -822,14 +814,7 @@
<help>DHCP pool options for remote-access</help>
</properties>
<children>
- <leafNode name="interface">
- <properties>
- <help>Interface with DHCP server to use</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
- </completionHelp>
- </properties>
- </leafNode>
+ #include <include/generic-interface.xml.i>
<leafNode name="server">
<properties>
<help>DHCP server address</help>