Cisco Cisco Security Manager 4.11 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  26
 
 
Figure 7: PortIdentifier XML Schema   
2.1.6 BaseError 
The common class for all request errors is defined by the BaseError class. It has the following attributes: 
Attribute 
Type 
Comment 
Code 
Unsigned Long 
A unique error code that identifies the type of error that occurred 
with the request. 
Description 
String 
A description of the error that occurred 
Table 8: BaseError Class Attributes 
 
 
Figure 8: BaseError XML Schema   
The following general error codes are currently defined: 
 
Code 
Description 
Reserved 
General Failure 
Lack of resources 
Object Creation Failure 
Authorization Failure: No session found 
Authorization Failure: Invalid or expired session 
Internal communication failure 
13 
XML request payload contains no data. 
<xs:complexType
 name
="
PortIdentifier
">
 
 
 
<xs:sequence>
 
 
 
 
<!--
 for non-modular chassis or chassis with a continuous port numbering scheme slot/module are 
not included 
-->
 
 
 
 
<xs:element
 name
="
slotNum
"
 type
="
xs:unsignedInt
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
<xs:element
 name
="
moduleNum
"
 type
="
xs:unsignedInt
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
<xs:element
 name
="
portNum
"
 type
="
xs:unsignedInt
"
 minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
</xs:sequence>
 
 
</xs:complexType>
 
 
 
<
xs:complexType
 name
="BaseError"> 
 
 
<
xs:sequence
 
 
 
<
xs:element
 name
="code"
 type
="xs:unsignedLong"
 maxOccurs
="1"></
xs:element
 
 
 
<
xs:element
 name
="description"
 type
="xs:string"
 maxOccurs
="1"></
xs:element
 
 
</
xs:sequence
 
</
xs:complexType