From 2f3fdb9e96a14abf89a32391b44e24b02c3a96f2 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Thu, 12 May 2022 09:37:47 -0300 Subject: Firewall: T3907: Revert migration script 6-to-7 and add new 7-to-8 --- .../include/firewall/common-rule.xml.i | 19 ++++++++++ .../include/firewall/name-default-log.xml.i | 41 ++-------------------- .../include/firewall/rule-log-level.xml.i | 4 +-- 3 files changed, 23 insertions(+), 41 deletions(-) (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i index 0b8838872..079864122 100644 --- a/interface-definitions/include/firewall/common-rule.xml.i +++ b/interface-definitions/include/firewall/common-rule.xml.i @@ -76,6 +76,25 @@ + + + Option to log packets matching rule + + enable disable + + + enable + Enable log + + + disable + Disable log + + + (enable|disable) + + + #include diff --git a/interface-definitions/include/firewall/name-default-log.xml.i b/interface-definitions/include/firewall/name-default-log.xml.i index c3f6f0171..1d0ff9497 100644 --- a/interface-definitions/include/firewall/name-default-log.xml.i +++ b/interface-definitions/include/firewall/name-default-log.xml.i @@ -1,45 +1,8 @@ - Option to log packets matching default-action - - emerg alert crit err warn notice info debug - - - emerg - Emerg log level - - - alert - Alert log level - - - crit - Critical log level - - - err - Error log level - - - warn - Warning log level - - - notice - Notice log level - - - info - Info log level - - - debug - Debug log level - - - (emerg|alert|crit|err|warn|notice|info|debug) - + Option to log packets hitting default-action + \ No newline at end of file diff --git a/interface-definitions/include/firewall/rule-log-level.xml.i b/interface-definitions/include/firewall/rule-log-level.xml.i index 4842b73ca..10c8de5e3 100644 --- a/interface-definitions/include/firewall/rule-log-level.xml.i +++ b/interface-definitions/include/firewall/rule-log-level.xml.i @@ -1,7 +1,7 @@ - + - Option to log packets matching rule + Set log-level. Log must be enable. emerg alert crit err warn notice info debug -- cgit v1.2.3