Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  25
 
Table 2: BaseObject Class Attributes 
 
 
 
Figure 4: BaseObject XML Schema   
2.1.3 Device 
A device object is used to represent a single device in the system. Virtual contexts are also modeled as individual 
devices in the system. The device object also expresses a relationship between a parent (admin/system context) and 
its associated child contexts. 
 
The Device class inherits from BaseObject including all attributes. 
 
Element/Attribute 
Type 
Comment 
osType 
String 
The device OS Type from an enumerated list {IOS, FWSM, 
ASA, PIX, IPS} 
osVersion 
String 
The software version of the OS running on the device. Version 
string could be 6.1, 6.2 etc. on a PIX platform, 12.1, 12.2S etc. 
on an IOS platform etc. 
imageName 
String 
The OS Image name. 
mgmtInterface 
Interface 
A reference to the management interface for the device. The 
interface which is used to manage the device in CSM is taken as 
management interface. 
 interfaceList 
Sequence of 
Interface 
A list of interfaces within the device. (Contains list of interfaces 
other than management interface of the device.)
 
fullConfig 
String 
An element containing the full configuration of the device. The 
full configuration of the device will be represented by an ASCII 
output of the show running config CLI command. This is only 
shown when the getDeviceConfigByGid or 
getDeviceConfigByName API’s to get the full config of the 
device. In all other cases this element value is not set. 
<xs:complexType
 name
="
BaseObject
"
 
>
 
 
<xs:sequence>
 
 
 
<xs:element name="
gid
" type="
ObjectIdentifier
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
<xs:element name="
name
" type="
xs:string
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
<xs:element
 name
="lastUpdateTime"
 type
="xs:dateTime"
 minOccurs
="0"
 maxOccurs
="1"/> 
 
 
<xs:element name="
parentGID
" type="
ObjectIdentifier
" minOccurs="
1
" maxOccurs="
1
"/> 
 
 
<xs:element 
name
="
updatedByUser
type
="
xs:string
minOccurs
="
0
maxOccurs
="
1
"/> 
 
 
<xs:element 
name
="
lastCommitTime
type
="
xs:dateTime
minOccurs
="
0
maxOccurs
="
1
"/> 
 
 
<xs:element 
name
="
ticketId
type
="
xs:string
minOccurs
="
0
maxOccurs
="
1
"/> 
 
 
<xs:element 
name
="
activityName
type
="
xs:string
minOccurs
="
0
maxOccurs
="
1
"/>
 
 
</xs:sequence>
 
</xs:complexType>