How to understand the bridge_mappings?
# Comma-separated list of <physical_network>:<bridge> tuples mapping physical
# network names to the agent's node-specific Open vSwitch bridge names to be
# used for flat and VLAN networks. The length of bridge names should be no more
# than 11. Each bridge must exist, and should have a physical network interface
# configured as a port. All physical networks configured on the server should
# have mappings to appropriate bridges on each agent. Note: If you remove a
# bridge from this mapping, make sure to disconnect it from the integration
# bridge as it won't be managed by the agent anymore. Deprecated for ofagent.
# (list value)
bridge_mappings =
I am trying to setup vlan type tenant network use ml2 + ovs. But the configure bridge_mappings confused me. Above said it is physical network names map to ovs bridge. But!!! What is a physical network name? The network you created with neutron net-create command? But that network should not be created yet at the time I edit this config.
Another guess here is that there is some predefined network names that neutron understand. But where I can find those predefined name if it is the case?
I am using ovs + ml2 to create vlan tenant network.
I try to create two tenant network net1 and net2, both with vlan type. Then try to create provider network external with flat type.
I want the net1 and net2 use ovs bridge called br-vlan and external use ovs-bridge called br-ex.
So I config the bridge_mappings to
bridge_mappings = net1:br-vlan, net2:br-vlan, external:br-ex
But this is wrong. The server said
Parsing bridge_mappings failed: Value br-vlan in mapping: 'vlan2:br-vlan' not unique. Agent terminated!
So how should I config?