Example:
GET /api/1.0/network/network-244/dhcp/config HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: 10.112.196.213
Get Timestamps of Last 10 DHCP Configurations
You can get a list of the last 10 DHCP configurations by timestamp.
Example 5-9. Getting Last 10 DHCP Configurations
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/dhcp/snapshots
Get a DHCP Configuration by Timestamp
You can view the details of a past DHCP configuration by specifying the timestamp of the snapshot.
Example 5-10. Getting a DHCP Configuration by Snapshot Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
Revert to a DHCP Configuration by Timestamp
You can revert to a previous DHCP configuration by specifying the timestamp of the snapshot. The current
configuration is saved for future reference.
Example 5-11. Revert to an DHCP Configuration by Timestamp
Request:
PUT <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
Delete the DHCP Configuration on a vShield Edge
You can delete the current DHCP configuration a vShield Edge.
Example 5-12. Delete the DHCP Configuration on a vShield Edge
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/dhcp/config
Example:
DELETE /api/1.0/network/network-244/dhcp/config HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: 10.112.196.213
VMware, Inc.
dhcp/snapshot/<snapshot-timestamp>
dhcp/snapshot/<snapshot-timestamp>
Chapter 5 vShield Edge Management
27
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