diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-31 08:00:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-31 08:00:31 +0200 |
commit | 10bf3c85278370ba03ca371ce3598e1fae470998 (patch) | |
tree | 07f49028e5cf6cb4f23ea81cb8a16a192504de5d /op-mode-definitions/include/rule-resequence.xml.i | |
parent | df15c8990c116c4264314d752abe4f1ea37403dc (diff) | |
parent | 014bf70b494bc0c479e97d8fa4cfe88d4c0d8498 (diff) | |
download | vyos-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/include/rule-resequence.xml.i')
-rw-r--r-- | op-mode-definitions/include/rule-resequence.xml.i | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/op-mode-definitions/include/rule-resequence.xml.i b/op-mode-definitions/include/rule-resequence.xml.i new file mode 100644 index 000000000..987bf634e --- /dev/null +++ b/op-mode-definitions/include/rule-resequence.xml.i @@ -0,0 +1,30 @@ +<!-- included start from show-nht.xml.i --> +<node name="rule-resequence"> + <properties> + <help>Resequence rules</help> + </properties> + <command>${vyos_op_scripts_dir}/generate_service_rule-resequence.py --service $2</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_service_rule-resequence.py --service $2 --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_service_rule-resequence.py --service $2 --start $5 --step $7</command> + </tagNode> + </children> + </tagNode> + </children> +</node> +<!-- included end --> |