ON THIS PAGE
insert
Usage
<rpc>
<load-configuration>
<configuration>
<!-- opening tag for each parent of the set -->
<ordered-set insert="first">
<name>identifier-for-moving-object</name>
</ordered-set>
<!-- if each element in the ordered set has one identifier -->
<ordered-set insert="(before | after)" name="referent-value">
<name>identifier-for-moving-object</name>
</ordered-set>
<!-- if each element in the ordered set has two identifiers -->
<ordered-set insert="(before | after)"
identifier1="referent-value" identifier2="referent-value">
<identifier1>value-for-moving-object</identifier1>
<identifier2>value-for-moving-object</identifier2>
</ordered-set>
<!-- closing tag for each parent of the set -->
</configuration>
</load-configuration>
</rpc>Description
Change the position of an existing configuration element in
an ordered set. The insert="first" attribute
moves the existing element to the first position in the list. The insert="before" and insert="after" attributes specify the new position relative to a reference element,
which is specified by including an attribute named after each of its
identifier tags. In the Usage section, the identifier tag element
is called <name> when each element in
the set has one identifier.
The insert attribute can be combined
with either the active or inactive attribute, as described in Changing a Configuration Element’s Activation
State Simultaneously with Other Changes Using the Junos XML Protocol.