summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/interface-firewall-vif-c.xml.i
blob: 1bc235fcb91a1f4d1dea9f75af8f38cc3fef301b (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!-- include start from interface/interface-firewall-vif-c.xml.i -->
<node name="firewall" owner="${vyos_conf_scripts_dir}/firewall-interface.py $VAR(../../../@).$VAR(../../@).$VAR(../@)">
  <properties>
    <priority>615</priority>
    <help>Firewall options</help>
  </properties>
  <children>
    <node name="in">
      <properties>
        <help>forwarded packets on inbound interface</help>
      </properties>
      <children>
        <leafNode name="name">
          <properties>
            <help>Inbound IPv4 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall name</path>
            </completionHelp>
          </properties>
        </leafNode>
        <leafNode name="ipv6-name">
          <properties>
            <help>Inbound IPv6 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall ipv6-name</path>
            </completionHelp>
          </properties>
        </leafNode>
      </children>
    </node>
    <node name="out">
      <properties>
        <help>forwarded packets on outbound interface</help>
      </properties>
      <children>
        <leafNode name="name">
          <properties>
            <help>Outbound IPv4 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall name</path>
            </completionHelp>
          </properties>
        </leafNode>
        <leafNode name="ipv6-name">
          <properties>
            <help>Outbound IPv6 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall ipv6-name</path>
            </completionHelp>
          </properties>
        </leafNode>
      </children>
    </node>
    <node name="local">
      <properties>
        <help>packets destined for this router</help>
      </properties>
      <children>
        <leafNode name="name">
          <properties>
            <help>Local IPv4 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall name</path>
            </completionHelp>
          </properties>
        </leafNode>
        <leafNode name="ipv6-name">
          <properties>
            <help>Local IPv6 firewall ruleset name for interface</help>
            <completionHelp>
              <path>firewall ipv6-name</path>
            </completionHelp>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</node>
<!-- include end -->