Cisco Cisco Security Manager 4.4 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  123
 
3.2.7.2 Response 
An example of the GetPolicyListByDeviceGID response is shown in the figure below.  The fields in these messages 
are described in the table below. 
 
Figure 75: GetPolicyListByDeviceGID Response Example 
Table 65: GetPolicyListByDeviceGID Response Elements and Attributes Description 
XML Element & Attributes 
Definition 
policyListResponse 
Returns a list of 0 or more policy descriptors that are configured on the 
identified device 
Element List: policyList 
A list of policy descriptor elements 
Element: policyDesc 
The policy descriptor that includes its name and type. The type is usually the 
same name as the object name defined for that policy in the schema. For 
example for Firewall rules, the type will be “DeviceAccessRuleFirewallPolicy”. 
Name of the policy, will be -- local -- if the policy is local/private to this device. 
Alternately the name will contain the user configured policy name (other than – 
local --)  if the current policy is a “shared” policy (say something like 
“SharedAccessRule”).  
 
Shared policies are policies that are shared across multiple devices. A shared 
policy name is unique for a specific policy type across the whole system. For 
example there can only be only policy named as SharedAccessRule for say a 
DeviceAccessRuleFirewallPolicy. And this SharedAccessRule can be applied to 
multiple devices that support that policy. 
 
 
<?xml version=”1.0” encoding=”UTF-8”?> 
<policyListDeviceResponse> 
 
<protVersion>1.0</protVersion> 
 
<reqId>123</reqId> 
 
<policyList> 
 
  <policyDesc> 
 
   <name>— local --</name> 
 
   <type>DeviceOSPFPolicy</type> 
 
  </policyDesc> 
 
  <policyDesc> 
 
   <name>MySharedPolicy</name> 
 
   <type> DeviceAccessRuleFirewallPolicy </type> 
 
  </policyDesc> 
 
</policyList> 
</policyListDeviceResponse>