Rules For Reordering Lists; Examples Of Reordered Lists - Juniper NETWORK AND SECURITY MANAGER 2010.3 - ADMINISTRATION GUIDE REV1 Administration Manual

Table of Contents

Advertisement

Copyright © 2010, Juniper Networks, Inc.
Reordering entries in the device
Reordering entries in the template
TIP: Where possible, avoid mixing reordering operations with other operations that
affect the order of list entries. The results might not be what you intended. When
reordering is combined with adding and deleting entries, there is no single obvious way
to define the behavior so it always matches your intention.

Rules for Reordering Lists

When the template order changes, NSM uses best effort to apply the new sequence to
the device object using the following rules:
NSM uses the device order before the operation as the starting point.
If, prior to applying the change, a contiguous subsequence of parameters in the template
matches a contiguous subsequence of parameters in the device, then NSM applies
the new template order for the subsequence to the device,
Entries added in a template are placed in the same sequence in the device; that is, an
entry follows the entry in the device that precedes it in the template, even if that entry
has been moved in the device.

Examples of Reordered Lists

Examples of the rules for reordering lists follow.
Examples That Reorder a Common Sequence
Example 1: In the following example, the device has inherited the template entries and
maintained the same order as in the template. The user then changes the template order:
Before:
Template Sequence
A
Device Sequence
A
Matching
A
Subsequence
Change:
Now reverse the first three items in the template sequence. Because the reordering takes
place within what was the matching subsequence, the new sequence is transferred to
the device:
After:
Template Sequence
Device Sequence
B
C
B
C
B
C
C
B
C
B
Chapter 5: Configuring Devices
1
2
A
A
1
2
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Network and security manager 2010.3

Table of Contents