Revision history [back]

I had the same question and below is what I understand after chatting on IRC. Please correct me if I am wrong.

It just so happens that in the example it used br-vlan for both flat and vlan traffics. Since you would need to map flat and vlan to two different interfaces in the physical_interface_mappings, the workaround was to create a veth pair (br-vlan-veth <--> eth12) for the flat network in this case. It then plugged one end (br-vlan-veth) to br-vlan and the other (eth12) to the neutron container.

I think the proper br-vlan configuration for the /etc/network/interfaces should look like this:

auto br-vlan
iface br-vlan inet manual
bridge_stp off
bridge_waitport 0
bridge_fd 0
pre-up ip link add br-vlan-veth type veth peer name eth12 || true
pre-up ip link set br-vlan-veth up
pre-up ip link set eth12 up
post-down ip link del br-vlan-veth || true
bridge_ports bond1 br-vlan-veth    #here br-vlan-veth is plugged into br-vlan


A side node: if you are into OSA, you should consider joining the project's IRC channel at #openstack-ansible on Freenode. Many cool folks are out there to help.

I had the same question and below is what I understand after chatting on IRC. Please correct me if I am wrong.

It just so happens that in the example it used br-vlan for both flat and vlan traffics. Since you would need to map flat and vlan to two different interfaces in the physical_interface_mappings, the workaround was to create a veth pair (br-vlan-veth <--> eth12) for the flat network in this case. It then plugged one end (br-vlan-veth) to br-vlan and the other (eth12) to the neutron container.agent.

I think the proper br-vlan configuration for the /etc/network/interfaces should look like this:

auto br-vlan
iface br-vlan inet manual
bridge_stp off
bridge_waitport 0
bridge_fd 0
pre-up ip link add br-vlan-veth type veth peer name eth12 || true
pre-up ip link set br-vlan-veth up
pre-up ip link set eth12 up
post-down ip link del br-vlan-veth || true
bridge_ports bond1 br-vlan-veth    #here br-vlan-veth is plugged into br-vlan


A side node: if you are into OSA, you should consider joining the project's IRC channel at #openstack-ansible on Freenode. Many cool folks are out there to help.

help.