Junos Os Xml Api And Scripting - Juniper JUNOS OS 10.4 - RELEASE NOTES REV 5 Release Note

Hide thumbs Also See for JUNOS OS 10.4 - RELEASE NOTES REV 5:
Table of Contents

Advertisement

JUNOS OS 10.4 Release Notes
42
[Services Interfaces]
Show chassis environment cb
environment cb
command is now available for the MX80 routers.

Junos OS XML API and Scripting

The
jcs:load-configuration
jcs:load-configuration
template, included in the import file
parameter to customize the
$commit-options
be passed to the
jcs:load-configuration
The default value for
$commit-options
—Check the correctness of the candidate configuration syntax, but do not
check
commit the changes.
force-synchronize
—Force the commit on the other Routing Engine (ignore any
warnings).
—Write the specified message to the commit log. This is identical to the CLI
log
configuration mode command
—Synchronize the commit on both Routing Engines.
synchronize
To specify commit options, include the desired options within the
tag. Use the
operator to create a node-set and assign it to a variable. Pass this
:=
variable as the argument for the
jcs:load-configuration
template.
For example, to commit the configuration with the
the following syntax for the node-set:
var $options := {
<commit-options> {
<synchronize>;
<log> "synchronizing commit";
}
}
[Configuration and Operations Automation Guide]
Junos XML management protocol support for the
<get-configuration>
operation—By default, the Junos XML protocol operation
parallels the default behavior of the CLI configuration mode
<get-configuration>
command, which displays the
hierarchy in the configuration. To display the inherited tag elements of each interface
range as children of the interface elements that are members of that range, a client
application combines the
attribute in the
inherit="inherit"
(RPC).
If the
inherit
and
interface-ranges
tag and the client application requests Junos XML-tagged output (the
attribute is included or the
command on MX80 routers—The
template now accepts the
commit
template as a node-set.
is null. Supported options are:
commit comment
.
parameter when you call the
$commit-options
synchronize
[edit interfaces interface-range]
interface-ranges="interface-ranges"
<get-configuration>
attributes are included in the
attribute is omitted), the Junos XML protocol server
format
show chassis
parameter—The
$commit-options
junos.xsl
, now accepts the
operation. The parameter must
<commit-options>
and
log
options, use
attribute of the
interface-ranges
hierarchy as a separate
attribute with the
tag of a remote procedure call
<get-configuration>
format="xml"
Copyright © 2011, Juniper Networks, Inc.
show

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JUNOS OS 10.4 - RELEASE NOTES REV 5 and is the answer not in the manual?

This manual is also suitable for:

Junos os 10.4

Table of Contents