Get The Current Syslog Server Configuration; Get Timestamps Of Last 10 Syslog Server Configurations; Get A Syslog Server Configuration By Timestamp; Revert To A Syslog Server Configuration By Timestamp - VMware VSHIELD APP 1.0.0 UPDATE 1 - API Programming Manual

Vshield api
Hide thumbs Also See for VSHIELD APP 1.0.0 UPDATE 1 - API:
Table of Contents

Advertisement

vShield API Programming Guide
<VShieldEdgeConfig>
<SyslogServerConfig>
<ipAddress>A.B.C.D</ipAddress>
.....
.....
</SyslogServerConfig>
</VShieldEdgeConfig>
Rules:
You can add up to two syslog servers.
Example:
POST /api/1.0/network/network-244/syslog/config
Content-Type: application/xml
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Length: 173
<?xml version="1.0" encoding="UTF-8"

Get the Current Syslog Server Configuration

Example 5-63. Getting the Running Syslog Server Configuration
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/syslog/config

Get Timestamps of Last 10 Syslog Server Configurations

Example 5-64. Getting Last 10 Syslog Server Configurations by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/syslog/snapshots

Get a Syslog Server Configuration by Timestamp

Example 5-65. Getting a Syslog Server Configuration by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/

Revert to a Syslog Server Configuration by Timestamp

Example 5-66. Reverting to a Syslog Server Configuration by Timestamp
Request:
PUT <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
48
standalone="yes"?><VShieldEdgeConfig><SyslogServerConfig><ipAddress>10.112.196.123
</ipAddress></SyslogServerConfig></VShieldEdgeConfig>
syslog/snapshot/<snapshot-timestamp>
syslog/snapshot/<snapshot-timestamp>
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents