VMware VSHIELD APP 1.0 - API Manual de usuario Pagina 50

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 49
vShield API Programming Guide
50 VMware, Inc.
</vshieldEdgeConfig>
6Forthedatapathtowork,youneedtochangethedefaultfirewallpolicytoallow,orpunchFirewallrules
toallowdatatrafficonVPNandinternalinterfaces
Operating vShield Edge
ThesetofAPIsinthissectionperformvShieldEdgediscoveryandoperations.
Get Details About Edge
YoucanretrievethedetailsofavShieldEdgeconfiguration.Thisshowstheinternalrulespunchedthrough
thevShieldEdgetomakeloadbalancingandVPNwork.
Example 5-34. Retrieve vShield Edge details
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/detailed
ThisreturnsthecurrentandinstalltimehostId,dataStoreId,vmId,andotherdetailsthatgiveadministrators
insightintowhethertheEdgeVMgotvMotionedoraltered.
Request Sync or Upgrade
YoucansynchronizeorupgradevShieldEdge.
Example 5-35. Request an action from vShield Edge
Request:
POST https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge?action=<actiontype>
The<...moref-id>referstosomenetworkentity.The<actiontype>canbeoneofthefollowing:
forcesyncforceEdgetosynchronizewiththelastgoodconfigurationinthevShieldManagerdatabase.
POST https://<vsm-ip>/api/2.0/networks/dvportgroup-63/edge?action=forcesync
upgradeupgradetheEdgetothelatestversioniftheOVFisavailable.
POST https://<vsm-ip>/api/2.0/networks/dvportgroup-63/edge?action=upgrade
forceupgradeupgradetothelatestavailableversion,creatingoneifanexistingEdgeisnotfound.
POST https://<vsm-ip>/api/2.0/networks/dvportgroup-63/edge?action=forceupgrade
Get IPsec Tunnel Statistics
YoucanretrievestatisticsabouttheIPsectunnel.
Example 5-36. Get IPsec statistics
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/statistics/ipsec
Get DHCP Statistics
YoucanretrieveDHCPleasestatistics,includingdetailsaboutleasedIPsfromtheconfiguredIPPools.
Vista de pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 103 104

Comentarios a estos manuales

Sin comentarios