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

Re: [Xen-API] XCP Feature propose - send/receive OS information using introspection


  • To: v.tolstov@xxxxxxxxx
  • From: Marco Sinhoreli <msinhore@xxxxxxxxx>
  • Date: Mon, 20 Dec 2010 17:44:08 -0200
  • Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 20 Dec 2010 11:44:20 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ahsJpmT3g/z5Rndnnr/VD1GM/bSyEpJmRprbL1wSLHu+leewCJVNrt1odGhax8zTHy rOjwVL5n/u0ZN95AxD9U4dPZ1ifJV03s/5/Rf11xq8RRgIWmJMjCYK/SujuJ4g5XiZ2V 5PBP6l8RhrM4Ks5XYzT3VI/nmqmGpX3sJcPZY=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

But I explain about a functionality implemented in Xen (xentore) and
it need only be encapsulated in xenapi. The data to send will be only
string and not to transfer files between domains. To use this function
the user need to have a valid session like others resources used in
api. I don't think it be a security issue.

On Mon, Dec 20, 2010 at 5:31 PM, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> wrote:
> On Mon, 2010-12-20 at 14:11 -0200, Marco Sinhoreli wrote:
>> I was trying some xenstore functions using the XenAPI and I think it
>> not write the data on-line:
>>
>> session = XenAPI.Session(url)
>> session.xenapi.login_with_password(username, password)
>> vm=session.xenapi.VM.get_by_uuid('31064e39-71d6-7a30-593d-b3d0e2db1552')
>> session.xenapi.VM.add_to_xenstore_data(vm, 'orquestra', 'teste')
>> print session.xenapi.VM.get_xenstore_data(vm)
>>
>>
>> It is running ok but this information isn't showed into the VM using
>> xenstore-read while its running. I think this function is to set only
>> when the VM is halted.
>>
>> Using xenstore directly in domain0 I can send and receive data between
>> domain0 and domainU. I'm learning the toolstack to check if it is
>> simple to implement.
>>
>> Any ideia?
>
>
> Xenstore can't provide transfer files functionality and can't be used to
> store sensitive data, for example user can send fake data to xenstore...
>
>



-- 
Marco Sinhoreli

_______________________________________________
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®.