Cisco Cisco Security Manager 4.11 Guía Del Usuario

Descargar
Página de 301
 
 
 
  
 
Cisco Security Manager 4.11 API Specification (Version 2.3) 
 
Page  170
 
 
Figure 133: GetDeployJobStatus Response Example 
3.2.26 
Method AddPolicyConfigByGID 
This method is used to create or add a policy to a device. Please see section 
 for the supported list. The request 
will take in homogeneous policies in a single request for a device and add it to the device. For example to add a 
single/multiple firewall rules to a device this method should be used. If the policy is already present this will add  
entries to the firewall table else it will create a new policy group with the given rules on the device. If a device is 
assigned a shared policy this method cannot be used but addPolicyConfigByName needs to be used. Policy specific 
details are under 
. 
<ns1:deploymentResponse> 
<protVersion>1.0</protVersion> 
<status>Deployment Job Status Retrieved</status> 
<deploymentGID>00000000-0000-0000-0000-042949673573</deploymentGID> 
<deploymentJobName>admin_job_2014-03-26 13:00:38.28</deploymentJobName> 
<devicesSuccessList> 
 
<deploymentstatus> 
 
 
<deviceGID>00000000-0000-0000-0000-004294967309</deviceGID> 
 
 
<deploymentMsgdetails> 
 
 
 
<Title>Interface defined on device does not have a name</Title> 
 
 
 
<severityval>Warning</severityval> 
 
 
 
<description> 
 
 
 
Some of the interfaces defined on device 10.106.164.35 does not have a name defined. Rules bound just to these 
interfaces will not be deployed. 
 
 
 
</description> 
 
 
 
<action>Please make sure all interfaces have a valid name.</action> 
 
 
</deploymentMsgdetails> 
 
</deploymentstatus> 
</devicesSuccessList> 
<devicesFailureList> 
 
<deploymentstatus> 
 
 
<deviceGID>00000000-0000-0000-0000-042949673081</deviceGID> 
 
 
<deploymentMsgdetails> 
 
 
 
<Title>Unable to Deploy</Title> 
 
 
 
<severityval>Critical</severityval> 
 
 
 
<description> 
 
 
 
An error response from the device prevented successful completion of this operation. The device provided the following 
description: no snmp-server user cisco cisco v3 ERROR: Configuration request for SNMP user cisco failed. Host 
traphost.cisco.1.1.1.1.4 references user intended for removal.  
 
 
 
</description> 
 
 
 
<action> 
 
 
 
Please review the deployment transcript for details on the error signaled by the device. Please retry the operation. If the 
problem persists, please Select Tools->Security Manager Diagnostics and send the file to the Cisco Technical Assistance Center. 
 
 
 
</action> 
 
 
</deploymentMsgdetails> 
 
 
<deploymentMsgdetails> 
 
 
 
<Title>Deploy Not Completed</Title> 
 
 
 
<severityval>Critical</severityval> 
 
 
 
<description>This device signaled an error during deployment.</description> 
 
 
 
<action> 
 
 
 
Please review the deployment transcript for details on the error signaled by the device. 
 
 
 
</action> 
 
 
</deploymentMsgdetails> 
 
</deploymentstatus> 
</devicesFailureList> 
</ns1:deploymentResponse>