[Engine-devel] Registering an existing disk or VM through the REST API

Morrissey, Christopher Christopher.Morrissey at netapp.com
Tue Nov 20 14:32:31 UTC 2012


> -----Original Message-----
> From: Itamar Heim [mailto:iheim at redhat.com]
> Sent: Tuesday, November 20, 2012 9:27 AM
> To: Morrissey, Christopher
> Cc: engine-devel at ovirt.org; Ayal Baron; Hopper, Ricky
> Subject: Re: [Engine-devel] Registering an existing disk or VM through the
> REST API
> 
> On 11/20/2012 04:18 PM, Morrissey, Christopher wrote:
> > Hi All,
> >
> > As many of you know, we're working on adding a plugin to oVirt for
> > NetApp storage controllers. The plugin will allow users to add a new
> > storage domain and rapidly clone VMs using the native ONTAP APIs. Our
> > plan is to do this outside of oVirt in a separate engine and then
> > register the new storage domain or cloned VMs through the REST API.
> >
> > I've been going through the oVirt code and I'm not able to find a way
> > to register an existing VM or disk through the REST API. Am I missing
> > something or is this functionality that needs to be added? As part of
> > the cloning process we can generate new UUIDs for the cloned disks and
> > images, but I don't see a way to get them recognized by oVirt.
> >
> > This functionality is very important to moving forward on our plugin
> > and I can certainly help add this capability if needed.
> 
> missing today, but i thought this is what domain scan was about?
> http://wiki.ovirt.org/wiki/Features/Domain_Scan
> http://gerrit.ovirt.org/#/c/8219/1
> 

I had thought that as well, although the domain scanning functionality that was submitted was just querying for new disks and not actually registering them. I'm admittedly still a bit new to this and wanted to make sure I wasn't missing something.

I'll be working on the functionality to get the newly found disks actually registered with oVirt over the next week and get it submitted to gerrit as soon as possible.

> >
> > -Chris
> >
> > *Chris Morrissey*
> >
> > Software Engineer
> >
> > NetApp Inc.
> >
> > 919.476.4428
> >
> >
> >
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >
> 




More information about the Devel mailing list