summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/mirror.xml.i
blob: b3b45fb43d7e2435badb20f94515935095a22570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 -->