vShield API Programming Guide
<?xml version="1.0" encoding="UTF-8"
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
C
If you have enabled Port Group Isolation, you must migrate or power off the virtual machines on
AUTION
the ESX host from which you want to uninstall a vShield Edge. Uninstalling Port Group Isolation places the
ESX host in maintenance mode. After uninstallation is complete, the ESX host reboots. If any of the virtual
machines that are running on the target ESX host cannot be migrated to another ESX host, these virtual
machines must be powered off or migrated manually before the uninstallation can continue. If the vShield
Manager is on the same ESX host, the vShield Manager must be migrated prior to uninstalling Port Group
Isolation.
If you did not install and enable Port Group Isolation on an ESX host, you do not have to migrate virtual
machines to 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
22
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>
VMware, Inc.
Need help?
Do you have a question about the VSHIELD APP 1.0.0 UPDATE 1 - API and is the answer not in the manual?
Questions and answers