Synchrinoize the FDB age threashold to SB datapath.

This is a preparation for the FDB refresh mechanism.

Signed-off-by: Ales Musil <[email protected]>
---
 northd/northd.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/northd/northd.c b/northd/northd.c
index 7958304cf..74cebeed8 100644
--- a/northd/northd.c
+++ b/northd/northd.c
@@ -1134,6 +1134,13 @@ ovn_datapath_update_external_ids(struct ovn_datapath *od)
         if (ts) {
             smap_add(&ids, "interconn-ts", ts);
         }
+
+        uint32_t age_threshold = smap_get_uint(&od->nbs->other_config,
+                                               "fdb_age_threshold", 0);
+        if (age_threshold) {
+            smap_add_format(&ids, "fdb_age_threshold",
+                            "%u", age_threshold);
+        }
     }
 
     /* Set snat-ct-zone */
-- 
2.41.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to