[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-API] XAPI Perl howto



> By the way - a am having trouble finding the way to export a vm using
> Xapi.
> Any ideas?

Try using an HTTP GET 

$ wget http://user:pass@host/export?uuid=<VM uuid>

Cheers,
Dave

> 
> Cheers,
> Sergey
> 
> 
> On Mon, Jun 27, 2011 at 2:05 PM, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
> wrote:
> > Hi Sergey,
> >
> >> Thanks, Dave.
> >> It turned out an easy thing to master.
> >
> > Great!
> >
> >> How can I add my examples?
> >
> > Perhaps just add them to the wiki on xen.org?
> >
> > Cheers,
> > Dave
> >>
> >> Cheers,
> >> Sergey.
> >>
> >> On Fri, Jun 24, 2011 at 1:41 PM, Dave Scott
> <Dave.Scott@xxxxxxxxxxxxx>
> >> wrote:
> >> > Hi Sergey,
> >> >
> >> > You can use raw XMLRPC to control an XCP pool. There aren't any
> perl
> >> examples (maybe you could write some!) but you could probably
> translate
> >> the python ones:
> >> >
> >> > http://docs.vmd.citrix.com/XenServer/4.0.1/api/client-
> >> examples/python/index.html
> >> >
> >> > The XenAPI documentation is here:
> >> >
> >> > http://www.xen.org/files/XenCloud/ocamldoc/
> >> >
> >> > Cheers,
> >> > Dave
> >> >
> >> >> -----Original Message-----
> >> >> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> >> >> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sergey Melnik
> >> >> Sent: 24 June 2011 08:53
> >> >> To: xen-api@xxxxxxxxxxxxxxxxxxx
> >> >> Subject: [Xen-API] XAPI Perl howto
> >> >>
> >> >> Hello, everyone.
> >> >> I am writing a small backup management system for company XCP
> farm,
> >> >> and had a small script written in bash & xe to do the thing.
> >> >> Now the task is to move from bash to Perl.
> >> >> I am not really fond of using exec everytime and looking for
> other
> >> way
> >> >> to communicate with XCP Xapi.
> >> >> I ve seen python scripts, yet they are mostly for Xend, not for
> XCP.
> >> >>
> >> >> Which way should I look? Are there perl bindings for XCP?
> >> >>
> >> >>
> >> >> Thanks,
> >> >> Sergey.
> >> >>
> >> >> _______________________________________________
> >> >> xen-api mailing list
> >> >> xen-api@xxxxxxxxxxxxxxxxxxx
> >> >> http://lists.xensource.com/mailman/listinfo/xen-api
> >> >
> >
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.