Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

not-range operator

Syntax

Description

Junos Snapshot Administrator test operator that tests if an XML element value is outside of a given numeric range.

Parameters

err string

Statement generated when the test case returns false.

info string

Description of the test case.

integer-start

Numeric value defining the start of the range.

integer-end

Numeric value defining the end of the range.

xpath-expression

XPath expression selecting the elements to evaluate.

Usage Examples

The following example checks the OSPF database and tests if each router has either less than 5 links or greater than 10 links. If the link-count value falls inside the specified range, the code reports an error.

Release Information

Operator introduced in Junos Snapshot Administrator Release 1.0.