summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-interface-ethernet.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-20 21:02:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-20 21:03:35 +0200
commitd457ef195293b8f4971ecded227134f0bec0fc0a (patch)
treeaa5a47b8ade5e32e88ecc94dafd75c7e542573e4 /interface-definitions/include/source-interface-ethernet.xml.i
parentad44a7301c038e0a300a20fc26952e86b3b92d83 (diff)
downloadvyos-1x-d457ef195293b8f4971ecded227134f0bec0fc0a.tar.gz
vyos-1x-d457ef195293b8f4971ecded227134f0bec0fc0a.zip
macvlan: T2023: prepare common source interface include file
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>