Subject: [netmod] FW: [i2rs] draft-clemm-i2rs-yang-network-topo-00: router-type for ospf

From: "Yi Yang (yiya)" <[email-masked]>
Date: Tue, 25 Feb 2014 02:59:09 +0000

As the draft was originally posted on netmod WGŠ

Yi

On 2/24/14 9:56 PM, "Yi Yang (yiya)" <[email-masked]> wrote:

>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-masked]
>https://www.ietf.org/mailman/listinfo/i2rs