Cisco Cisco Security Manager 4.0 仕様ガイド

ページ / 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  127
 
 
 
Figure 79: GetPolicyConfigByName Response Example 
 
<?xml version=”1.0” encoding=”UTF-8”?> 
<ns1:policyConfigDeviceResponse xmlns:ns1="csm"> 
  <protVersion>1.0</protVersion> 
  <policy> 
    <deviceAccessRuleFirewallPolicy> 
      <gid>00000000-0000-0000-0000-004294967927</gid> 
      <name/> 
      <lastUpdateTime>2011-08-05T05:04:49.926Z</lastUpdateTime> 
      <type>FirewallRule</type> 
      <orderId>1000</orderId> 
      <isMandatoryAggregation>true</isMandatoryAggregation> 
      <configState>deployed</configState> 
      <isEnabled>true</isEnabled> 
      <direction>In</direction> 
      <permit>true</permit> 
      <interfaceRoleObjectGIDs> 
        <gid>00000000-0000-0000-0000-004294967559</gid> 
      </interfaceRoleObjectGIDs> 
      <sources> 
        <networkObjectGIDs> 
          <gid>00000000-0000-0000-0000-000000000100</gid> 
        </networkObjectGIDs> 
        <interfaceRoleObjectGIDs/> 
      </sources> 
      <destinations> 
        <networkObjectGIDs> 
          <gid>00000000-0000-0000-0000-000000000100</gid> 
        </networkObjectGIDs> 
        <interfaceRoleObjectGIDs/> 
      </destinations> 
      <services> 
        <serviceObjectGIDs> 
          <gid>00000000-0000-0000-0000-000000001041</gid> 
        </serviceObjectGIDs> 
      </services> 
      <logOptions> 
      </logOptions> 
      <iosOptions>None</iosOptions> 
    </deviceAccessRuleFirewallPolicy> 
  </policy> 
  <policyObject> 
    <networkPolicyObject> 
      <gid>00000000-0000-0000-0000-000000000100</gid> 
      <name>any</name> 
      <lastUpdateTime>2011-08-04T18:58:22.816Z</lastUpdateTime> 
      <parentGID>00000000-0000-0000-0000-000000000000</parentGID> 
      <type>Network</type> 
      <comment>Predefined any network</comment> 
      <nodeGID>00000000-0000-0000-0000-000000000001</nodeGID> 
      <isProperty>false</isProperty> 
      <subType/> 
      <isGroup>false</isGroup> 
      <ipv4Data>0.0.0.0/0.0.0.0</ipv4Data> 
    </networkPolicyObject> 
          ……….. 
  </policyObject> 
</ns1:policyConfigDeviceResponse>