Cisco CRS-1 - Carrier Routing System Router Api Manual page 39

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 2
Cisco CRS-1 Series XML Router Configuration and Management
The following shows an example of a configuration change notification:
RP/0/0/0:Jun 18 19:16:42.561 : %CLIENTLIBCFGMGR-6-CONFIG_CHANGE : A configuration commit
by user 'root' occurred at 'Wed Jun 18 19:16:18 2003 '. The configuration changes are
saved on the router by commit ID: '1000000075'.
Upon receiving the configuration change notification, a client application can then use the <Get>
operation to load and browse the changed configuration.
For more information on CORBA-based event notifications and alarms supported by the Cisco CRS-1
Series XML API, see the section "XML Transport."
The client application can read a set of commit changes using the <Get> operation along with the
<Configuration> request type tag when it includes the Source attribute option CommitChanges. One of
the additional attributes, either ForCommitID or SinceCommitID, must also be used to specify the
commit identifier or commit label for which the commit changes should be retrieved.
The following example shows the use of the ForCommitID attribute to show the commit changes for a
specific commit. This request corresponds to the CLI command show commit changes 1000000075
Sample XML Request to Show Specified Commit Changes Using the ForCommitID Attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration Source="CommitChanges" ForCommitID="1000000075"/>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
<Configuration Source="CommitChanges" ForCommitID="1000000075">
</Configuration>
</Get>
</Response>
The following example shows the use of the SinceCommitID attribute to show the commit changes made
since a specific commit. This request corresponds to the CLI command show commit changes since
1000000072
Sample XML Request to Show Specified Commit Changes Using the SinceCommitID Attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration Source="CommitChanges" SinceCommitID="1000000072"/>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
OL-4596-01
Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML
.
.
.
changed config returned here
.
.
.
.
Cisco CRS-1 Series Carrier Routing System XML API Guide
.
2-39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Crs-1 series

Table of Contents