I am working on OpenNebula + vCenter network. It is seems Automatic VLAN ID not work for vCenter Port Group (In oned.conf, VLAN_IDS is for 802.1Q and Open vSwitch driver. However, AUTOMATIC_VLAN_ID should support vcenter driver)
Versions of the related components and OS (frontend, hypervisors, VMs):
OpenNebula 5.4.0, vCenter 6.5
Steps to reproduce:
- Edit /etc/one/oned.conf
VLAN_IDS = [
START = "1100"
RESERVED = “0, 1, 4095”
- Create Virtual Network (select network mode as vCenter; VLAN ID select Automatic VLAN ID)
- vSwitch can be created on ESXi host
- Port group can be created, but no VLAN ID
Refer to below link, attribute AUTOMATIC_VLAN_ID supported in vcenter driver:
I assume VLAN ID is generated (1100-4094) for the port group.