EasyManuals Logo
Home>Cisco>Network Router>CRS-1 - Carrier Routing System Router

Cisco CRS-1 - Carrier Routing System Router Api Guide

Cisco CRS-1 - Carrier Routing System Router
127 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #104 background imageLoading...
Page #104 background image
11-104
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 11 XML Transport and Event Notifications
Cisco CRS-1 Series XML Transport and CORBA IDL
When the CORBA XML agent receives the XML request, it uses the XML infrastructure on the router
to parse and process the request. The agent then obtains the XML response from the XML infrastructure
and passes this back to the client as a response parameter on the “invoke()” method return.
IDL Interface
The following IDL example defines the interfaces used to make Cisco CRS-1 Series XML API requests.
The IDL interface was designed to be simple for easy migration to other transports. Request details,
including operation name, request parameters, and versioning information, are not exposed through the
IDL, but are instead encoded in the request itself. To make a Cisco CRS-1 Series XML API request, the
client application calls the “invoke()” method sending the “stringified” XML request as the request
parameter. The stringified XML response along with error information is returned in the response
parameter to the client application.
module Manageability
{
interface XMLAgent
{
/*
* edt: * * XMLAgent::login
*
* Provides the definition for the login() method for the XMLAgent idl
*
* Return:CORBA::Boolean
*
* TRUE - The method succeeded
* FALSE - The method failed
*
* Argument: username
*
* IN - valid login username on the router.
*
* Argument: password
*
* IN - valid unencrypted password for the given username on the router.
*
* Argument: session_context
*
* OUT - internally generated context for a given valid login session.
* Clients will use this in the invoke call.
*
* Argument: response
*
* OUT - contains error code and error message string in case login failed.
* Clients will use this to know the reason of failure.
*
*/
boolean login (in string username,
in string password,
out long session_context,
out string response);
/*
* edt: * * XMLAgent::invoke
*
* Provides the definition for the invoke() method for the XMLAgent idl
*
* Return: None
*
* Argument: session_context

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals