Cisco Cisco Security Manager 4.0 仕様ガイド

ページ / 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  40
 
The BasePolicy class inherits from the BaseObject class including all attributes.. 
Attribute 
Type 
Comment 
type 
String 
It's a mandatory attribute of any policy that describes content of 
the policyExample – “AAAPolicy”.  
isMandatoryAggregation 
boolean 
Relevant only for onion aggregation. Returns whether a policy is 
mandatory or not: mandatory policies will be pre-pended to parent 
and default ones will be appended. 
orderId 
Int 
O-based ordering id. Returns index of the policy in the policy 
record. 
description 
String 
Policy Description (optional) 
configState 
Enumeration 
The current state of the policy taken from { committed, deployed } 
Table 19: BasePolicy Class Attributes 
 
 
Figure 24: BasePolicy XML Schema   
The following sections denote the data content for important policy and policy object types. 
 
 
<
xs:complexType
 name
="BasePolicy"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 base
="BaseObject"> 
 
 
 
 
<
xs:sequence
 minOccurs
="1"
 maxOccurs
="1"> 
 
 
 
 
 
<
xs:element
 name
="type"
 type
="xs:string"
 minOccurs
="1"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="orderId"
 type
="xs:unsignedInt"
 minOccurs
="1"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="isMandatoryAggregation"
 type
="xs:boolean"
 minOccurs
="1"
 
maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="description"
 type
="xs:string"
 minOccurs
="0"
 maxOccurs
="1"/> 
 
 
 
 
 
<
xs:element
 name
="configState"
 type
="ConfigurationState"
 minOccurs
="0"
 
maxOccurs
="1"/> 
 
 
 
 
</
xs:sequence
 
 
 
</
xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType