Техническое Руководство для Cisco Cisco Security Manager 4.5
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 117
Figure 69: GetDeviceConfigByGID Response Example
Table 60: GetDeviceConfigById Response Elements and Attributes Description
Element.
Attribute
Name
Definition
deviceConfigResponse
Returns the device configuration that matches the object identifier
device
The device class as described in 2.1.3.
<?xml version=”1.0” encoding=”UTF-8”?>
<deviceConfigResponse>
<deviceConfigResponse>
<protVersion>1.0</protVersion>
<reqId>123</reqId>
<device>
<gid>00000000-0000-0000-0000-214748364932</gid>
<name>10.77.208.138</name>
<lastUpdateTime>2011-05-26T00:11:53Z</lastUpdateTime>
<osType>asa</osType>
<osVersion>8.4(1)</osVersion>
<imageName>disk0:/asa831-k8.bin</imageName>
<fullConfig>
<!— will contain the full config of the device -->
</fullConfig>
<mgmtInterface>
<type>Management</type>
<identifier>mgmt</identifier>
<ipInterface>
<ipAddress>10.77.208.138/255.255.255.0</ipAddress>
</ipInterface>
</mgmtInterface>
<interfaceList>
<interface>
<type>GigabitEthernet</type>
<identifier>outside</identifier>
<ipInterface>
<ipAddress>20.10.30.42/255.255.255.0</ipAddress>
</ipInterface>
</interface>
<interface>
<type>FastEthernet</type>
<identifier>FastEthernet5/1</identifier>
<ipInterface>
<ipAddress>20.10.30.45/255.255.255.0</ipAddress>
</ipInterface>
</interface>
</interfaceList>
<configState>committed</configState>
</device>
</deviceConfigResponse>