Changing A Configuration Element's Activation State; Deactivating A Newly Created 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

Changing a Configuration Element's Activation State

Deactivating a Newly Created Element

Copyright © 2010, Juniper Networks, Inc.
Client Application
<rpc>
<load-configuration>
<configuration>
<protocols>
<ospf>
<area>
<filter rename="rename" neighbor-id="192.168.0.7" transit-area="1.1.1.5">
<neighbor-id>192.168.0.3</neighbor-id>
<transit-area>1.1.1.1</transit-area>
</filter>
</area>
</ospf>
</protocols>
</configuration>
</load-configuration>
</rpc>
When a configuration element (hierarchy level or configuration object) is deactivated, it
remains in the candidate configuration or private copy, but when the configuration is
later committed, the element does not affect the functioning of the routing platform. A
client application can deactivate an element immediately as it creates it, or can deactivate
an existing element. It can also reactivate an existing deactivated element so that when
the configuration is committed, the element again has an effect on routing platform
functioning.
See the following sections:
Deactivating a Newly Created Element on page 125
Deactivating or Reactivating an Existing Element on page 126
To define an element and immediately deactivate it, 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 define the new element, the application includes the
inactive="inactive"
attribute in the opening tag for the element. It includes tag elements
for all children being defined for the element. In the following, the identifier tag element
is called
:
<name>
<configuration>
<!-- opening tag for each parent of the element -->
<element inactive="inactive">
<name>identifier</name> <!-- if the element has an identifier -->
<!-- tag elements for each child of the element -->
</element>
<!-- closing tag for each parent of the element -->
</configuration>
Chapter 5: Changing Configuration Information
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<load-configuration-results>
<load-success/>
</load-configuration-results>
</rpc-reply>
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents