
vShield API Programming Guide
46 VMware, Inc.
Get a Load Balancer Configuration by Timestamp
YoucanretrieveandviewaspecifichistoricalLoadBalancerconfigurationbyspecifyingthe timestampwhen
theconfigurationwasoverwritten.
Example 5-55. Getting Load Balancer Configuration by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
loadbalancer/snapshot/<snapshot-timestamp>
Revert to a Load Balancer Configuration by Timestamp
YoucanreverttoapreviousLoadBalancerconfigurationbyspecifyingthetimestampoftheprevious
configuration.
Example 5-56. Reverting to a Previous Load Balancer Configuration by Timestamp
Request:
PUT <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
loadbalancer/snapshot/<snapshot-timestamp>
Delete the Load Balancer Configuration on a vShield Edge
Example 5-57. Deleting the Load Balancer Configuration on a vShield Edge
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/loadbalancer
Example:
DELETE /api/1.0/network/network-244/loadbalancer HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
Managing the MTU Threshold for a vShield Edge
Youcansetamaximumtransmissionunit(MTU)thresholdfortrafficontheInternalandExternalinterfaces
ofavShieldEdge.
FortheMTUthresholdschema,see“MTUThresholdSchema”onpage 84.
Example 5-58. Configuring the MTU Threshold for a vShield Edge
Request:
PUT <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/mtu
YoucanretrievethecurrentMTUthresholdfromavShieldEdgeforreference.
Example 5-59. Retrieving the MTU Threshold for a vShield Edge
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/mtu
Comentarios a estos manuales