vShield API Programming Guide
68 VMware, Inc.
ESX Host Preparation and Uninstallation Schema
ThisschemacanbeusedtoinstalloruninstallvShieldApp,PortGroupIsolation,andvShieldEndpoint
servicesonanESXhost.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="VshieldConfiguration">
<xs:complexType>
<xs:all>
<xs:element minOccurs="0" name="VszInstallParams" type="VszInstallParams"/>
<xs:element minOccurs="0" name="PortgroupIsolationInstallParams"
type="PortgroupIsolationInstallParams"/>
<xs:element minOccurs="0" name="EpsecInstallParams" type="xs:boolean"/>
<xs:element name="InstallAction" type="InstallAction"/> <!-- InstallAction to
be taken on appliance - install/upgrade -->
<xs:element name="InstallStatus" type="InstallStatus"/> <!-- only in response
-->
</xs:all>
</xs:complexType>
</xs:element>
<xs:complexType name="InstallStatus">
<xs:sequence>
<xs:element minOccurs="0" name="ProgressState" type="xs:string"/>
<xs:element minOccurs="0" name="ProgressSubState" type="xs:string"/>
<xs:element minOccurs="0" name="InstalledServices" type="InstalledServices"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InstalledServices">
<xs:sequence>
<xs:element name="VszInstalled" type="xs:boolean"/>
<xs:element name="PortgroupIsolationInstalled" type="xs:boolean"/>
<xs:element name="EpsecInstalled" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<!-- Install parameters -->
<xs:complexType name="VszInstallParams">
<xs:sequence>
<xs:element name="DatastoreId" type="Moid"/>
<xs:element name="ManagementPortSwitchId" type="xs:string"/> <!-- contains the
networkId of the mgmt portgroup -->
<xs:element name="MgmtInterface" type="MgmtInterfaceType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MgmtInterfaceType">
<xs:sequence>
<xs:element name="IpAddress" type="IP"/>
<xs:element name="NetworkMask" type="IP"/>
<xs:element name="DefaultGw" type="IP"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PortgroupIsolationInstallParams">
<xs:sequence>
<xs:element minOccurs="0" name="ResourcePoolId" type="Moid"/>
<xs:element name="DatastoreId" type="Moid"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="InstallAction">
<xs:restriction base="xs:string">
<xs:enumeration value="install"/>
<xs:enumeration value="upgrade"/>
Comentários a estes Manuais