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  190
 
3.2.37.1 
Request 
The request takes name of the shared policy along with hierarchy and the parent name for inherit. While remove the 
inherit parent name is not required.. Following example gives an example of the request and its XSD. 
 
 
Figure 157: InheritSharedPolicy Request Example for inherit 
 
 
Figure 158: InheritSharedPolicy Request Example for uninherit 
 
 
 
 
 
 
Table 102: InheritSharedPolicy Request Elements and Attribute Description 
XML Element & Attributes 
Definition 
ElementcsmSessionGID 
An element that provides the unique GID of the csmSession. 
Element: 
policyName
 
Name of the shared policy with hierarchy. 
Element: 
parentPolicyName
 
Name of the parent shared policy with hierarchy. 
Element: 
inherit
 
True indicate inheritance and false indicates un inheritance. 
URL: 
 
https://hostname/nbi/configservice/inheritSharedPolicy 
 
 
<?xml version="1.0" encoding="UTF-8"?> 
<csm:inheritSharedPolicyConfigRequest xmlns:csm="csm"> 
<csmSessionGID>00000000-0000-0000-0000-296352743429</csmSessionGID> 
<policyName>TEST2</policyName> 
<parentPolicyName>TEST1</parentPolicyName> 
<inherit>true</inherit> 
<policyType>DeviceAccessRuleFirewallPolicy</policyType> 
</csm:inheritSharedPolicyConfigRequest> 
URL: 
 
https://hostname/nbi/configservice/inheritSharedPolicy 
 
 
<?xml version="1.0" encoding="UTF-8"?> 
<csm:inheritSharedPolicyConfigRequest xmlns:csm="csm"> 
<csmSessionGID>00000000-0000-0000-0000-296352743429</csmSessionGID> 
<policyName>TEST1//TEST2</policyName> 
<inherit>false</inherit> 
<policyType>DeviceAccessRuleFirewallPolicy</policyType> 
</csm:inheritSharedPolicyConfigRequest>