Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- ACX Series
- SLAX Variables Overview
- mvar
- set
- EX Series
- SLAX Variables Overview
- mvar
- set
- J Series
- mvar
- set
- M Series
- SLAX Variables Overview
- mvar
- set
- MX Series
- SLAX Variables Overview
- mvar
- set
- PTX Series
- SLAX Variables Overview
- SRX Series
- SLAX Variables Overview
- mvar
- set
- T Series
- SLAX Variables Overview
- mvar
- set
append
Syntax
append name += value;
Release Information
Statement introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.
Description
Append a value to the node set contained in a mutable variable. The variable must be defined using the mvar statement.
Attributes
name | — | Name of the mutable variable. |
value | — | Value to append to the node set. |
SLAX Example
The following snippet appends the <item> element and <name> and <size> child elements to the node set contained in the mutable variable block:
mvar $block;
set $block = <block> "item list";
for $item (list) {
append $block += <item> {
<name> $item/name;
<size> $item/size;
}
}
Related Documentation
- ACX Series
- SLAX Variables Overview
- mvar
- set
- EX Series
- SLAX Variables Overview
- mvar
- set
- J Series
- mvar
- set
- M Series
- SLAX Variables Overview
- mvar
- set
- MX Series
- SLAX Variables Overview
- mvar
- set
- PTX Series
- SLAX Variables Overview
- SRX Series
- SLAX Variables Overview
- mvar
- set
- T Series
- SLAX Variables Overview
- mvar
- set