diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-06-10 17:47:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 17:47:51 +0300 |
commit | fcad9572e880ab5dd71636e0aa4842dc8997bc44 (patch) | |
tree | 8ab5210f5c4d716cd586ee93d04aeedba723d0ca /interface-definitions/include/firewall/rule-log-level.xml.i | |
parent | 865f38d22a072ee129af2044399ec74b262e897a (diff) | |
parent | 2f3fdb9e96a14abf89a32391b44e24b02c3a96f2 (diff) | |
download | vyos-1x-fcad9572e880ab5dd71636e0aa4842dc8997bc44.tar.gz vyos-1x-fcad9572e880ab5dd71636e0aa4842dc8997bc44.zip |
Merge pull request #1322 from nicolas-fort/T3907-fwall-log
Firewall: T3907: add log-level options in firewall
Diffstat (limited to 'interface-definitions/include/firewall/rule-log-level.xml.i')
-rw-r--r-- | interface-definitions/include/firewall/rule-log-level.xml.i | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/rule-log-level.xml.i b/interface-definitions/include/firewall/rule-log-level.xml.i new file mode 100644 index 000000000..10c8de5e3 --- /dev/null +++ b/interface-definitions/include/firewall/rule-log-level.xml.i @@ -0,0 +1,45 @@ +<!-- include start from firewall/common-rule.xml.i --> +<leafNode name="log-level"> + <properties> + <help>Set log-level. Log must be enable.</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 -->
\ No newline at end of file |