WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Using Python(xm) Scripts

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Using Python(xm) Scripts
From: Miguel Garcia <mhenriques@xxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 09:00:36 +0100
Delivery-date: Tue, 07 Apr 2009 00:59:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Hello, I've been working with Xen 3.2 along this year (08/2009),

I'm developing a System with the purpose of Intrusion Tolerance Service,

I've done a script (sh) to Install and config some DomU's (fedora, centOs, Ubuntu,Debian, NetBSD), I have a little work to do with FreeBSD and Windows Xp [PVM approach...I think...since the FreeBSD DomU-xen Kernel doesn't exist anymore].

But my serious question is: How can I "change"/use by my own the xm api. So, I want to do a program [maybe C] that use directly xm script, but my only problem its the limitation of C with sh calling for example, sytem("xm create debian.cfg"), I want get by parameter debian.cfg but it seems to be impossible[in C with system(...)]... so a think if I could use directly xm code I will get more advantages of Xen. I tried to run main.py in the lib/xen/python/xm but doesn't work... so, anyone could already modify the xm main scripts ?

Tnksz,


--
Miguel Garcia
http://pwp.netcabo.pt/miguelgarcia/
«The only limiting factor of the Linux operating system, is his user.» - Linus Torvalds

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] Using Python(xm) Scripts, Miguel Garcia <=