Requesting An Xml Schema For The Configuration Hierarchy - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

Junos 10.3 Junos XML Management Protocol Guide

Requesting an XML Schema for the Configuration Hierarchy

94
<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:
Requesting a Hierarchy Level or Container Object Without an Identifier on page 82
Requesting All Configuration Objects of a Specified Type on page 83
Requesting a Specified Number of Configuration Objects on page 84
Requesting Identifiers Only on page 86
Requesting One Configuration Object on page 88
Requesting a Subset of Objects by Using Regular Expressions on page 90
To request an XML Schema-language representation of the entire configuration hierarchy,
a client application emits the Junos XML
, and
<type>
<namespace>
element:
<rpc>
<get-xnm-information>
<type>xml-schema</type>
<namespace>junos-configuration</namespace>
</get-xnm-information>
</rpc>
The Junos XML protocol server encloses the XML schema in
tag elements:
<rpc-reply xmlns:junos="URL">
<xsd:schema>
<!-- tag elements for the Junos schema -->
</xsd:schema>
</rpc-reply>
The schema represents all configuration elements available in the version of the Junos
OS that is running on a device. (To determine the Junos OS version, emit the
<get-software-information>
XML API Operational Reference.)
Client applications can use the schema to validate the configuration on a device, or simply
to learn which configuration statements are available in the version of the Junos OS
<get-xnm-information>
child tag elements with the indicated values in an
operational request tag, which is documented in the Junos
tag element and its
<rpc>
and
<rpc-reply>
<xsd:schema>
Copyright © 2010, Juniper Networks, Inc.
tag

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents