summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate_firewall_rule-resequence.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-31 08:00:31 +0200
committerGitHub <noreply@github.com>2024-07-31 08:00:31 +0200
commit10bf3c85278370ba03ca371ce3598e1fae470998 (patch)
tree07f49028e5cf6cb4f23ea81cb8a16a192504de5d /op-mode-definitions/generate_firewall_rule-resequence.xml.in
parentdf15c8990c116c4264314d752abe4f1ea37403dc (diff)
parent014bf70b494bc0c479e97d8fa4cfe88d4c0d8498 (diff)
downloadvyos-1x-10bf3c85278370ba03ca371ce3598e1fae470998.tar.gz
vyos-1x-10bf3c85278370ba03ca371ce3598e1fae470998.zip
Merge pull request #3906 from vyos/mergify/bp/circinus/pr-3715
T6313: Add "NAT" to "generate" command for rule resequence (backport #3715)
Diffstat (limited to 'op-mode-definitions/generate_firewall_rule-resequence.xml.in')
-rw-r--r--op-mode-definitions/generate_firewall_rule-resequence.xml.in29
1 files changed, 1 insertions, 28 deletions
diff --git a/op-mode-definitions/generate_firewall_rule-resequence.xml.in b/op-mode-definitions/generate_firewall_rule-resequence.xml.in
index 66078deb9..ef81579fa 100644
--- a/op-mode-definitions/generate_firewall_rule-resequence.xml.in
+++ b/op-mode-definitions/generate_firewall_rule-resequence.xml.in
@@ -7,34 +7,7 @@
<help>Firewall</help>
</properties>
<children>
- <node name="rule-resequence">
- <properties>
- <help>Resequence the firewall rules</help>
- </properties>
- <command>${vyos_op_scripts_dir}/generate_firewall_rule-resequence.py</command>
- <children>
- <tagNode name="start">
- <properties>
- <help>Set the first sequence number</help>
- <completionHelp>
- <list>1-1000</list>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/generate_firewall_rule-resequence.py --start $5</command>
- <children>
- <tagNode name="step">
- <properties>
- <help>Step between rules</help>
- <completionHelp>
- <list>1-1000</list>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/generate_firewall_rule-resequence.py --start $5 --step $7</command>
- </tagNode>
- </children>
- </tagNode>
- </children>
- </node>
+ #include <include/rule-resequence.xml.i>
</children>
</node>
</children>