Deactivating Or Reactivating An Existing Element - 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

Deactivating or Reactivating an Existing Element

126
If using formatted ASCII text to define the new element, the application precedes the
element with the
inactive:
all children of the element:
<configuration-text>
/* statements for parent levels */
/* For an object with an identifier */
inactive:
object identifier {
/* Child configuration statements */
}
/* For a hierarchy level or object without an identifier */
inactive:
element {
/* Child configuration statements */
}
/* closing braces for parent levels */
</configuration-text>
To deactivate an existing element, or reactivate a previously deactivated one, a client
application includes the basic tag elements or configuration statements for its parent
levels, as described in "Creating, Modifying, or Deleting Configuration Elements" on
page 109.
If using Junos XML tag elements to represent a configuration object that has an identifier,
the application includes the
opening container tag and also emits the identifier tag element and value. In the following,
the identifier tag element is called
object that has children but not an identifier, the application uses an empty tag:
<configuration>
<!-- opening tag for each parent of the element -->
!- - For an object with an identifier -->
<object (inactive="inactive" | active="active")>
<name>identifier</name>
</object>
<!-- For a hierarchy level or object without an identifier -->
<level-or-container (inactive="inactive" | active="active")/>
<!-- closing tag for each parent of the element -->
</configuration>
If using formatted ASCII text to represent the element, the application precedes the
element with the
inactive:
object is followed by a semicolon (even though in the existing configuration it is followed
by curly braces that enclose its child statements):
<configuration-text>
/* statements for parent levels */
/* For an object with an identifier */
(inactive | active):
operator. It includes all child statements that it is defining for
inactive="inactive"
or
active="active"
. To represent a hierarchy level or container
<name>
or
operator. The name of a hierarchy level or container
active:
attribute in the object's
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents