From 74994f9b10588fce2cbd1acc9ec09fdbaf5ae8ad Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 30 Aug 2022 17:18:17 +0200 Subject: firewall: T3568: rename XML building blocks to match CLI node name --- interface-definitions/firewall.xml.in | 8 +++---- .../include/firewall/default-action.xml.i | 25 ++++++++++++++++++++++ .../include/firewall/enable-default-log.xml.i | 8 +++++++ .../include/firewall/name-default-action.xml.i | 25 ---------------------- .../include/firewall/name-default-log.xml.i | 8 ------- interface-definitions/policy-route.xml.in | 4 ++-- interface-definitions/zone-policy.xml.in | 2 +- 7 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 interface-definitions/include/firewall/default-action.xml.i create mode 100644 interface-definitions/include/firewall/enable-default-log.xml.i delete mode 100644 interface-definitions/include/firewall/name-default-action.xml.i delete mode 100644 interface-definitions/include/firewall/name-default-log.xml.i diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 2e9452dfd..d28abccd6 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -342,8 +342,8 @@ - #include - #include + #include + #include #include @@ -530,8 +530,8 @@ - #include - #include + #include + #include #include diff --git a/interface-definitions/include/firewall/default-action.xml.i b/interface-definitions/include/firewall/default-action.xml.i new file mode 100644 index 000000000..b11dfd2e8 --- /dev/null +++ b/interface-definitions/include/firewall/default-action.xml.i @@ -0,0 +1,25 @@ + + + + Default-action for rule-set + + drop reject accept + + + drop + Drop if no prior rules are hit + + + reject + Drop and notify source if no prior rules are hit + + + accept + Accept if no prior rules are hit + + + (drop|reject|accept) + + + + diff --git a/interface-definitions/include/firewall/enable-default-log.xml.i b/interface-definitions/include/firewall/enable-default-log.xml.i new file mode 100644 index 000000000..1e64edc6e --- /dev/null +++ b/interface-definitions/include/firewall/enable-default-log.xml.i @@ -0,0 +1,8 @@ + + + + Option to log packets hitting default-action + + + + \ No newline at end of file diff --git a/interface-definitions/include/firewall/name-default-action.xml.i b/interface-definitions/include/firewall/name-default-action.xml.i deleted file mode 100644 index 512b0296f..000000000 --- a/interface-definitions/include/firewall/name-default-action.xml.i +++ /dev/null @@ -1,25 +0,0 @@ - - - - Default-action for rule-set - - drop reject accept - - - drop - Drop if no prior rules are hit - - - reject - Drop and notify source if no prior rules are hit - - - accept - Accept if no prior rules are hit - - - (drop|reject|accept) - - - - diff --git a/interface-definitions/include/firewall/name-default-log.xml.i b/interface-definitions/include/firewall/name-default-log.xml.i deleted file mode 100644 index 1d0ff9497..000000000 --- a/interface-definitions/include/firewall/name-default-log.xml.i +++ /dev/null @@ -1,8 +0,0 @@ - - - - Option to log packets hitting default-action - - - - \ No newline at end of file diff --git a/interface-definitions/policy-route.xml.in b/interface-definitions/policy-route.xml.in index a10c9b08f..c2a9a8d94 100644 --- a/interface-definitions/policy-route.xml.in +++ b/interface-definitions/policy-route.xml.in @@ -12,7 +12,7 @@ #include - #include + #include Policy rule number @@ -61,7 +61,7 @@ #include - #include + #include Policy rule number diff --git a/interface-definitions/zone-policy.xml.in b/interface-definitions/zone-policy.xml.in index dca4c59d1..dc3408c3d 100644 --- a/interface-definitions/zone-policy.xml.in +++ b/interface-definitions/zone-policy.xml.in @@ -19,7 +19,7 @@ #include - #include + #include Default-action for traffic coming into this zone -- cgit v1.2.3