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/
Home Products Support Community News


[Xen-API] RE: Questions about the api

To: Tomoiaga Cristian <cristi@xxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] RE: Questions about the api
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Date: Wed, 20 Oct 2010 19:42:42 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Wed, 20 Oct 2010 11:43:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C16BD5DB91CF44292D2145E0D5237351CF3AA1180@baseex>
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>
References: <4C16BD5DB91CF44292D2145E0D5237351CF3AA1180@baseex>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActwYi8PWcMONn2PRP6kgTxEiu1LkAAJBD0Q
Thread-topic: Questions about the api
> I am writing a SR for Nexenta since I haven't found one and zfs seems
> pretty good until now.

A Nexenta SR would be a very nice thing to have.

I'd recommend exposing raw files over iSCSI, and then using ZFS's native 
snapshot capabilities to implement the snapshot and clone APIs. Is this your 


> My questions are more related to missing(?) api calls.
> I need to know if I can set the following fields in a VDI for example:
> Is-a-snapshot - there is a get_is_a_snapshot call but not a
> set_is_a_snapshot. Same for snapshot-of. Think it's usefull just in case I
> vdi-forget the snapshot and re introduce it with a scan or in other
> situations.
> parent - there is a get_parent but not a set_parent call, this would be
> nice.
> Of course I can use sm-config for example, to set a parent but still,
> since the field is there I would like to set it myself.
> Thank you!
> Tomoiaga Cristian
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api

xen-api mailing list