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

Requesting Multiple Configuration Elements Simultaneously

Within a <get-configuration> tag element, a client application can request multiple configuration elements of the same type or different types. The request includes only one <configuration> tag element (the JUNOScript server returns an error if there is more than one of each).

If two requested objects have the same parent hierarchy level, the client can either include both requests within one parent tag element, or repeat the parent tag element for each request. As an example, at the [edit system] hierarchy level the client can request the list of configured services and the identifier tag element for RADIUS servers in either of the following two ways:

<!- - both requests in one parent tag element - ->
<rpc>
<get-configuration>
<configuration>
<system>
<services/>
<radius-server>
<name/>
</radius-server>
</system>
</configuration>
</get-configuration>
</rpc>

<!- - separate parent tag element for each request - ->
<rpc>
<get-configuration>
<configuration>
<system>
<services/>
</system>
<system>
<radius-server>
<name/>
</radius-server>
</system>
</configuration>
</get-configuration>
</rpc>

The client can combine requests for any of the types of information discussed in the following sections:


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