<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText91045 dir=ltr>
<DIV dir=ltr><FONT color=#000000><BR><FONT face="Courier New" size=2>I would like to know onevm command execution flow(for ex: onevm submit) for the better understanding. I know little bit. please find my understanding for onevm "submit". Please give me information apart from my understanding.<BR><BR>For onevm submit <vm template> <BR>The execution start from <BR>1. case command<BR>when "submit", "create"<BR>    check_parameters("create", 1)<BR>    result=vm.allocate(*ARGV)<BR>    if result[0]<BR>        puts "ID: " + result[1].to_s if ops[:verbose]<BR>        command_exit 0<BR>    end<BR><BR>2. then it invokes allocate method of one.rb script<BR>allocate method is ........<BR>       def allocate(*args)<BR>            begin<BR>                f=open(args[0], "r")<BR>                template=f.read<BR>                f.close<BR>            rescue<BR>                return [false, "Can not read template"]<BR>            end<BR><BR>            self.allocate_(template)<BR>        end<BR><BR>My doubt is after self.allocate how "submit" got scheduled.<BR>I believe the openNEbula has scheduler to handle all the commands<BR><BR>When schduler invokes the submit command. it invokes the tm_clone.sh and tm_mkswap.sh. <BR><BR>I have very little knowladge on your C++ source code.<BR><BR>I believe RequestManager::register_xml_methods()(RequestManager.cc) registers the all the commands with xmlrpc.<BR><BR>Further RequestManager::VirtualMachineAllocate::execute() (RequestManagerAllocate.cc) method got invoked<BR><BR>I don't have any idea when TranferManager.cc got used. <BR></FONT></FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature70940 dir=ltr><PRE><FONT size=2>Regards
Marimuthu
Wipro Technologies
Bangalore</FONT></PRE></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>