Copyright © 2010, Juniper Networks, Inc.
</rpc-reply>
junos:commit-localtime
represents the commit time as the date and time in the device's
local time zone.
represents the commit time as the number of seconds since
junos:commit-seconds
midnight on 1 January 1970.
specifies the Junos OS username of the user who requested the commit
junos:commit-user
operation.
The
attribute in the application's request can be combined with one or more
database
of the following attributes in the
tag:
, which is described in "Requesting a Change Indicator for Configuration
changed
Elements" on page 70
, which is described in "Requesting Output as Formatted ASCII Text or Junos
format
XML Tag Elements" on page 68
inherit
and optionally
groups
for Configuration Groups" on page 74
The application can also include the
identifiers (as described in "Requesting an Indicator for Identifiers" on page 73).
The following example shows how to request the entire committed configuration. In
actual output, the
JUNOS-version
initial version of Junos OS Release 10.3.
Client Application
<rpc>
<get-configuration database="committed"/>
</rpc>
tag or opening
<get-configuration/>
, which are described in "Specifying the Output Format
attribute after requesting an indicator for
database
variable is replaced by a value such as
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<configuration \
junos:commit-seconds="seconds " \
junos:commit-localtime="timestamp" \
junos:commit-user="username">
<version>JUNOS-version </version>
<system>
<host-name>big-router</host-name>
<!- - other children of <system>- ->
</system>
<!- - other children of <configuration>- ->
</configuration>
</rpc-reply>
Chapter 4: Requesting Information
<get-configuration>
10.3R1
for the
67