Model VLAN ports

Registered by Robert Collins

With bare metal nova we cannot add or remove ethernet cards in response to user network requests. We can however give nodes access to additional L2 networks using VLANs.

For triple-o, running openstack on openstack, we want VLANs as well to partition operator and tenant traffic more thoroughly.

In both cases we need to be able to hand information to the instance which will be booting and have only native-VLAN access [but that is sufficient to access the metadata service].

There are multiple options:
 - brute force try all VLAN tags. This may trigger NIDS on some switches, and is slow. [And apparently patented...]
 - bake VLAN config into the image. This is poor for heterogeneous environments and for bare metal non-operator use.
 - use LLDP http://en.wikipedia.org/wiki/LLDP-MED#LLPD-MED - but this is fairly new and may not be supported on all 802.1q capable switches. (So we'd need multiple variants...)
 - Export information about VLANs for the instance via the nova metadata service, then the instance can query that over the native VLAN and self-configure from there.
 - Encode the configured VLAN's into a DHCP vendor option

The last option - DHCP vendor options - was the preferred one in the summit session

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Armando Migliaccio

Related branches

Sprints

Whiteboard

This is being handled in the recent ironic/neutron support and taken care of by:

https://blueprints.launchpad.net/neutron/+spec/neutron-ironic-integration

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.