vShield API Programming Guide
82 VMware, Inc.
<!-- Install parameters -->
<xs:complexType name="VszInstallParamsType">
<xs:sequence>
<xs:element name="NodeId" type="xs:string"/>
<xs:element name="DatacenterId" type="xs:string"/>
<xs:element name="DatastoreId" type="xs:string"/>
<xs:element name="NameForZones" type="xs:string"/>
<xs:element name="VswitchForMgmt" type="xs:string"/>
<xs:element name="MgmtInterface" type="InterfaceType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InterfaceType">
<xs:sequence>
<xs:element name="IpAddress" type="xs:NMTOKEN"/>
<xs:element name="NetworkMask" type="xs:NMTOKEN"/>
<xs:element name="DefaultGw" type="xs:NMTOKEN"/>
<xs:element minOccurs="0" name="VlanTag" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
vShield App Firewall Schema
ThisschemaconfiguresthefirewallrulesenforcedbyavShieldApp.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" >
<xs:element name="VshieldAppConfiguration">
<xs:complexType>
<xs:choice>
<xs:element name="firewallConfiguration" type="FirewallConfigurationDto" />
<xs:element name="firewallConfigurationHistoryList"
type="FirewallConfigHistoryInfoListDto" />
<xs:element name="consolidatedConfiguration" type="FirewallConfigurationDto"
maxOccurs="unbounded" />
<xs:element name="status" type="StatusDto" />
<xs:element name="datacenterState" type="DatacenterStateDto" />
<xs:element name="protocolsList" type="ProtocolListDto" />
<xs:element name="protocolTypes" type="ProtocolsTypeEnum" maxOccurs="4" />
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="ProtocolListDto">
<xs:sequence>
<xs:element name="protocol" type="ProtocolDto" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="protocolsType" type="ProtocolsTypeEnum" />
<xs:attribute name="applicableOnFirewallLayer" type="xs:string" use="optional" />
<xs:attribute name="subProtocolOfTypeName" type="ProtocolsTypeEnum" use="optional" />
<xs:attribute name="subProtocolOfTypeValue" type="xs:int" use="optional" />
</xs:complexType>
<xs:complexType name="ProtocolDto">
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="value" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="FirewallConfigHistoryInfoListDto">
<xs:sequence>
<xs:element name="contextId" type="xs:string" />
<xs:element name="firewallConfigHistoryInfo" type="FirewallConfigHistoryInfoDto"
maxOccurs="unbounded" />
Komentáře k této Příručce