
vShield API Programming Guide
22 VMware, Inc.
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><VShieldEdgeConfig><InstallParams><operationMode>routing
</operationMode><resourcePoolId>network-244</resourcePoolId><hostId>host-28
</hostId><dataStoreId>datastore-29</dataStoreId><InternalInterface><networkId>
network-43</networkId><networkAddress>172.16.1.8</networkAddress><subnetMask>
255.255.255.0</subnetMask></InternalInterface><ExternalInterface><networkId>
network-39</networkId><networkAddress>10.112.196.218</networkAddress><subnetMask>
255.255.252.0</subnetMask><defaultGw>10.112.199.253</defaultGw>
</ExternalInterface></InstallParams></VShieldEdgeConfig>
Get the Install Parameters of a vShield Edge
Example 4-5. Getting the Install Parameters of a vShield Edge
Request:
GET <vshield_manager-uri>/network/<internal-portgroup-vc-moref-id>/vshieldedge
Example:
GET /api/1.0/network/network-244/vshieldedge HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: 10.112.196.169:9998
Uninstall a vShield Edge
Example 4-6. Uninstalling a vShield Edge
Request:
DELETE <vshield_manager-uri>/network/<internal-portgroup-vc-moref-id>/vshieldedge
Example:
DELETE /api/1.0/network/network-244/vshieldedge HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
CAUTIONIfyouhaveenabledPortGroupIsolation,youmustmigrateorpoweroffthevirtualmachineson
theESXhostfromwhichyouwanttouninstallavShieldEdge.UninstallingPortGroupIsolationplacesthe
ESXhostinmaintenancemode.Afteruninstallationiscomplete,theESXhostreboots.Ifany
ofthevirtual
machinesthatarerunningonthetargetESXhostcannotbemigratedtoanotherESXhost,thesevirtual
machinesmustbepoweredofformigratedmanuallybeforetheuninstallationcancontinue.IfthevShield
ManagerisonthesameESXhost,thevShieldManagermustbemigratedprior
touninstallingPortGroup
Isolation.
IfyoudidnotinstallandenablePortGroupIsolationonanESXhost,youdonothavetomigratevirtual
machinestouninstallavShieldEdge.
Commentaires sur ces manuels