diff mbox series

[ovs-dev,v2,1/3] northd: fix IPv6-PD with northd IP rework

Message ID 468f6c1d11b02b01675c1f352a340c12a6a21754.1642118413.git.lorenzo.bianconi@redhat.com
State Accepted
Headers show
Series northd: fix IPv6-PD with northd IP rework | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes success github build: passed

Commit Message

Lorenzo Bianconi Jan. 14, 2022, 12:12 a.m. UTC
Since commit 4597317f1 ("Introduce incremental processing for northd"),
we rely on (partial) IP for ovn-northd. We need to track SB port_binding
option column in order to notify the CMS whenever the controller
receives the IPv6 prefix from the server.

Fixes: 4597317f1 ("Introduce incremental processing for northd")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 northd/ovn-northd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c
index 2b58bfcec..793135ede 100644
--- a/northd/ovn-northd.c
+++ b/northd/ovn-northd.c
@@ -786,7 +786,8 @@  main(int argc, char *argv[])
                        &sbrec_port_binding_col_parent_port);
     add_column_noalert(ovnsb_idl_loop.idl, &sbrec_port_binding_col_tag);
     add_column_noalert(ovnsb_idl_loop.idl, &sbrec_port_binding_col_type);
-    add_column_noalert(ovnsb_idl_loop.idl, &sbrec_port_binding_col_options);
+    ovsdb_idl_track_add_column(ovnsb_idl_loop.idl,
+                               &sbrec_port_binding_col_options);
     add_column_noalert(ovnsb_idl_loop.idl, &sbrec_port_binding_col_mac);
     add_column_noalert(ovnsb_idl_loop.idl,
                        &sbrec_port_binding_col_nat_addresses);