summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/rule-log-level.xml.i
blob: 4842b73ca6218003c50c28ef1bda69c2f60694cb (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
<!-- include start from firewall/common-rule.xml.i -->
<leafNode name="log">
  <properties>
    <help>Option to log packets matching rule</help>
    <completionHelp>
      <list>emerg alert crit err warn notice info debug</list>
    </completionHelp>
    <valueHelp>
      <format>emerg</format>
      <description>Emerg log level</description>
    </valueHelp>
    <valueHelp>
      <format>alert</format>
      <description>Alert log level</description>
    </valueHelp>
    <valueHelp>
      <format>crit</format>
      <description>Critical log level</description>
    </valueHelp>
    <valueHelp>
      <format>err</format>
      <description>Error log level</description>
    </valueHelp>
    <valueHelp>
      <format>warn</format>
      <description>Warning log level</description>
    </valueHelp>
    <valueHelp>
      <format>notice</format>
      <description>Notice log level</description>
    </valueHelp>
    <valueHelp>
      <format>info</format>
      <description>Info log level</description>
    </valueHelp>
    <valueHelp>
      <format>debug</format>
      <description>Debug log level</description>
    </valueHelp>
    <constraint>
      <regex>(emerg|alert|crit|err|warn|notice|info|debug)</regex>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->