[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] [ovn] Multi host devstack details
From:       muralirdev () gmail ! com (Murali R)
Date:       2015-10-27 1:37:42
Message-ID: CAO=R8omHM=Tx4KHZVfr2apCXWnTTsoWotfCiQRDohcL4CJwvgg () mail ! gmail ! com
[Download RAW message or body]

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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20151026/734de48c/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic