summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/mirror.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/interface/mirror.xml.i')
-rw-r--r--interface-definitions/include/interface/mirror.xml.i25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/mirror.xml.i b/interface-definitions/include/interface/mirror.xml.i
new file mode 100644
index 000000000..b3b45fb43
--- /dev/null
+++ b/interface-definitions/include/interface/mirror.xml.i
@@ -0,0 +1,25 @@
+<!-- include start from interface/interface-mirror.xml.i -->
+<node name="mirror">
+ <properties>
+ <help>Incoming/outgoing packet mirroring destination</help>
+ </properties>
+ <children>
+ <leafNode name="ingress">
+ <properties>
+ <help>Mirror the ingress traffic of the interface to the destination interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="egress">
+ <properties>
+ <help>Mirror the egress traffic of the interface to the destination interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->