VMware VSHIELD APP 1.0 - API Manuel d'utilisateur Page 44

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 43
vShield API Programming Guide
44 VMware, Inc.
Get Capabilities of a vShield Edge
ThiscallreturnscapabilitiesofthevShieldEdgeinstalledonthespecifiedportgroup.
The<internal-portgroup-vc-moref-id>isthemanagedobjectreferenceofanetworkordvPortGroup.
Example 5-3. Get Capabilities of a vShield Edge
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/capability
ForthespecifiedvShieldEdge,itshowscapabilityfortheVPN,loadbalancer,NAT,firewall,DHCP,andstatic
routing.ItalsoshowsthedvPortGroup’sID,Edgeversionnumber,andcompatibilitymode.
Switch to New API Version
ThevShield4.1RESTcalls(APIversion1.0)workwhenvShield5.0(API2.0)isinbackwardcompatibility
mode.Inregularmode,afteryouenableAPI2.0,theRESTcallsarenotbackwardcompatible.Note:
ClientscancontinuetouseREST1.0ontheiralreadyinstalledEdges.NewEdgescanbealsobeinstalled
anduseREST1.0,howevernewfeaturesarenotavailablewithoutusingtheREST2.0API.
Tousenewfeaturesexposedinversion2.0oftheRESTAPI,youmustupgradethevShieldEdge(see
“RequestSyncorUpgrade”onpage 56)andswitchtothenewAPIversion(seeExample 54below).
Oncetheswitchismade,youcannotdowngradeto(revertto)version1.0oftheRESTAPI.
ThiscallshowninExample 54switchestheRESTmodetolatest,soREST1.0cannolongeradministerthe
vShieldEdgeassociatedwith<internal-portgroup-vc-moref-id>.Thecompatibilitymodeswitchesfrom
backwardcompatibilitytoregular.
Example 5-4. Enable new API on vShield Edge
Request:
PUT https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/enable
Get Full Configuration of a vShield Edge
ThisAPIisusedtoreadthefullconfigurationpresentonEdge.
The<internal-portgroup-vc-moref-id>isthemanagedobjectreferenceofanetworkordvPortGroup.
Example 5-5. Get capabilities of a vShield Edge
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge
Theresponsebodymayincludetheseserviceconfigurationtags:installParams,routeConfig,natConfig,
firewallConfig,dhcpConfig,dhcpService,loadBalancerConfig,loadBalancerService,certificateStoreConfig,
ipsecSiteToSiteConfig,ipsecSiteToSiteService,syslogServerConfig,amongothers.
Change Configuration of a vShield Edge
ThiscallchangestheconfigurationofavShieldEdge.The<internal-portgroup-vc-moref-id>isthe
managedobjectreferenceofadvPortGroup.Allservices,orjustone,canbeconfiguredusingthiscall.
AvShieldEdgelicenseisrequired.EdgeBasiclicenseincludes:Install,NAT,Firewall,DHCP,staticrouting.
EdgePremiumlicensehandles:LoadBalancer,
VPN.
Vue de la page 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 131 132

Commentaires sur ces manuels

Pas de commentaire