Get A Load Balancer Configuration By Timestamp; Revert To A Load Balancer Configuration By Timestamp; Delete The Load Balancer Configuration On A Vshield Edge; Managing The Mtu Threshold For A Vshield Edge - VMware VSHIELD APP 1.0 - API Programming Manual

Vshield api
Table of Contents

Advertisement

vShield API Programming Guide

Get a Load Balancer Configuration by Timestamp

You can retrieve and view a specific historical Load Balancer configuration by specifying the timestamp when 
the configuration was overwritten.
Example 5-53. Getting Load Balancer Configuration by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<portgroup-moid>/

Revert to a Load Balancer Configuration by Timestamp

You can revert to a previous Load Balancer configuration by specifying the timestamp of the previous 
configuration.
Example 5-54. Reverting to a Previous Load Balancer Configuration by Timestamp
Request:
PUT <vshield_manager-uri>/api/1.0/network/<portgroup-moid>/

Delete the Load Balancer Configuration on a vShield Edge

Example 5-55. Deleting the Load Balancer Configuration on a vShield Edge
Request:
DELETE <vshield_manager-uri>/api/1.0/network/<portgroup-moid>/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

You can set a maximum transmission unit (MTU) threshold for traffic on the Internal and External interfaces 
of a vShield Edge.
For the MTU threshold schema, see "MTU Threshold Schema" on page 87.
Example 5-56. Configuring the MTU Threshold for a vShield Edge
Request:
PUT <vshield_manager-uri>/api/1.0/network/<portgroup-moid>/mtu
48
loadbalancer/snapshot/<snapshot-timestamp>
loadbalancer/snapshot/<snapshot-timestamp>
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents