Cisco Cisco Security Manager 4.5 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  195
 
10.2  Config XSD 
<?xml version="1.0" encoding="UTF-8"?>
 
<
xs:schema
 xmlns:xs
="
http://www.w3.org/2001/XMLSchema
"
 xmlns
="
csm
"
 targetNamespace
="
csm
">
 
 
<
xs:include
 schemaLocation
="
common.xsd
"/>
 
 
<
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
>
 
 
<
xs:complexType
 name
="
BasePolicyObject
">
 
 
 
<
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
="
comment
"
 type
="
xs:string
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
nodeGID
"
 type
="
ObjectIdentifier
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
isProperty
"
 type
="
xs:boolean
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
subType
"
 type
="
xs:string
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
isGroup
"
 type
="
xs:boolean
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
refGIDs
"
 type
="
ObjectIdentifierList
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<
xs:element
 name
="
configState
"
 type
="
ConfigurationState
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
 
</
xs:sequence
>
 
 
 
 
</
xs:extension
>
 
 
 
</
xs:complexContent
>
 
 
</
xs:complexType
>
 
 
<
xs:complexType
 name
="
NetworkInterfaceObjectsRefs
">
 
 
 
<
xs:sequence
>
 
 
 
 
<
xs:element
 name
="
networkObjectGIDs
"
 type
="
ObjectIdentifierList
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/>
 
 
 
 
<
xs:element
 name
="
interfaceRoleObjectGIDs
"
 type
="
ObjectIdentifierList
"
 minOccurs
="
0
"
 maxOccurs
="
1
"/> 
                             <
xs:choice
                                   <
xs:element
 
name
=
"ipv4Data" 
type
="
xs:string" 
minOccurs
="
0" 
maxOccurs
="
unbounded"
/>
 
                                   <
xs:element
 
name
="
ipData" 
type
="
xs:string" 
minOccurs
="
0" 
maxOccurs
=
"unbounded"
/>
 
                             </
xs:choice
 
           
</
xs:sequence
>
 
 
</
xs:complexType
>
 
 
<
xs:complexType 
name
="
NetworkObjectsRefs
">
 
 
 
<
xs:sequence
 
 
 
<
xs:element 
name
="
networkObjectGIDs
type
="
ObjectIdentifierList
minOccurs
=
"
0
maxOccurs
="
1
"/> 
                    
<
xs:choice
>
 
                              
<
xs:element 
name
="
ipv4Data
type
="
xs:string
minOccurs
=
"
0
maxOccurs
="
unbounded
"/>
 
                              
<
xs:element 
name
="
ipData
type
="
xs:string
minOccurs
="
0
maxOccurs
="
unbounded
"/>
 
                    
</
xs:choice
>
 
 
 
</
xs:sequence
>
 
 
</
xs:complexType
          <
xs:complexType 
name
="
SecurityGrpObjectsRef
"> 
                  
<
xs:sequence> 
                      
<
xs:choice> 
                          
<
xs:element 
name
="
securityGrpObjectGID
type
="
ObjectIdentifier
minOccurs
="
0
"
 
maxOccurs
="
1
"/>
 
                          
<
xs:element 
name
="
secName
type
="
xs:string
minOccurs
="
0
maxOccurs
="
1
"/>
 
                          
<
xs:element 
name
="
secTag
type
="
xs:string
minOccurs
="
0
maxOccurs
="
1
"/>
 
                      
</
xs:choic
e>
 
                  
</
xs:sequence
>
 
          </
xs:complexType
>
 
          
<
xs:complexType
 
name
="
SecurityGrpObjectsRefs
"> 
                  <
xs:sequence