summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/rule-resequence.xml.i
blob: 987bf634e52b736ec38f4936c8d90cceada5da31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 -->