Cisco Cisco Security Manager 4.1 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  76
 
 
Figure 40: InterfaceNATStaticRulesRouterPolicy XML Definition  
<xs:complexType
 name
="
InterfaceNATStaticRulesRouterPolicy
">
 
 
 
<xs:complexContent>
 
 
 
 
<xs:extension
 base
="
BasePolicy
">
 
 
 
 
 
<xs:sequence>
 
 
 
 
 
 
<xs:element
 name
="
staticRuleType
"
 minOccurs
="
1
"
 maxOccurs
="
1
">
 
 
 
 
 
 
 
<xs:simpleType>
 
 
 
 
 
 
 
 
<xs:restriction
 base
="
xs:string
">
 
 
 
 
 
 
 
 
 
<xs:enumeration
 value
="
Static Host
"/>
 
 
 
 
 
 
 
 
 
<xs:enumeration
 value
="
Static Network
"/>
 
 
 
 
 
 
 
 
 
<xs:enumeration
 value
="
Static Port
"/>
 
 
 
 
 
 
 
 
</xs:restriction>
 
 
 
 
 
 
 
</xs:simpleType>
 
 
 
 
 
 
</xs:element>
 
 
 
 
 
 
<xs:element
 name
="
original
"
 type
="
NetworkOrIPRef
"
 minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
<xs:element
 name
="
translated
"
 minOccurs
="
1
"
 maxOccurs
="
1
">
 
 
 
 
 
 
 
<xs:complexType>
 
 
 
 
 
 
 
 
<xs:choice>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
originalIP
"
 type
="
NetworkOrIPRef
"
 
minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
interfaceGID
"
 type
="
ObjectIdentifier
"
 
minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
</xs:choice>
 
 
 
 
 
 
 
</xs:complexType>
 
 
 
 
 
 
</xs:element>
 
 
 
 
 
 
<xs:element
 name
="
portRedirection
"
 minOccurs
="
0
"
 maxOccurs
="
1
">
 
 
 
 
 
 
 
<xs:complexType>
 
 
 
 
 
 
 
 
<xs:sequence>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
protocol
"
 type
="
xs:string
"
 minOccurs
="
1
"
 
maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
localPort
"
 type
="
xs:unsignedInt
"
 minOccurs
="
1
"
 
maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
globalPort
"
 type
="
xs:unsignedInt
"
 minOccurs
="
1
"
 
maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
</xs:sequence>
 
 
 
 
 
 
 
</xs:complexType>
 
 
 
 
 
 
</xs:element>
 
 
 
 
 
 
<xs:element
 name
="
settings
"
 minOccurs
="
0
"
 maxOccurs
="
1
">
 
 
 
 
 
 
 
<xs:complexType>
 
 
 
 
 
 
 
 
<xs:sequence>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
noAlias
"
 type
="
xs:boolean
"
 minOccurs
="
1
"
 
maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
noPayload
"
 type
="
xs:boolean
"
 minOccurs
="
1
"
 
maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
 
<xs:element
 name
="
createExtTransEntry
"
 type
="
xs:boolean
"
 
minOccurs
="
1
"
 maxOccurs
="
1
"/>
 
 
 
 
 
 
 
 
</xs:sequence>
 
 
 
 
 
 
 
</xs:complexType>
 
 
 
 
 
 
</xs:element>
 
 
 
 
 
</xs:sequence>
 
 
 
 
</xs:extension>
 
 
 
</xs:complexContent>
 
 
</xs:complexType>