Get the Detailed Configuration for a VPN Site
You can retrieve a detailed VPN configuration for a site that contains the VPN server configuration, site
configuration, tunnel configuration, and the detailed configuration of all tunnels for the site.
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
You can request the list of tunnels configured for a VPN site.
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>/
Delete a Tunnel for a VPN Site
This call deletes a tunnel from the specified site.
Example 5-42. Deleting a Tunnel from a VPN Site
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
Delete a Remote Site
You must specify the site name to delete a remote VPN site. The site and all associated tunnels are deleted.
Example 5-43. Deleting a Remote VPN Site
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
Get the Current VPN Configuration on a vShield Edge
You can retrieve the current VPN configuration on a vShield Edge to view settings such as tunnels and sites,
as well as entity naming and addressing.
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
VMware, Inc.
vpn/ipsec/<site-name>/<connection-name>/detailedconfig
vpn/ipsec/<site-name>/<connection-name>
vpn/ipsec/site/<site-name>
Chapter 5 vShield Edge Management
41
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