Logging A Message About Synchronized Configurations; Logging A Message About A Commit Operation - 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

Logging a Message About a Commit Operation

Copyright © 2010, Juniper Networks, Inc.
The
<force-synchronize/>
tag elements.
<confirm-timeout>
For more information about confirmed commit operations, see "Committing the Candidate
Configuration Only After Confirmation" on page 137.

Logging a Message About Synchronized Configurations

To synchronize configurations and record a log message when the commit succeeds on
each Routing Engine, the application encloses the
in
<commit-configuration>
<rpc>
<commit-configuration>
<synchronize/>
<log>message</log>
</commit-configuration>
</rpc>
<rpc>
<commit-configuration>
<force-synchronize/>
<log>message</log>
</commit-configuration>
</rpc>
The commit operation proceeds as previously described in the
tag descriptions. The message for each Routing Engine is recorded
<force-synchronize/>
in the separate
/var/log/commits
information about logging, see "Logging a Message About a Commit Operation" on
page 145.
To record a message in the
a client application encloses the
tag elements:
<rpc>
<commit-configuration>
<log>message</log>
</commit-configuration>
</rpc>
The
<log>
tag element can be combined with other tag elements within the
tag element (the
<commit-configuration>
, or
<confirm-timeout>
<synchronize/>
the operation. When the
<log>
operation begins immediately.
The following example shows how to log a message as the candidate configuration is
committed.
tag cannot be combined with the
<synchronize/>
and
<rpc>
tag elements:
file maintained by that Routing Engine. For more
file when a commit operation succeeds,
/var/log/commits
<log>
tag element in
<at-time>
tag elements) and does not change the effect of
tag element is emitted by itself, the associated commit
Chapter 6: Committing a Configuration
and
<confirmed/>
and
tag elements
<log/>
<synchronize/>
<commit-configuration>
and
,
, and
<confirmed/>
or
<rpc>
145

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents