[gsoc-dev] [ganeti-web-manager] Interaction between GWM Layer and Ganeti Layer (Discussion)
pranjal mittal
mittal.pranjal at gmail.com
Fri Apr 12 21:46:47 UTC 2013
I am having a look at the ganeti_webmgr code. (Consider me an absolute
beginner)
Without diving into the subtleties so much, I would first like to know the
bigger picture: of how GWM as a Django Application is able to interact with
Ganeti which is a separate tool generally used via the CLI ?
*Possible ways in my opinion:*
(1) GWM making os.system() calls to ganeti-cli with appr. parameters and
reads results from stdout?
(2) Calls to Ganeti Rest / Remote API via some client? (RAPI Client as it
is called)
(3) Some other Python module / API that provides access to function
equivalents of the Ganeti CLI calls.
*As for what I can make out from the code, RAPI is what I can see being
used; but still not clear on how to use it well.*
(In case I am under the correct presumption: Can I get the latest reference
or tutorial for the Ganeti RAPI?)
Are we simply instantiating the RAPI Client object everytime to make use of
it for the Ganeti specific calls?
*This is how I perceive things right now:*
[Web App Layer (GWM)] ---- [Ganeti Layer] ----\
\----- [Other Virualizat'n tools] --- [Kernel / OS Layer]
Looking forward to some inputs and discussion on this hypothetical layer
model and how interaction is done b/n the GWM layer and the Ganeti-Layer.
Thanks
- Pranjal
IRC handle: *pmittal*
OSUOSL handle: *pramttl*
--
Best Regards,
Pranjal Mittal
B.Tech. 2014
Indian Institute of Technology,BHU
Varanasi, U.P,
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/gsoc-dev/attachments/20130413/01e2f4aa/attachment.html>
More information about the gsoc-dev
mailing list