Backlog #2125

Make appflow templates self-contained, adding the option to define VM and VNet templates

Added by Carlos Martín about 8 years ago. Updated over 4 years ago.

Status:PendingStart date:06/14/2013
Priority:SponsoredDue date:
Assignee:-% Done:

0%

Category:OneFlow
Target version:-

History

#1 Updated by Daniel Dehennin over 7 years ago

I add here what I put in my email for records.

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”:

  1. 2 new networks are created:
    • DMZ-<UNIQ NUMBER>
    • LAN-<UNIQ NUMBER>
  2. 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>
  3. 1 VMs is started from that temporary router VM template
  4. a temporary clone of server is created with its interface network set to DMZ-<UNIQ NUMBER>
  5. X VMs are started from that temporary server VM template
  6. a temporary clone of workstation is created with its interface network set to LAN-<UNIQ NUMBER>
  7. Y VMs are started from that temporary workstation VM template

This would be a great addition for us for a testing framemork, we can instanciate complete infrastructures for our functional tests.

Regards.

#2 Updated by Ruben S. Montero over 7 years ago

  • Priority changed from Normal to High

#3 Updated by Daniel Molina almost 7 years ago

  • Priority changed from High to Low

#4 Updated by EOLE Team over 5 years ago

Hello,

This request is partially managed with Role Dynamic Networks.

It requires the user to manually map the Dynamic Networks to OpenNebula networks.

For information, we workaround by creating per user networks with the same name and associate VM template to network NAME without the UNAME to let oned look for a network of this NAME owned by the user who instantiate the VM template.

The disadvantage of this workaround is that a user can not start two time the same service since we get conflicts with some network services like DHCP or samba (we test complete network infrastructure since we edit a linux distribution ;-))

For example, she must poweroff the service for version X of the distribution to start the same network infrastructure service for version Y.

Regards.

#5 Updated by Jaime Melis over 4 years ago

  • Priority changed from Low to Sponsored

Also available in: Atom PDF