Python SDK api.vms.get request does not contain info about memory ballooning of a VM

Solution Verified - Updated -

Issue

Python SDK api.vms.get request returns None value for the current ballooning state of a VM.

vm = api.vms.get(name='test')
vm
<ovirtsdk.infrastructure.brokers.VM object at 0x7f7f4764c850>
print vm.get_memory_policy().get_ballooning()
None

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.x
  • Red Hat Virtualization (RHV) 4.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