is-lt operator

Syntax

Description

Junos Snapshot Administrator test operator that tests if an XML element value is less than a given numeric value.

Parameters

err string

Statement generated when the test case returns false.

info string

Description of the test case.

integer-value

Numeric value against which to compare the XML element value.

xpath-expression

XPath expression selecting the elements to evaluate.

Usage Examples

The following test case checks whether a BGP peer flaps by testing if the flap-count is less than 5. If the flap-count is greater than 5, the code reports an error.

Release Information

Operator introduced in Junos Snapshot Administrator Release 1.0.