diff options
author | khramshinr <khramshinr@gmail.com> | 2024-06-24 19:56:21 +0600 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-30 12:00:36 +0000 |
commit | 014bf70b494bc0c479e97d8fa4cfe88d4c0d8498 (patch) | |
tree | b152ca36af6c1177a485f564e043cf1faccd244d /op-mode-definitions/include/rule-resequence.xml.i | |
parent | 0dc8b5899e05231850fee3461545305bd7ba3862 (diff) | |
download | vyos-1x-014bf70b494bc0c479e97d8fa4cfe88d4c0d8498.tar.gz vyos-1x-014bf70b494bc0c479e97d8fa4cfe88d4c0d8498.zip |
T6313: Add "NAT" to "generate" command for rule resequence
(cherry picked from commit 142545b0535d0a994182389c99b7bcd6d7c37c24)
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 --> |