[one-users] hooks for virtual network creations?
Ruben S. Montero
rsmontero at opennebula.org
Mon May 14 01:29:45 PDT 2012
Hi
Currently, network creation hooks are not implemented. I'd suggest to
modify the CLI tool to do the automatic front-end configuration. If
you need this configuration to happen whenever a new network is
created through any interface (OCCI, Sunstone...) then hook on the
allocate method in lib/ruby/OpenNebula/VirtualNetwork.rb
Cheers
Ruben
On Fri, Apr 27, 2012 at 5:11 PM, Valerio Schiavoni
<valerio.schiavoni at gmail.com> wrote:
> Hello,
> on our deployment, we're using 802.1q to deploy vlan-aware virtual networks.
> This works fine so far.
>
> The issue we're trying to solve is the following: whenever a new
> virtual network is created, we'd like to create a new
> vlan interface on the controller machine (which is not hosting any VM)
> so that we've a mean to access the VLAN.
> The VLAN IDs are not know in advance.
> Manually, what I do is:
>
> sudo vconfig add eth2 VLAN_ID
> onevnet hold VNET_ID IP_RESERVED_FOR_CONTROLLER
> sudo ifconfig eth2.VLAN_ID IP_RESERVED_FOR_CONTROLLER/24 up
>
>
> I would like to automatize this, so that no manual intervention is
> required by us when users start deploying the Virtual Networks. So,
> are there hooks triggered upon the creation of new virtual networks
> from the side of the controller host ?
>
>
> Thanks,
> Valerio
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
More information about the Users
mailing list