Skip to content

Commit

Permalink
update ovs health check, delete connection to ovn sb db (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed Jun 29, 2022
1 parent 0fbefff commit a984c91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/images/ovs-healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ function gen_conn_str {
echo "$x"
}

echo Connecting OVN SB "$(gen_conn_str 6642)"
# echo Connecting OVN SB "$(gen_conn_str 6642)"
if [[ "$ENABLE_SSL" == "false" ]]; then
ovsdb-client list-dbs "$(gen_conn_str 6642)"
ovsdb-client list-dbs
else
ovsdb-client -p /var/run/tls/key -c /var/run/tls/cert -C /var/run/tls/cacert list-dbs "$(gen_conn_str 6642)"
ovsdb-client -p /var/run/tls/key -c /var/run/tls/cert -C /var/run/tls/cacert list-dbs
fi
alias ovs-ctl='/usr/share/openvswitch/scripts/ovs-ctl'
alias ovn-ctl='/usr/share/ovn/scripts/ovn-ctl'
Expand Down

0 comments on commit a984c91

Please sign in to comment.