Thanks Brian, I pushed this to master.
On 1/22/20 2:34 PM, Brian Haley wrote:
Fix LISTEN_ON_IP typo
Found by inspection in utilities/ovndb-servers.ocf
Signed-off-by: Brian Haley <[email protected]>
---
utilities/ovndb-servers.ocf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/utilities/ovndb-servers.ocf b/utilities/ovndb-servers.ocf
index 4678a1dc9..42e0412ad 100755
--- a/utilities/ovndb-servers.ocf
+++ b/utilities/ovndb-servers.ocf
@@ -236,15 +236,15 @@ ovsdb_server_notify() {
# In order to over-ride inactivity_probe for LB use case, we need to
# create connection entry to listen on 0.0.0.0 for master node.
if [ "x${LISTEN_ON_MASTER_IP_ONLY}" = xno ]; then
- LISTON_ON_IP="0.0.0.0"
+ LISTEN_ON_IP="0.0.0.0"
else
- LISTON_ON_IP=${MASTER_IP}
+ LISTEN_ON_IP=${MASTER_IP}
fi
conn=`ovn-nbctl get NB_global . connections`
if [ "$conn" == "[]" ]
then
ovn-nbctl -- --id=@conn_uuid create Connection \
-target="p${NB_MASTER_PROTO}\:${NB_MASTER_PORT}\:${LISTON_ON_IP}" \
+target="p${NB_MASTER_PROTO}\:${NB_MASTER_PORT}\:${LISTEN_ON_IP}" \
inactivity_probe=$INACTIVE_PROBE -- set NB_Global . connections=@conn_uuid
fi
@@ -252,7 +252,7 @@ inactivity_probe=$INACTIVE_PROBE -- set NB_Global . connections=@conn_uuid
if [ "$conn" == "[]" ]
then
ovn-sbctl -- --id=@conn_uuid create Connection \
-target="p${SB_MASTER_PROTO}\:${SB_MASTER_PORT}\:${LISTON_ON_IP}" \
+target="p${SB_MASTER_PROTO}\:${SB_MASTER_PORT}\:${LISTEN_ON_IP}" \
inactivity_probe=$INACTIVE_PROBE -- set SB_Global . connections=@conn_uuid
fi
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev