Cisco Cisco Security Manager 4.1 仕様ガイド

ページ / 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  111
 
 
 
Figure 62: DeviceListByCapabilityRequest XML Schema   
 
3.2.3.2 Response 
An example of the GetDeviceListByCapability response is shown in the figure below.  The fields in these messages 
are described in the table below. 
 
Figure 63: GetDeviceListByCapability Response Example 
Table 57: GetDeviceListByCapability Response Elements and Attributes Description 
XML Element & Attributes 
Definition 
deviceListResponse 
Returns a list of 0 or more devices that match the filter parameter passed in the 
method 
Element List: DeviceId 
A list of device ID elements 
Attribute: Gid 
The gid attribute of the device 
Element: deviceCapability 
One or more capabilities of the device (mandatory) 
Element: deviceName 
Name of the device (mandatory) 
Element: ipv4Address 
The IPv4 address of the device (optional) 
 
 
<xs:element
 name
="
deviceListByCapabilityRequest
"
 type
="
DeviceListByCapabilityRequest
"/>
 
 
<xs:complexType
 name
="
DeviceListByCapabilityRequest
">
 
 
 
<xs:complexContent>
 
 
 
 
<xs:extension
 base
="
BaseReqResp
">
 
 
 
 
 
<xs:sequence
 minOccurs
="
1
"
 maxOccurs
="
1
">
 
 
 
 
 
 
<xs:element
 name
="
deviceCapability
"
 type
="
DeviceCapability
"
 minOccurs
="
1
"
 
maxOccurs
="
unbounded
"/>
 
 
 
 
 
</xs:sequence>
 
 
 
 
</xs:extension>
 
 
 
</xs:complexContent>
 
 
</xs:complexType>
 
 
<?xml version=”1.0” encoding=”UTF-8”?> 
<deviceListResponse> 
 
<protVersion>1.0</protVersion> 
 
<reqId>123</reqId> 
 
<deviceId>  
 
  <gid>00000000-0000-0000-0000-12211312321</gid> 
 
  <deviceCapability>firewall</deviceCapability> 
 
  <ipv4Address>12.1.1.1</ipv4Address> 
 
</deviceId> 
</deviceListResponse>