Examples: Specifying Output Format For Configuration Groups - 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
78
<configuration-text>
*/ For each inherited element */
/* parent levels for the element */
##
## 'inherited-element' was inherited from group 'source-group'
##
inherited-element {
##
## 'inherited-child' was inherited from group 'source-group'
##
inherited-child {
... child statements of inherited-child ...
}
}
/* closing braces for parent levels for the element */
</configuration-text>
</rpc-reply>
The application can also include the
indicator for identifiers (as described in "Requesting an Indicator for Identifiers" on
page 73).

Examples: Specifying Output Format for Configuration Groups

The following sample configuration hierarchy defines a configuration group called
interface-group
. The
apply-groups
[edit interfaces]
hierarchy level:
[edit]
groups {
interface-group {
interfaces {
so-1/1/1 {
encapsulation ppp;
}
}
}
}
apply-groups interface-group;
interfaces {
fxp0 {
unit 0 {
family inet {
address 192.168.4.207/24;
}
}
}
}
When the
attribute is not included in the
inherit
includes the
<groups>
and
tag element encloses the tag elements defined in the
The placement of the
<apply-groups>
element indicates that the
the
configuration group.
interface-group
and
inherit
groups
statement applies the statements in the group at the
<get-configuration/>
<apply-groups>
tag elements as separate items. The
tag element directly above the
[edit interfaces]
hierarchy inherits the statements defined in
attributes after requesting an
tag, the output
<groups>
configuration group.
interface-group
<interfaces>
Copyright © 2010, Juniper Networks, Inc.
tag

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents