Cisco Cisco Security Manager 4.6 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  51
 
3.1.4.5 InterfaceRolePolicyObject 
An InterfaceRolePolicyObject extends from the BasePolicyObject class and inherits all its attributes.  A 
InterfaceRolePolicyObject defines a pattern to denote an interface or group of interfaces like FastEthernet0, inside, 
outside etc.. The inherited gid attribute specifies a unique ID for an ‘instance’ of a InterfaceRole PolicyObject. 
Policy definitions reference the InterfaceRolePolicyObject via the gid value.  
 
The following table defines the contents of the InterfaceRolePolicyObject: 
Element 
 
Type 
Comment 
pattern 
String 
Defines one or more interface role regex patterns. A”*” will match all 
interfaces. 
Table 25: InterfaceRolePolicyObject Class Definition 
 
 
Figure 31: InterfaceRolePolicyObject XML Schema   
 
<
xs:complexType
 
name
="InterfaceRolePolicyObject"> 
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 
base
="BasePolicyObject"> 
 
 
 
 
<
xs:sequence
 
minOccurs
="1" 
maxOccurs
="1"> 
 
 
 
 
 
<
xs:element 
name
="pattern" 
type
="xs:string" 
minOccurs
="1" 
maxOccurs
="unbounded"/> 
 
 
 
 
</
xs:sequence
 
 
 
</xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType