Speaking as WG member: I think the key question here is whether or not we want to standardize heuristics for detecting conflicts and a YANG notification.
What was suggested in the meeting was to look at the OSPFv3 and IS-IS auto-configuration drafts. https://datatracker.ietf.org/doc/rfc7503/ https://datatracker.ietf.org/doc/rfc8196/ At least for OSPF, I don't think this is necessarily the right direction since it requires additional LSAs and doesn't detect a most insidious conflict. I also don't think the heuristic in the draft of using a % of router-LSA change is a good heuristic. Note that for OSPF there are two cases of detecting a self-originated LSA. It is a common occurrence for a router to receive self- originated LSAs via the flooding procedure. A self-originated LSA is detected when either 1) the LSA's Advertising Router is equal to the router's own Router ID or 2) the LSA is a network- LSA and its Link State ID is equal to one of the router's own IP interface addresses. If there is a duplicate Router-ID in the area ID, the two routers will perceive each others LSA as their own and originate a more recent version. However, if the received self-originated LSA is newer than the last instance that the router actually originated, the router must take special action. The reception of such an LSA indicates that there are LSAs in the routing domain that were originated by the router before the last time it was restarted. In most cases, the router must then advance the LSA's LS sequence number one past the received LS sequence number, and originate a new instance of the LSA. What I've implemented is a hueristic to retain the timestamp of the re-origination of more-recent LSA and, if it happens multiple times deduce that there is either a duplicate Router-ID or a duplicate subnet in the area. The condition is then logged subject to rate-limiting. I think this is the best way to detect these two cases of conflict. Thanks, Acee _______________________________________________ Lsr mailing list -- [email protected] To unsubscribe send an email to [email protected]
