In the OSPF data model, router-type is specified as choice, which is
inconsistent to RFC2328, which specifies that an ASBR could be an internal
router (or ABR) simultaneously. In addition, a missing router-type is
backbone router. One way to fix this is as following:

container ospf-node-attributes {
    container router-type {
        leaf abr {
            type empty;
        }
        leaf asbr {
            type empty;
        }
        leaf internal {
            must "boolean(../abr)='false'"
                // an internal router will never be abr
            type empty;
        }
        leaf backbone {
            type empty;
        }
        ...


Yi

_______________________________________________
i2rs mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/i2rs

Reply via email to