Hi Joe,

You pass the content of the template file as a parameter to the RPC call 
creating a new VM (one.vm.allocate). So, if you want to keep the template in a 
file (as opposed to e.g. creating the template string dynamically) you would 
need to store it on the client side.

Or in a more complicated scenario where you have multiple client sides which 
should all use the same template, you could put the template on a webserver, 
have your client download the template from the web server and submit the 
content of the file with the RPC call.

Carsten


From: [email protected] 
[mailto:[email protected]] On Behalf Of Teasdale, Joe
Sent: Wednesday, 16 March 2011 6:15
To: [email protected]
Subject: [one-users] XMLRPC Configuration

I have a situation and I am new to this so please let me know if  I misstep.

I need to create a new template (vm description) for each vm I would like to 
deploy and would like to use this template through one.vm.allocate.

If the One server is remote where should I create the template file to be 
called from the xmlrpc interface?

Would it go in the $HOME/one_templates directory for the user I supply in the 
session parameter?

Thanks




_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to