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  189
 
 
3.2.36.2 
Response 
The response of the rename shared policy have description that “Renamed shared policy successfully”.Status code 
will descripe the overall status of the operation. 
 
 
Figure 156: RenameSharedPolicy Response Example 
 
renameSharedPolicy response schema will be as similar as  createSharedPolicy response schema mentioned in  
Figure 150. 
renameSharedPolicy response XML elements are as similar as createSharedPolicy response elements mentioned in 
Table 96. 
Method specific error codes 
Code 
Description 
1107 
This error will be returned if policy name is not given 
1120 
This error will be returned if policy Type given as FirewallACLSettingsPolicy and 
the policy name mentioned as parent//child hierarchy format  
1106 
This error will be returned if specified parent policy doesn’t exist 
1121 
This error will be returned if policy Rename have been given with a name starting 
with dot(.) or  name having // in it 
1092 
This error will be returned if the user is not authorized to modify the policy 
1093 
This error will be returned if the policy is disabled 
Table 101: renameSharedPolicy Method Error Codes 
 
 
 
3.2.37 
Method InheritSharedPolicy 
 
This method is used to inherit a shared policy from another shared policy. This same method can also be used to 
uninherit or remove the existing inheritance between the policies by setting the <inherit> tag true or false.  If  the 
inherit tag set as true means its inheritance operation and if the inherit tag set as false means its uninheritance 
operation. 
 <?xml version="1.0" encoding="UTF-8"?> 
  <ns1:sharedPolicyConfigResponse xmlns:ns1="csm"> 
  <protVersion>1.0</protVersion> 
  <statusCode>SUCCESS</statusCode> 
  <description>Shared policy renamed successfully</description> 
  </ns1:sharedPolicyConfigResponse>