Dear Daniel,
thank you for your precious advices about the implementation of our
component, we agreed with your vision not to modify the existing files
of OpenNebula. We are planning to include these changes in next versions
of the plugin.
About OpenFlow, we have installed OpenNebula 4.2 and we want to use
these component, but we are not finding it. We don’t have
/etc/one/oneflow-server.conf and we cannot run oneflow-server command,
even if It should be provided with the default installation.
Please, could you tell us what are next steps before the component being
published?
Thanks for your time and effort.
Best Regards,
Antonio and Pietro
On 20/11/2013 17:42, Daniel Molina wrote:
Hi Antonio,
First of all, thank you for your contribution. I would like to share
with you some comments ragarding this component.
In OpenNebula 4.2 we included the OneFlow [1] in the
distribution. OneFlow allows users and administrators to define,
execute and manage multi-tiered applications, or services composed of
interconnected Virtual Machines with deployment dependencies between
them. Each group of Virtual Machines is deployed and managed as a
single entity. Maybe OneFlow can be used in your use case.
Now some comments about the implementation, I really like the way you
integrated everything using the sunstone tabs, but I would try not to
modify existing files of the OpenNebula distribution. We provide
plugins in other parts of the stack to avoid modifying existing files,
not only in the sunstone tabs, for example:
* In VirtualClusterJSON.rb you are interacting directly with the
OpenNebula DB, but the only component interacting with the DB should
be oned. For this, we provide the DOCUMENT resource, this will allow
you to use OpenNebula as a DB and use all the OpenNebula permissions
system, you just have to define a DOCUMENT_TYPE for your resource.
More information
* http://opennebula.org/doc/4.2/oca/ruby/OpenNebula/Document.html
* http://opennebula.org/doc/4.2/oca/ruby/OpenNebula/DocumentPool.html
and the DocumentJson subclass that uses this class to store JSON objects:
* http://opennebula.org/doc/4.2/oca/ruby/OpenNebula/DocumentJSON.html
*
http://opennebula.org/doc/4.2/oca/ruby/OpenNebula/DocumentPoolJSON.html
You can see an example on how to use these classes in the
ServiceTemplate and ServiceTemplatePool classes of OneFlow:
*
https://github.com/OpenNebula/one/blob/master/src/flow/lib/models/service_template.rb
* Instead of modifying the SunstoneServer.rb, you can use the Sunstone
server plugins to add custom routes to the server:
*
http://opennebula.org/documentation:rel4.2:sunstone_server_plugin_guide
*
https://github.com/OpenNebula/one/blob/master/src/sunstone/routes/oneflow.rb
* And the last one, instead of modifying the opennebula.js file you
can include those calls in your vclusters-tab.js as we did with
oneflow-service.js
*
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/oneflow-templates.js#L19
Maybe this information is not clear in the documentation, I just
wanted to let you know about these features. This will allow you to
integrate this component without modifying any of the existing
OpenNebula files.
If you have any doubts please do not hesitate to ask us.
Cheers
[1] http://opennebula.org/documentation:rel4.2:oneapps_overview
On 19 November 2013 17:25, Antonio Attanasio <attana...@ismb.it
<mailto:attana...@ismb.it>> wrote:
Dear all,
we are researchers from Infrastructures and Systems for Advanced
Computing (IS4AC) unit, a research group of Istituto Superiore
Mario Boella (ISMB), located in Turin, Italy. We developed a new
component for Sunstone, which we intend to use in our future works
and we would like to share its functionalities with the community.
Below you find the compiled submission form, as specified in the
OpenNebula Ecosystem page.
* Name of the Component: Virtual Cluster
* URL of the Component:
https://github.com/is4ac-ismb/oneVirtualCluster
* Brief Description: The Virtual Cluster Plugin for OpenNebula
allows users to deploy and manage virtual cluster directly
from Sunstone GUI, with easy steps and standard OpenNebula
interfaces.
* Type: Tool
* License: OSS (Apache v2 License)
* OpenNebula Version: 4.0.1 and 4.2.0
* Author: IS4AC @ ISMB
* E-mail: is4ac_...@ismb.it <mailto:is4ac_...@ismb.it>
We look forward to your feedback.
Best regards.
Antonio Attanasio, Pietro Ruiu.
Istituto Superiore Mario Boella
IS4AC - Infrastructure and Systems for Advanced Computing
via P.C. Boggio, 61 – 10138 Torino
web: www.ismb.it
<http://arcas.ismb.it/ita/Come-operiamo/Aree-di-ricerca/ISAST/ISAST>
_______________________________________________
Dev mailing list
Dev@lists.opennebula.org <mailto:Dev@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org
--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.OpenNebula.org> |
dmol...@opennebula.org <mailto:dmol...@opennebula.org> | @OpenNebula
_______________________________________________
Dev mailing list
Dev@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org