RHV: How to use python SDK to show all LUNs connected to each host?

Solution In Progress - Updated -

Issue

  • I want to get the lun information for each host by querying the ovirt-api by python script.
  • How to use the Python SDK to retrieve information about connected LUNs from each Host.

Environment

  • Red Hat Virtualization 4.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.