
VMware, Inc. 41
Chapter 5 vShield Edge Management
Get the Detailed Configuration for a VPN Site
YoucanretrieveadetailedVPNconfigurationforasitethatcontainstheVPNserverconfiguration,site
configuration,tunnelconfiguration,andthedetailedconfigurationofalltunnelsforthesite.
Example 5-40. Getting the Detailed Configuration for a VPN Site
Request:
GET <vshield_manager-uri>/api/1.0/network/<vdc-moref-id>/vpn/ipsec/<site-name>/detailedconfig
Example:
GET /api/1.0/network/resgroup-v107/vpn/ipsec/site01/detailedconfig HTTP/1.1
Host: localhost:9998
authorization: Basic YWRtaW46ZGVmYXVsdA==
Get the Detailed Tunnel Configuration
YoucanrequestthelistoftunnelsconfiguredforaVPNsite.
Example 5-41. Getting the Detailed Tunnel Configuration for a Site
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/ipsec/<site-name>/<connection-name>/detailedconfig
Delete a Tunnel for a VPN Site
Thiscalldeletesatunnelfromthespecifiedsite.
Example 5-42. Deleting a Tunnel from a VPN Site
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/ipsec/<site-name>/<connection-name>
Delete a Remote Site
YoumustspecifythesitenametodeletearemoteVPNsite.Thesiteandallassociatedtunnelsaredeleted.
Example 5-43. Deleting a Remote VPN Site
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/ipsec/site/<site-name>
Get the Current VPN Configuration on a vShield Edge
YoucanretrievethecurrentVPNconfigurationonavShieldEdgetoviewsettingssuchastunnelsandsites,
aswellasentitynamingandaddressing.
Example 5-44. Getting the Current VPN Configuration
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/vpn/ipsec/config
Commenti su questo manuale