[Contents] [Prev] [Next] [Index] [Report an Error]

<rpc>

Usage

rpc tag (JUNOScript)
<junoscript>
<rpc [attributes]>
<!- - tag elements in a request from a client application - ->
</rpc>
</junoscript>

Description

Enclose all tag elements in a request generated by a client application.

(Optional) One or more attributes of the form attribute-name="value". This feature can be used to associate requests and responses if the value assigned to an attribute by the client application is unique in each opening <rpc> tag. The JUNOScript server echoes the attribute unchanged in its opening <rpc-reply> tag, making it simple to map the response to the initiating request.

Note: The xmlns:junos attribute name is reserved. The JUNOScript server sets the attribute to an appropriate value on the opening <rpc-reply> tag, so client applications must not emit it on the opening <rpc> tag.

Usage Guidelines

See Sending a Request to the JUNOScript Server.

Related Topics

<junoscript>, <rpc-reply>


[Contents] [Prev] [Next] [Index] [Report an Error]