junos:key

Usage

<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>

Description

Indicate that a child configuration tag element is the identifier for its parent tag element. The Junos XML protocol 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.

Usage Guidelines

See Requesting an Indicator for Identifiers.

Related Topics