Version Creep - Cisco CRS-1 - Carrier Routing System Router Api Manual

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

Advertisement

Run-Time Use of Version Information
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID="1">
<Get>
<Get>
</Response>

Version Creep

The following example shows a request and response with a version mismatch. In this case, the client
minor version is ahead of that of the router minor version, resulting in an error response.
Sample XML Request with a Minor Version Mismatch Ahead of the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID="12345678">
<Get xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ErrorCode="0x4368ac00"
<Get>
Cisco CRS-1 Series Carrier Routing System XML API Guide
9-94
</AS>
</BGP>
</Configuration>
<Configuration>
<BGP MajorVersion="1" MinorVersion="1">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
data returned here
.
.
.
</Global>
<AS>
</BGP>
</Configuration>
<Configuration>
<BGP MajorVersion="1" MinorVersion="1"/>
</Configuration>
ErrorMsg="&apos;XMLMDA&apos; detected the &apos;warning&apos;
condition &apos;The XML version specified in the XML request is not compatible with
the version running on the router&apos;">
<Configuration>
<BGP MajorVersion="1" MinorVersion="0" ErrorCode="0x42f8e800"
ErrorMsg="&apos; detected the &apos;warning&apos; condition
&apos; A version check on a class has failed&apos;"/>
</Configuration>
Chapter 9
Cisco CRS-1 Series XML Schema Versioning
OL-4596-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs-1 series

Table of Contents