summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp-interface.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/dhcp-interface.xml.i')
-rw-r--r--interface-definitions/include/dhcp-interface.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp-interface.xml.i b/interface-definitions/include/dhcp-interface.xml.i
new file mode 100644
index 000000000..939b45f15
--- /dev/null
+++ b/interface-definitions/include/dhcp-interface.xml.i
@@ -0,0 +1,15 @@
+ <leafNode name="dhcp-interface">
+ <properties>
+ <help>DHCP interface supplying next-hop IP address</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>DHCP interface name</description>
+ </valueHelp>
+ <constraint>
+ <validator name="interface-name"/>
+ </constraint>
+ </properties>
+ </leafNode>