Chapter 10 Error Reporting In Cisco Crs-1 Series Xml Responses; Types Of Reported Errors - 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

Error Reporting in Cisco CRS-1 Series XML
Responses
The extensible markup language (XML) responses returned by the Cisco CRS-1 Series Carrier Routing
System (Cisco CRS-1 Series) router will contain error information as appropriate, including the
operation, object, and cause of the error when possible. The error codes and messages returned from the
Cisco CRS-1 Series router may originate in the XML agent or in one of the other Cisco CRS-1 Series
infrastructure layers; for example, the XML Service Library, XML Parser Library, or Configuration
Manager.
Note
The XML API code is available for use on any Cisco platform that runs Cisco IOS XR software.

Types of Reported Errors

The types of potential errors in Cisco CRS-1 Series XML Responses are categorized in
Table 10-1 Reported Error Types
Error Type
Transport errors
XML parse errors
XML schema errors
Operation processing errors
OL-4596-01
C H A P T E R
Description
Transport-specific errors are detected within the XML agent (and
include failed authentication attempts).
XML format or syntax errors are detected by the XML Parser
Library (and include errors resulting from malformed XML,
mismatched XML tags, and so on).
XML schema errors are detected by the XML operation provider
within the Cisco CRS-1 Series infrastructure (and include errors
resulting from invalid operation types, invalid object hierarchies,
values out of range, and so on).
Operation processing errors are errors encountered during the
processing of an operation, typically as a result of committing the
target configuration (and include errors returned from
Configuration Manager and the Cisco CRS-1 Series infrastructure
such as failed authorization attempts, and "invalid configuration
errors" returned from the back-end Cisco CRS-1 Series operating
system applications).
Cisco CRS-1 Series Carrier Routing System XML API Guide
10
Table
10-1.
10-97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs-1 series

Table of Contents