Техническое Руководство для Cisco Cisco Security Manager 4.10

Скачать
Страница из 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  22
 
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. 
virtualContextList 
List of Device 
A list of virtual context objects belonging to the device 
configState 
ConfigurationSTate 
The configuration state of the device and whether there are any 
uncommitted changes. Value taken from { committed, deployed 
sysObjectID 
String 
System Object ID of the Device. 
Table 3: Device Class Attributes 
 
 
Figure 4: Device XML Schema   
 
 
<
xs:complexType
 name
="Device"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 base
="BaseObject"> 
 
 
 
 
<
xs:sequence
 
 
 
 
 
<
xs:element
 name
="osType"
 type
="OSType"
 minOccurs
="1"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="osVersion"
 type
="xs:string"
 minOccurs
="1"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="imageName"
 type
="xs:string"
 minOccurs
="1"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 
name
="sysObjectID" 
type
="xs:string" 
minOccurs
="1" maxOccurs="1"/> 
 
 
 
 
 
<
xs:element
 name
="fullConfig"
 type
="xs:string"
 minOccurs
="0"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="mgmtInterface"
 type
="Interface"
 minOccurs
="0"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="interfaceList"
 type
="InterfaceList"
 minOccurs
="0"
 
maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="virtualContextList"
 type
="Device"
 minOccurs
="0"
 
maxOccurs
="unbounded"/> 
 
 
 
 
 
<
xs:element
 name
="configState"
 type
="ConfigurationState"
 minOccurs
="0"
 
maxOccurs
="1"/> 
 
 
 
 
</
xs:sequence
 
 
 
</xs:extension> 
 
 
</xs:complexContent> 
 
</xs:complexType>