Setting VM host placement options using RHEV API and Python SDK

Solution Verified - Updated -

Issue

  • We're creating a Python script to automate creation of VMs through the RHEV API, but can't find how to set the migration options, i.e. the ones you find in Edit VM > Host > Migration Options and which can be either:
    • Allow manual and automatic migration
    • Allow manual migration only
    • Do not allow migration

Environment

  • Red Hat Enterprise Virtualization 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.