Has anyone gotten multiple external gateways to work for flat/vlan networks and openvswitch?
Based on http://blog.oddbit.com/2014/05/28/multiple-external-networks-wit/ (http://blog.oddbit.com/2014/05/28/mul...) it would appear that you can achieve something like the following:
+
| +---------+ +---------------------+
+--+ router1 +---+ external1/gateway1 |
+---------+ | +---------+ +---------------------+
| private +-+
+---------+ |
| +---------+ +---------------------+
+--+ router2 +---+ external2/gateway2 |
| +---------+ +---------------------+
+
I have not been able to get the above to work and would like to ask if anyone has ever gotten such a configuration to work in their Juno/Kilo opentstack deployment.
[root@clarion ~(keystone_admin)]# ovs-vsctl show
a74b8d71-bdec-475d-9462-0ba733383bfc
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port br-ex
Interface br-ex
type: internal
Port "eth1"
Interface "eth1"
Bridge br-int
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "qg-88797849-5f "
tag: 1
Interface "qg-88797849-5f "
type: internal
Port "int-br-ex2"
Interface "int-br-ex2"
type: patch
options: {peer="phy-br-ex2"}
Bridge "br-ex2"
Port "br-ex2"
Interface "br-ex2"
type: internal
Port "phy-br-ex2"
Interface "phy-br-ex2"
type: patch
options: {peer="int-br-ex2"}
Port "eth2"
Interface "eth2"
ovs_version: "2.3.1"
[root@clarion ~]# grep -iRE "br-ex|physnet|external_network_bridge|gateway_external_network_id" /etc/neutron/* | grep -v "#"
/etc/neutron/l3_agent.ini:gateway_external_network_id =
/etc/neutron/l3_agent.ini:external_network_bridge =
/etc/neutron/plugin.ini:network_vlan_ranges =physnet1:1:100,physnet2:101:200
/etc/neutron/plugins/ml2/ml2_conf.ini:network_vlan_ranges =physnet1:1:100,physnet2:101:200
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini:bridge_mappings =physnet1:br-ex,physnet2:br-ex2
The odd behaviour seen is that the qg interface of the router is attached to br-int as shown in the above ovs-vsctl show command.
I have tested on Juno and kilo, wiped out the config and reconfig, create/recreate network/router/subnet via GUI and CLI and nothing works.
Any advice/guidance would be greatly appreciated.