Re: [one-users] OneFlow and “infrastructure libraries”

2013-10-28 Thread Carlos Martín Sánchez
Hi,

OneFlow does not support that use case, but it is something we could add in
the medium-long term [1].

I don't think the OneFlow server would need to be changed radically. I
guess we would need a pre-deployment phase where we create all the defined
networks, images, and templates.
And of course a way to cross-reference IDs and possibly other attributes.

Your use case seems like a good starting point to start the discussion
about the minimum requirements, template syntax, etc.

Regards

[1] http://dev.opennebula.org/issues/2125


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Fri, Oct 25, 2013 at 7:36 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Hello,

 I would like to manage some kind of “infrastructure libraries” with VMs
 templates and networks.


 For example, an “infrastructure” could declare:

 - 1 network called “internet”, shared between all infrastructures to have
   network access with outside

 - 1 network called “DMZ”

 - 1 network called “LAN”

 - 1 “router” VMs with:
   * its first interface on “internet”, configured as DHCP or contextualized
   * its second interface on “DMZ”
   * its third interface on “LAN”

 - X “server” VMs with one interface on “DMZ”

 - Y “workstation” VMs with one interface on “LAN”


 When a user instanciate this “infrastructure”:

 - 2 new networks are created:
   * DMZ-UNIQ NUMBER
   * LAN-UNIQ NUMBER

 - a temporary clone of “router” is created with:
   * its first interface network untouched
   * its second interface network set to “DMZ-UNIQ NUMBER”
   * its third interface network set to “LAN-UNIQ NUMBER”

 - 1 VMs is started from that temporary VM template

 - a temporary clone of “server” is created with its interface network
   set to “DMZ-UNIQ NUMBER”

 - X VMs are started from that temporary VM template

 - a temporary clone of “workstation” is created with its interface network
   set to “LAN-UNIQ NUMBER”

 - Y VMs are started from that temporary VM template

 Do you think OneFlow could be extended for such use case?

 Or maybe it's already possible to do this but I do not find how?

 Regards.

 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OneFlow and “infrastructure libraries”

2013-10-25 Thread Daniel Dehennin
Hello,

I would like to manage some kind of “infrastructure libraries” with VMs
templates and networks.


For example, an “infrastructure” could declare:

- 1 network called “internet”, shared between all infrastructures to have
  network access with outside

- 1 network called “DMZ”

- 1 network called “LAN”

- 1 “router” VMs with:
  * its first interface on “internet”, configured as DHCP or contextualized
  * its second interface on “DMZ”
  * its third interface on “LAN”

- X “server” VMs with one interface on “DMZ”

- Y “workstation” VMs with one interface on “LAN”


When a user instanciate this “infrastructure”:

- 2 new networks are created:
  * DMZ-UNIQ NUMBER
  * LAN-UNIQ NUMBER

- a temporary clone of “router” is created with:
  * its first interface network untouched
  * its second interface network set to “DMZ-UNIQ NUMBER”
  * its third interface network set to “LAN-UNIQ NUMBER”

- 1 VMs is started from that temporary VM template

- a temporary clone of “server” is created with its interface network
  set to “DMZ-UNIQ NUMBER”

- X VMs are started from that temporary VM template

- a temporary clone of “workstation” is created with its interface network
  set to “LAN-UNIQ NUMBER”

- Y VMs are started from that temporary VM template

Do you think OneFlow could be extended for such use case?

Or maybe it's already possible to do this but I do not find how?

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpi5WDl5xTyF.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org