Hi,<div><br></div><div>What kind of results will you present to the user?</div><div><br></div><div><br></div><div>The commands that trigger a driver action are asynchronous, so you can't get any result immediately to the user.</div>

<div><br></div><div>If you are modifying the c++ core, you could add your custom information in the VM template, this way the users will see it in the 'onevm show' output.</div><div><br></div><div>Or you could use the generic document resources [1]. These are just like the templates managed with onetemplate; they will store anything and will also have owner, group, acl, permissions...</div>

<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.8:api#actions_for_document_management">http://opennebula.org/documentation:rel3.8:api#actions_for_document_management</a><br clear="all">

<div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>

</div>
<br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 2:37 PM, Tobias Zillner <span dir="ltr"><<a href="mailto:tobias.zillner@gmx.at" target="_blank">tobias.zillner@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<div><br></div><div>my Name is Tobias Zillner and I am working on a master thesis about forensics in the cloud.</div><div><br></div><div>For my practical part I decided to add forensic services to open nebula. </div>


<div><br></div><div>So i extended the onevm commad and added a function forensics. I extended the whole way through the code. </div><div>At the moment i am able to execute my own vmmd script, in which a forensic tool (volatility) is called and analyse the virtual machines.</div>


<div><br></div><div>But now I don't know how to get the result back to the user. Basically i want to create a scenario like this:</div><div><br></div><div>A user just puts in onevm forensics id and the analysis result is shown to him in the screen.</div>


<div><br></div><div>Anybody can help me here and tell me what funtions to call or how the way back to the user shell works?</div><div>Does anyone have experience with adding funtions and the flow of commands through the code?</div>


<div><br></div><div>THX!</div><div><br></div><div>Best Regards,</div><div><br></div><div>Tobias</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>