1.2. Installing the Python Software Development Kit

Install the Python software development kit.

Procedure 1.1. Installing the Python Software Development Kit

  1. Ensure your system is subscribed to the Red Hat Enterprise Virtualization entitlement in Red Hat Subscription Manager:
    # subscription-manager list --available | grep -A8 "Red Hat Enterprise Virtualization"
    # subscription-manager attach --pool=pool_id
    # subscription-manager repos --enable=rhel-6-server-rhevm-3.6-rpms
  2. Install the required packages:
    # yum install rhevm-sdk-python
The Python software development kit and accompanying documentation are downloaded to the /usr/lib/python2.7/site-packages/ovirtsdk/ directory, and can now be added to Python projects.