Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
external-header-nav
keyboard_arrow_up
close
keyboard_arrow_left
Workspaces User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuration View Variables

date_range 06-May-21

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.

external-footer-nav