Skip to content

Commit

Permalink
fix: add keepalive to ovn-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Nov 7, 2019
1 parent 4987a8f commit 3718851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/images/start-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ fi
# ovn-nb and ovn-sb listen on tcp ports for ovn-controller to connect
ovn-nbctl set-connection ptcp:${DB_NB_PORT}:[${DB_NB_ADDR}]
ovn-sbctl set-connection ptcp:${DB_SB_PORT}:[${DB_SB_ADDR}]
ovn-sbctl set Connection . inactivity_probe=0

tail -f /var/log/openvswitch/ovn-northd.log
tail -f /var/log/openvswitch/ovn-northd.log
1 change: 1 addition & 0 deletions dist/images/start-ovs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fi

# Set remote ovn-sb for ovn-controller to connect to
ovs-vsctl set open . external-ids:ovn-remote=tcp:${OVN_SB_SERVICE_HOST}:${OVN_SB_SERVICE_PORT}
ovs-vsctl set open . external-ids:ovn-remote-probe-interval=10000
ovs-vsctl set open . external-ids:ovn-encap-type=geneve

tail -f /var/log/openvswitch/ovs-vswitchd.log

0 comments on commit 3718851

Please sign in to comment.