Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 27
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.
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}
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.
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.
interface which is used to manage the device in CSM is taken as
management interface.
interfaceList
Sequence of
Interface
Interface
A list of interfaces within the device. (Contains list of interfaces
other than management interface of the device.)
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.
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
uncommitted changes. Value taken from { committed, deployed
<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>