Show Table of Contents
11.4. Methods
11.4.1. Creating a Network Resource
Creation of a new network requires the
name and datacenter elements.
Example 11.3. Creating a network resource
POST /ovirt-engine/api/networks HTTP/1.1
Accept: application/xml
Content-type: application/xml
<network>
<name>network 1</name>
<data_center id="00000000-0000-0000-0000-000000000000"/>
</network>
11.4.2. Updating a Network Resource
The
name, description, ip, vlan, stp and display elements are updatable post-creation.
Example 11.4. Updating a network resource
PUT /ovirt-engine/api/networks/00000000-0000-0000-0000-000000000000 HTTP/1.1
Accept: application/xml
Content-type: application/xml
<network>
<description>Network 1</description>
</network>
11.4.3. Removing a Network Resource
Removal of a network requires a
DELETE request.
Example 11.5. Removing a network
DELETE /ovirt-engine/api/networks/00000000-0000-0000-0000-000000000000 HTTP/1.1 HTTP/1.1 204 No Content

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.