Cisco Cisco Security Manager 4.11 Guía Del Usuario

Descargar
Página de 301
 
 
 
  
 
Cisco Security Manager 4.11 API Specification (Version 2.3) 
 
Page  30
 
 
Figure 6: Interface XML Schema   
2.1.3.2 Firewall Capabilities  
Attribute 
Type 
Comment 
fwOsMode 
Int 
Indicates if the FWSM/ASA is running in Transparent (1) or Routed 
(2) mode. 
fwOsMultiplicity 
Int 
Returns if the FWSM/ASA is running in a single (1) or multi (2) 
context. 
contextName 
String 
Returns the name of the context. If the current device represents a 
context. 
isComposite 
Boolean 
Indicates if the device is a “composite” or not. Catalyst 6500 
containing FWSM or other blades are marked as composite. 
Table 5: FirewallCapabilities Class Attributes 
2.1.4 DeviceGroup 
A device group object is used to represent a container of devices in the system. Device groups contain zero or more 
devices and zero or more children device groups. 
 
The DeviceGroup class inherits from BaseObject including all attributes. 
 
<xs:complexType
 name
="
InterfaceList
">
 
 
 
<xs:sequence>
 
 
 
 
<xs:element
 name
="interface"
 type
="Interface"
 minOccurs
="0"
 maxOccurs
="unbounded"/> 
 
 
</xs:sequence>
 
 
</xs:complexType>
 
 
<xs:complexType
 name
="
Interface
">
 
 
 
<xs:sequence>
 
 
 
 
<xs:element name="
type
" type="
xs:string
" minOccurs="
1
" maxOccurs="
1
"/>
 
 
 
 
<xs:element name="
identifier
" type="
xs:string
" minOccurs="
1
" maxOccurs="
1
"/>
 
 
 
 
<xs:element
 name
="ipInterface"
 type
="IPInterfaceAttrs"
 minOccurs
="0"
 
maxOccurs
="unbounded"/> 
 
 
 
<xs:element
 name
="macInterface"
 type
="MACInterfaceAttrs"
 minOccurs
="0"
 
maxOccurs
="unbounded"/> 
 
 
</xs:sequence>
 
 
</xs:complexType>
 
 
<xs:complexType
 name
="MACInterfaceAttrs"> 
 
 
<xs:sequence>
 
 
 
 
<xs:element name="
macAddress
" type="
xs:string
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
</xs:sequence>
 
 
</xs:complexType>
 
 
<xs:complexType
 name
="
IPInterfaceAttrs
">
 
 
 
<xs:sequence>
 
 
 
 
<xs:element name="
domainName
" type="
xs:string
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
 
<xs:element name="
ipAddress
" type="
xs:string
" minOccurs="
1
" maxOccurs="
1
"/>
 
 
 
 
<xs:element name="
isNatAddress
" type="
xs:boolean
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
 
<xs:element name="
realIpAddress
" type="
xs:string
" minOccurs="
0
" maxOccurs="
1
"/>
 
 
 
</xs:sequence>
 
 
</xs:complexType>