Heads up for anyone trying. I might send in a change later once I get a
breather, but something I thought may be useful for anyone setting up
multhost.with dedicated tunnel ip.
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index bbc04dc..24a4dd3 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -56,7 +56,8 @@ OVN_BRANCH=origin/conntrack
#OVN_BRANCH=${OVN_BRANCH:-origin/master}
# How to connect to ovsdb-server hosting the OVN databases.
-OVN_REMOTE=${OVN_REMOTE:-tcp:$HOST_IP:6640}
+OVN_REMOTE=${OVN_REMOTE:-tcp:$SERVICE_HOST:6640}
+OVN_TUNNEL_IP=$(TUNNEL_ENDPOINT_IP:-$HOST_IP)
# A UUID to uniquely identify this system. If one is not specified, a
random
# one will be generated. A randomly generated UUID will be saved in a file
@@ -250,7 +251,8 @@ function start_ovs {
ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-remote="$OVN_REMOTE"
ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-bridge="br-int"
ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-encap-type="geneve"
- ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-encap-ip="$HOST_IP"
- ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-encap-ip="$HOST_IP"
+ ovs-vsctl --no-wait set open_vswitch .
external-ids:ovn-encap-ip="$OVN_TUNNEL_IP"
_neutron_ovs_base_setup_bridge br-int
ovs-vsctl --no-wait set bridge br-int fail-mode=secure
other-config:disable-in-band
(END)
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss