Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuration View Variables

 

A parameter name in Configuration View consists of a leading “$”. Configuration View uses three kinds of variables. Configuration views can use the following default variables to define a parameter.

Default Variables

The values of the variables are taken from the current execution context. The following are the default variables.

Variable

Value

$DEVICE

The name of the host which the configuration view is being created

$INTERFACE

Name of the interface for which the configuration view is being created

$UNIT

The unit number of the logical interface for which the configuration view is being created

$CONTEXT

The context of the element for which the configuration view is being created

Velocity Templates

Junos Space Network Management Platform enables the user to define the device configuration view parameter's XPath using Velocity Templates. Nested parameters are referred using VTL. Please refer to http://velocity.apache.org/engine/1.7/user-guide.html for detailed documentation of VTL. VTL variable is a type of reference and consists of a leading "$" character followed by a VTL Identifier.