junos:key attribute (JUNO XML with JUNOScript)<rpc-reply xmlns:junos="URL">
<configuration>
<!- - opening tag for each parent of the object - ->
<object>
<name junos:key="key">identifier</name>
<!- - additional children of object - ->
</object>
<!- - closing tag for each parent of the object - ->
</configuration>
</rpc-reply>
Indicate that a child configuration tag element is the identifier for its parent tag element. The JUNOScript server includes the attribute when the client application requests information about an object type (with the <get-configuration> tag element) and has included the junos:key attribute in the opening <junoscript> tag for the current session.
The attribute does not appear if the client requests formatted ASCII output by including the format="text" attribute in the empty <get-configuration/> tag or opening <get-configuration> tag.
See Requesting an Indicator for Identifiers.
<get-configuration>, <junoscript>, <rpc>