Because the backup nexthop groups currently are more like pseudo-NHEs
(they don't have IDs and are not inserted into the ID table or
hashed), they can't really have this depends/dependents relationship
yet in both directions. Some work needs to be done there to make
them more like first class citizens like "normal" NHGs to enable
this.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
if (recursive)
SET_FLAG(backup_nhe->flags, NEXTHOP_GROUP_RECURSIVE);
- /* Attach dependent backpointers to singletons */
- zebra_nhg_connect_depends(backup_nhe, &backup_nhe->nhg_depends);
-
done:
return created;