VirtualNetwork Self-Provisioning and VLAN reservations


(Rafael) #1

Hi,

I would like each department in our company to be able to provision their own Virtual Networks.

Normally we reserve blocks of VLANs for each department and they administer them.

Is it possible to do something similar with OpenNebula? How?


(Kristian Feldsam) #2

Hello, they can just add new 802.1q network. You can adjust reserved VLAN ids in oned.conf and also start VLAN id for counting from. If you switches are capable of dynamic vlan (gvrp garp), that can be also used


(Rafael) #3

Maybe we are over-complicating things.

What we had in mind was, for example, to assign VLAN IDs 100-199 to the department development and VLAN IDs 200-299 to the department marketing.

What I think you mean is that marketing and development can just go grabbing VLANs as they create VirtualNetworks…

it really doesn’t matter if each have a “block”, as long as they have their own set of virtual networks, right?


(Kristian Feldsam) #4

yes, there is no management for assigning vlan ids more sophisticated, but you can write own app and create networks via xml-rpc api.


(David Brierley) #5

You could also pre create the vlans and assign these to the relevant users or groups essentially making them available for use e.g. accounting - vlan 100 - 199 , marketing 200 - 299, bulk create these and make them available to marketing and accounting accordingly , I actually scripted the bulk creation of something similar to this.


(Rafael) #6

actually, this makes sense.
it is not self-provisioning, but with kind of resource, it doesn’t make a great difference.