Re: [Engine-devel] Fwd: [Users] Related to python script for Attach Cd (.iso) to a vm

5 Nov
2012
5 Nov
'12
1:04 p.m.
On 11/05/2012 01:23 PM, Romil Gupta wrote:
On 11/05/2012 09:58 AM, Romil Gupta wrote:
Do we have any refresh or update function in ovirt sdk so that after coping the image RHEVM will get refresh automatically ??
Regards, Romil
yes, just do GET on /api/storagedomains/xxx/files --
Michael Pasternak RedHat, ENG-Virtualization R&D
Hi,
I have to write a python script using ovirt sdk ! Please tell me the refresh iso domain function in python :)
sdk using very same semantics as apy does, sd = api.storagedomains.get(name="iso_domain") sd.files.list() // will produce [GET on /api/storagedomains/xxx/files]
Regards , Romil
-- Michael Pasternak RedHat, ENG-Virtualization R&D
4662
Age (days ago)
4662
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Pasternak