summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/match-interface.xml.i
blob: 7810f88abe0f5339399c0689d2f44bc608db7812 (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
34
35
36
37
38
39
40
41
<!-- include start from firewall/match-interface.xml.i -->
<leafNode name="interface-name">
  <properties>
    <help>Match interface</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_interfaces</script>
    </completionHelp>
    <valueHelp>
      <format>txt</format>
      <description>Interface name</description>
    </valueHelp>
    <valueHelp>
      <format>txt*</format>
      <description>Interface name with wildcard</description>
    </valueHelp>
    <valueHelp>
      <format>!txt</format>
      <description>Inverted interface name to match</description>
    </valueHelp>
    <constraint>
      #include <include/constraint/interface-name-with-wildcard-and-inverted.xml.i>
    </constraint>
  </properties>
</leafNode>
<leafNode name="interface-group">
  <properties>
    <help>Match interface-group</help>
    <completionHelp>
      <path>firewall group interface-group</path>
    </completionHelp>
    <valueHelp>
      <format>txt</format>
      <description>Interface-group name to match</description>
    </valueHelp>
    <valueHelp>
      <format>!txt</format>
      <description>Inverted interface-group name to match</description>
    </valueHelp>
  </properties>
</leafNode>
<!-- include end -->