summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-interface-ethernet.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/source-interface-ethernet.xml.i')
-rw-r--r--interface-definitions/include/source-interface-ethernet.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/source-interface-ethernet.xml.i b/interface-definitions/include/source-interface-ethernet.xml.i
new file mode 100644
index 000000000..ad90bc4ac
--- /dev/null
+++ b/interface-definitions/include/source-interface-ethernet.xml.i
@@ -0,0 +1,12 @@
+<leafNode name="source-interface">
+ <properties>
+ <help>Physical interface the traffic will go through</help>
+ <valueHelp>
+ <format>interface</format>
+ <description>Physical interface used for traffic forwarding</description>
+ </valueHelp>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py -t ethernet</script>
+ </completionHelp>
+ </properties>
+</leafNode>