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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content