summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ovn/northd/ovn-northd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 3661681dc..d554d6794 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -1813,7 +1813,12 @@ join_logical_ports(struct northd_context *ctx,
}
}
}
+ }
+ /* Wait until all ports have been connected to add to IPAM since
+ * it relies on proper peers to be set
+ */
+ HMAP_FOR_EACH (op, key_node, ports) {
ipam_add_port_addresses(op->od, op);
}
}