Ok, so I started implementing Vlans
Openvswitch does not support QinQ so that will have to wait. I have started out implementing it without trunks, and have written it except that when it floods at the moment it floods out all ports, regardless of vlan.
I think to solve this in openflow 1.0 is going to be pretty damn tricky. I may have to look at what is available in openvswitch rather than openflow itself..
Should be fun.