VMware VSHIELD APP 1.0 - API Manual do Utilizador Página 90

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 104
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 89
vShield API Programming Guide
90 VMware, Inc.
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="disableInternalFirewallRules" type="xs:boolean" /> <!--
When not specified, default is false -->
<xs:element maxOccurs="2" name="interface" type="Interface" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="Interface">
<xs:sequence>
<xs:element minOccurs="0" name="isUplink" type="xs:boolean" /> <!-- default is internal
-->
<xs:element name="networkId" type="Moid" />
<xs:element name="ipAddress" type="Ip" />
<xs:element name="subnetMask" type="Ip" />
<xs:element minOccurs="0" name="macAddress" type="xs:string" />
<xs:element minOccurs="0" name="defaultGw" type="Ip" /> <!-- Only for uplink interface
-->
<xs:element minOccurs="0" name="mtu" type="Mtu" /> <!-- default is 1500 -->
</xs:sequence>
</xs:complexType>
<xs:complexType name="RouteConfig">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="2048" name="staticRoute"
type="StaticRouteConfig"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StaticRouteConfig">
<xs:sequence>
<xs:element name="networkId" type="Moid" />
<xs:element name="network" type="Cidr" />
<xs:element name="nextHop" type="Ip" />
<xs:element minOccurs="0" name="mtu" type="Mtu" /> <!-- default is that of the
interface -->
</xs:sequence>
</xs:complexType>
<xs:complexType name="NatConfig"> <!-- NATConfiguration -->
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="rule" type="NatRule" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="NatRule">
<xs:sequence>
<xs:element minOccurs="0" name="state" type="StateOnVsm" /> <!-- Only in Response -->
<xs:element minOccurs="0" name="ruleType" type="xs:string" /> <!-- Only in response.
It will be used to tag the internal readOnly rules -->
<xs:element name="type" >
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="snat|dnat"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="protocol">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="tcp|udp|icmp|any"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="icmpType" type="IcmpType" /> <!-- Mandatory only
when protocol=icmp -->
<xs:element name="internalIpAddress" type="IpInfo" />
Vista de página 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 103 104

Comentários a estes Manuais

Sem comentários