Home > Virtualization > Red Hat Enterprise Virtualization Management APIs

Red Hat Enterprise Virtualization Management APIs

November 21st, 2011 Leave a comment Go to comments

While checking out the exhibitions at CloudExpo weeks ago, I learned about the Red Hat Enterprise Virtualization (RHEV) 3.0. Due to my interest in virtualization APIs, I started to look into its management APIs. With no surprise these days, it’s a REST API.

As my typical flow learning new APIs, I started with the product itself. I find, with no exception so far, that an APIs is much easier to understand if the product is understood first. After all, the APIs just exposes the features and capabilities of a product. To illustrate these features and capabilities, the GUI is always better than API docs. I found the Quick Start Guide very helpful.

Time to learn how to "Google" and manage your VMware and clouds in a fast and secure


After that, I started to read the REST API Guide. It’s just a typical REST documentation with many URLs and XMLs. I am sure you’ve read some similiar docs before and know what to expect in such a document.

Because I am an OO bigot, I always look for an object model behind an APIs. With REST APIs, it’s normally missing even though you can easily map resources to objects. While browsing the API doc, I find the section 4.2 Link elements has something close to what I wanted.

The following is Table 4.1. Available Relationship Types from that section. Although it’s about the relationships, you can tell the available types in the APIs. Contents are the same, but you can read them from different perspectives.

Capabilities Supported capabilities of the Red Hat Enterprise Virtualization Manager.
Datacenters Data centers.
Clusters Host clusters.
Networks Virtual networks.
Storagedomains Storage domains.
Hosts Hosts.
Vms Virtual machines.
Templates Templates.
Vmpools Virtual machine pools.
Domains Identity service domains.
Groups Imported identity service groups.
Roles Roles.
Users Users.
Tags Tags.
Events Events.

Although it’s still not as rich or sophisticated as VMware vSphere APIs, the RHEV management APIs offers all the basic features for RHEV to be a good solution for low cost virtualization management. Currently the product is in its external beta according to the website. It definitely worths trying out once it GAs.

  1. No comments yet.
  1. No trackbacks yet.