25.3. Installing the Software Development Kit

Summary
The software development kit is provided by the rhevm-sdk. The package includes all of the Python bindings for the Red Hat Enterprise Virtualization Manager Application Programming Interface (API). To begin using the software development kit you must install the rhevm-sdk package on the system that you wish to use for your script development. The instructions that appear here are intended for use on a system running Red Hat Enterprise Linux 6.3 or later.

Procedure 25.1. Installing the Python SDK

  1. Ensure that your system has the required entitlements:
    • When using certificate-based Red Hat Network you must subscribe to the Red Hat Enterprise Virtualization entitlement to install the rhevm-sdk package.
    • When using Red Hat Network classic you must ensure subscribe to the Red Hat Enterprise Virtualization Manager channel to install the rhevm-sdk package. Refer to the Red Hat Enterprise Virtualization Manager Release Notes for specific channel names current to your system.
  2. Ensure that you are logged in as the root user.
  3. Install the rhevm-sdk package using the yum command.
    # yum install rhevm-sdk
Result
The rhevm-sdk package is now installed. The ovirtsdk Python library is now available for use on the local system.