VMware VSHIELD APP 1.0 - API Manuale Utente Pagina 56

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 55
vShield API Programming Guide
56 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.
Vedere la pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 131 132

Commenti su questo manuale

Nessun commento