
VMware, Inc. 47
Chapter 5 vShield Edge Management
Example:
GET /api/1.0/network/network-244/mtu HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><VShieldEdgeConfig><MTU><internalInterfaceMTU>2000
</internalInterfaceMTU><externalInterfaceMTU>2000</externalInterfaceMTU></MTU>
</VShieldEdgeConfig>
View Traffic Statistics
EachvShieldEdgeagentoffersacollectionservicefortrafficstatistics.Trafficstatisticsprovideinformationon
thesessionsinandoutofyournetwork.
Forthetrafficstatisticsschema,see“TrafficStatsSchema”onpage 85.
Example 5-60. Getting Traffic Statistics for a vShield Edge
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/trafficstats/all
Example:
GET /api/1.0/network/network-244/trafficstats/all HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost
Debug vShield Edge Services Using Service Statistics
YoucanretrievethepathtotheservicestatisticsfileofavShieldEdgeandusethestatisticstodebugservice
issues.
Example 5-61. Debugging a vShield Edge by Using Service Statistics
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/serviceStats
Response:
XMLwithpathofvShieldEdgeservicestatisticsfilewhichcanbedownloadedoverhttp
Kommentare zu diesen Handbüchern