Setting VM host placement options using RHEV API and Python SDK
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.