summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/mirror.xml.i
blob: 903c62777c0885cf62cf94de0febacde489d3a0f (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
26
27
28
29
30
31
32
33
<!-- include start from interface/mirror.xml.i -->
<node name="mirror">
  <properties>
    <help>Mirror ingress/egress packets</help>
  </properties>
  <children>
    <leafNode name="ingress">
      <properties>
        <help>Mirror ingress traffic to destination interface</help>
        <completionHelp>
          <script>${vyos_completion_dir}/list_interfaces</script>
        </completionHelp>
        <valueHelp>
          <format>txt</format>
          <description>Destination interface name</description>
        </valueHelp>
      </properties>
    </leafNode>
    <leafNode name="egress">
      <properties>
        <help>Mirror egress traffic to destination interface</help>
        <completionHelp>
          <script>${vyos_completion_dir}/list_interfaces</script>
        </completionHelp>
        <valueHelp>
          <format>txt</format>
          <description>Destination interface name</description>
        </valueHelp>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->