this allows the the ovn-controller to later find all ports that participate in dynamic routing.
Signed-off-by: Felix Huettner <[email protected]> --- northd/northd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/northd/northd.c b/northd/northd.c index 6fd142fda..0280c7969 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -4114,6 +4114,16 @@ sync_pb_for_lrp(struct ovn_port *op, } } + if (is_cr_port(op) || chassis_name) { + if (smap_get_bool(&op->nbrp->options, "maintain-vrf", false)) { + smap_add(&new, "maintain-vrf", "true"); + } + if (smap_get_bool(&op->od->nbr->options, "dynamic-routing", false)) { + smap_add(&new, "dynamic-routing", "true"); + } + } + + const char *ipv6_pd_list = smap_get(&op->sb->options, "ipv6_ra_pd_list"); if (ipv6_pd_list) { smap_add(&new, "ipv6_ra_pd_list", ipv6_pd_list); -- 2.47.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
