Storage Domain - Python API

Latest response

Hi

We have 14 RHV host running local storage with 1 export domain that we detach and attach to each data centre when required. The export-domain can only be attached to one data centre at a time.

I was looking a Python using the API to automatic some tasks for example moving 1 VM from one host to another., but I can't seem to find a way to detach the export domain from the data centre and add it to another.

Can anyone suggest the best way to complete this function?

We are using RHV version 4.3

Kind Regards
Jason

Responses