summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-tunnel.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-14 21:40:52 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-17 07:28:50 +0200
commited361a8254073505c1183bc884aa2bcb6ff0b76c (patch)
treeebdc477094470f42e5d6e0fa84c2e2e8c952a04f /interface-definitions/interfaces-tunnel.xml.in
parentb04c4e21a07126d40702123e1122cd200883ccda (diff)
downloadvyos-1x-ed361a8254073505c1183bc884aa2bcb6ff0b76c.tar.gz
vyos-1x-ed361a8254073505c1183bc884aa2bcb6ff0b76c.zip
xml: provide common "dhcp-interface" include block
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
-rw-r--r--interface-definitions/interfaces-tunnel.xml.in16
1 files changed, 1 insertions, 15 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in
index 56f8ea79c..6851c0354 100644
--- a/interface-definitions/interfaces-tunnel.xml.in
+++ b/interface-definitions/interfaces-tunnel.xml.in
@@ -61,21 +61,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="dhcp-interface">
- <properties>
- <help>dhcp interface</help>
- <valueHelp>
- <format>interface</format>
- <description>DHCP interface that supplies the local IP address for this tunnel</description>
- </valueHelp>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
- </completionHelp>
- <constraint>
- <regex>^(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+$</regex>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/dhcp-interface.xml.i>
<leafNode name="encapsulation">
<properties>
<help>Encapsulation of this tunnel interface</help>