Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 195
Code
Description
1118
This error will be returned if the deviceGID is invalid or no privilege to do assign
1107
This error will be returned if policy name is not given
1116
This error will be returned if the parent for the given shared policy couldn’t find
1114
This error will be returned if the root id couldn’t get retrieved for inheritence
1115
This error will be returned if given shared policy assignement failed
1106
This error will be returned if specified parent policy doesn’t exist
Table 105: assignSharedPolicy Method Error Codes
3.2.39
Method UnAssignSharedPolicy
This method is used to unassign the given shared policy from the list of devices. Shared policy name which is going
to be unassign should be given in the policyName tag and the list of devices GID shoud be given in the DeviceGIDS
tag.
to be unassign should be given in the policyName tag and the list of devices GID shoud be given in the DeviceGIDS
tag.
3.2.39.1
Request
The request takes name of the shared policy along with hierarchy and device GID’s. Following gives an example of
the request and its XSD.
the request and its XSD.
Figure 165: UnAssignSharedPolicy Request Example
Table 106: UnAssignSharedPolicy Request Elements and Attribute Description
XML Element & Attributes
Definition
Element: csmSessionGID
An element that provides the unique GID of the csmSession.
URL:
https://hostname/nbi/configservice/unassignSharedPolicy
<?xml version="1.0" encoding="UTF-8"?>
<ns1:unassignSharedPolicyConfigRequest xmlns:ns1="csm">
<csmSessionGID>00000000-0000-0000-0000-021474837936</csmSessionGID>
<policyName>Test</policyName>
<policyType>DeviceAccessRuleUnifiedFirewallPolicy</policyType>
<deviceGIDs>
<gid>00000000-0000-0000-0000-021474836974</gid>
</deviceGIDs>
</ns1:unassignSharedPolicyConfigRequest>
https://hostname/nbi/configservice/unassignSharedPolicy
<?xml version="1.0" encoding="UTF-8"?>
<ns1:unassignSharedPolicyConfigRequest xmlns:ns1="csm">
<csmSessionGID>00000000-0000-0000-0000-021474837936</csmSessionGID>
<policyName>Test</policyName>
<policyType>DeviceAccessRuleUnifiedFirewallPolicy</policyType>
<deviceGIDs>
<gid>00000000-0000-0000-0000-021474836974</gid>
</deviceGIDs>
</ns1:unassignSharedPolicyConfigRequest>