1.5
Table Of Contents
- vCloud API Programming Guide
- Contents
- vCloud API Programming Guide
- About the VMware vCloud API
- Hello vCloud: A Simplified RESTful Workflow
- Exploring a Cloud
- Provisioning an Organization with vApps, Templates, and Media
- Deploying and Operating vApps
- Summary of vCloud API vApp and Virtual Machine Operations Requests
- Create a vApp From a Template
- Compose a vApp From Existing Virtual Machines
- Recompose a vApp to Add or Remove Virtual Machines
- Operate a vApp
- Configuring vApps and Virtual Machines
- Retrieve the Configuration Links for a vApp
- Retrieve the Configuration Links for a Virtual Machine
- Retrieve or Update a Modifiable Section
- Update a vApp Network Configuration
- Update the NetworkConnectionSection of a Virtual Machine
- Retrieve or Modify the CPU Configuration of a Virtual Machine
- Retrieve or Modify the GuestCustomizationSection of a Virtual Machine
- Retrieve or Modify ProductSection Elements
- Retrieve or Modify Groups of Related Sections in a Virtual Machine
- Retrieve or Modify the Hard Disk Configuration of a Virtual Machine
- Creating, Provisioning, and Managing Organizations
- Summary of Administrative Requests
- Administrator Credentials and Privileges
- Organization Administration
- Network Administration
- vDC Administration
- Catalog Administration
- User and Group Administration
- Working With Roles and Rights
- Controlling Access to vApps and Catalogs
- Using vCloud API Extensions to Provision and Manage a Cloud
- Working With Object Metadata
- Using the Query Service
- Configuring and Using Blocking Tasks and Notifications
- XML Representations in the vCloud API
- Index
Synchronize Syslog Server Settings for a Network
When you change the IP addresses of the primary or secondary syslog server for a cloud, you must also
synchronize the syslog server settings for organization and vApp networks that include a firewall service that
has logging enabled.
If a system administrator changes the SyslogServerSettings for a cloud, all organization and vApp networks
that are configured with a firewall service whose EnableLogging element has a value of true must be
synchronized with the new syslog server settings so that logging can continue without interruption.
Prerequisites
n
To synchronize syslog server settings for an organization network, you must be an organization or system
administrator.
n
To synchronize syslog server settings for a vApp network, you must be the vApp owner.
Procedure
1 Retrieve the XML representation of the network.
Use a request like this one.
GET https://vcloud.example.com/api/admin/network/
id
2 Examine the response to locate the Link element that contains the URL for the
syncSyslogServerSettings action.
This element has a rel attribute value of syncSyslogSettings and a type attribute value of
application/vnd.vmware.vcloud.task+xml, as shown in this excerpt:
<Link
rel="syncSyslogSettings"
type="application/vnd.vmware.vcloud.task+xml"
href="https://vcloud.example.com/api/admin/network/59/action/syncSyslogServerSettings" />
3 Make a POST request to the link described in Step 2.
The request does not have a request body. The response is a task.
Example: Synchronize Syslog Server Settings for a Network
This request synchronizes the syslog server settings for the OrgNetwork shown in “Example: Add a Virtual
Private Network to a Routed Organization Network,” on page 131.
POST https://vcloud.example.com/api/admin/network/59/action/syncSyslogServerSettings />
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ...
operation="Updating Network RoutedOrgNetwork (59)" ... >
...
</Task>
vCloud API Programming Guide
138 VMware, Inc.