This add vlan=XXX to network interfaces config.
I have succesfully tested it with
eth0--vmbr0
eth0-
|bond0--vmbr0
eth1-
eth0.X--vmbr0vX
eth0
|bond0.X--vmbr0vX
eth1
I'll do more test with vlan over bonding this week, with iperf to see if I dont have packet loss.
I'm currently testing bonding in active-backup mode