module: ietf-routing

 

  +--rw routing

 

  |  +--rw router-id?                 yang:dotted-quad

 

  |  +--ro interfaces

 

  |  |  +--ro interface*   if:interface-ref

 

  |  +--rw control-plane-protocols

 

  |  |  +--rw control-plane-protocol* [type name]

 

  |  |     +--rw type             identityref

 

  |  |     +--rw name             string

 

  |  |     +--rw description?     string

 

  |  |     +--rw static-routes

 

  |  +--rw ribs

 

  |  |  +--rw rib* [name]

 

  |  |     +--rw name              string

 

  |  |     +--rw address-family    identityref

 

  |  |     +--ro default-rib?      boolean {multiple-ribs}?

 

  |  |     +--ro routes

 

  |  |     |  +--ro route*

 

  |  |     |     +--ro route-preference?   route-preference

 

  |  |     |     +--ro next-hop

 

  |  |     |     |  +--ro (next-hop-options)

 

  |  |     |     |     +--:(simple-next-hop)

 

  |  |     |     |     |  +--ro outgoing-interface?   if:interface-ref

 

  |  |     |     |     +--:(special-next-hop)

 

  |  |     |     |     |  +--ro special-next-hop?   enumeration

 

  |  |     |     |     +--:(next-hop-list)

 

  |  |     |     |        +--ro next-hop-list

 

  |  |     |     |           +--ro next-hop*

 

  |  |     |     |              +--ro outgoing-interface?   if:interface-ref

 

  |  |     |     +--ro source-protocol     identityref

 

  |  |     |     +--ro active?             empty

 

  |  |     |     +--ro last-updated?       yang:date-and-time

 

  |  |     +--rw description?      string

 

  |  |     +---x active-route

 

  |  |        +--ro output

 

  |  |           +--ro route

 

  |  |              +--ro next-hop

 

  |  |              |  +--ro (next-hop-options)

 

  |  |              |     +--:(simple-next-hop)

 

  |  |              |     |  +--ro outgoing-interface?   if:interface-ref

 

  |  |              |     +--:(special-next-hop)

 

  |  |              |     |  +--ro special-next-hop?   enumeration

 

  |  |              |     +--:(next-hop-list)

 

  |  |              |        +--ro next-hop-list

 

  |  |              |           +--ro next-hop*

 

  |  |              |              +--ro outgoing-interface?   if:interface-ref

 

  |  |              +--ro source-protocol    identityref

 

  |  |              +--ro active?            empty

 

  |  |              +--ro last-updated?      yang:date-and-time

 

  |  +--rw bier:bier

 

  |     +--rw bier:sub-domain* [sub-domain-id address-family]

 

  |     |  +--rw bier:sub-domain-id             uint16

 

  |     |  +--rw bier:address-family            identityref

 

  |     |  +--rw bier:bfr-prefix?               inet:ip-prefix

 

  |     |  +--rw bier:underlay-protocol-type?   underlay-protocol-type

 

  |     |  +--rw bier:mt-id?                    uint16

 

  |     |  +--rw bier:bfr-id?                   uint16

 

  |     |  +--rw bier:bsl?                      bsl

 

  |     |  +--rw bier:igp-algorithm?            uint8

 

  |     |  +--rw bier:bier-algorithm?           uint8

 

  |     |  +--rw bier:load-balance-num?         uint8

 

  |     |  +--rw bier:encapsulation* [bsl encapsulation-type]

 

  |     |     +--rw bier:bsl                   bsl

 

  |     |     +--rw bier:encapsulation-type    identityref

 

  |     |     +--rw bier:max-si?               uint16

 

  |     |     +--rw bier:in-bift-id

 

  |     |        +--rw (bier:in-bift-id)?

 

  |     |           +--:(bier:in-bift-id-base)

 

  |     |           |  +--rw bier:in-bift-id-base?   uint32

 

  |     |           +--:(bier:in-bift-id-encoding)

 

  |     |              +--rw bier:in-bift-id-encoding?   boolean

 

  |     +--rw bier:bift* [bfr-id]

 

  |        +--rw bier:bfr-id    uint16

 

  |        +--rw bier:birt-bitstringlength* [bsl]

 

  |           +--rw bier:bsl    bsl

 

  |           +--rw bier:bfr-nbr* [bfr-nbr]

 

  |              +--rw bier:bfr-nbr               inet:ip-prefix

 

  |              +--rw bier:encapsulation-type?   identityref

 

  |              +--rw bier:out-bift-id

 

  |                 +--rw (bier:out-bift-id)?

 

  |                    +--:(bier:out-bift-id)

 

  |                    |  +--rw bier:out-bift-id?   uint32

 

  |                    +--:(bier:out-bift-id-encoding)

 

  |                       +--rw bier:out-bift-id-encoding?   boolean

 

  o--ro routing-state

 

     o--ro router-id?                 yang:dotted-quad

 

     o--ro interfaces

 

     |  o--ro interface*   if:interface-state-ref

 

     o--ro control-plane-protocols

 

     |  o--ro control-plane-protocol* [type name]

 

     |     o--ro type    identityref

 

     |     o--ro name    string

 

     o--ro ribs

 

        o--ro rib* [name]

 

           o--ro name              string

 

           o--ro address-family    identityref

 

           o--ro default-rib?      boolean {multiple-ribs}?

 

           o--ro routes

 

           |  o--ro route*

 

           |     o--ro route-preference?   route-preference

 

           |     o--ro next-hop

 

           |     |  o--ro (next-hop-options)

 

           |     |     o--:(simple-next-hop)

 

           |     |     |  o--ro outgoing-interface?   if:interface-ref

 

           |     |     o--:(special-next-hop)

 

           |     |     |  o--ro special-next-hop?   enumeration

 

           |     |     o--:(next-hop-list)

 

           |     |        o--ro next-hop-list

 

           |     |           o--ro next-hop*

 

           |     |              o--ro outgoing-interface?   if:interface-ref

 

           |     o--ro source-protocol     identityref

 

           |     o--ro active?             empty

 

           |     o--ro last-updated?       yang:date-and-time

 

           o---x active-route

 

              o--ro output

 

                 o--ro route

 

                    o--ro next-hop

 

                    |  o--ro (next-hop-options)

 

                    |     o--:(simple-next-hop)

 

                    |     |  o--ro outgoing-interface?   if:interface-ref

 

                    |     o--:(special-next-hop)

 

                    |     |  o--ro special-next-hop?   enumeration

 

                    |     o--:(next-hop-list)

 

                    |        o--ro next-hop-list

 

                    |           o--ro next-hop*

 

                    |              o--ro outgoing-interface?   if:interface-ref

 

                    o--ro source-protocol    identityref

 

                    o--ro active?            empty

 

                    o--ro last-updated?      yang:date-and-time

 
  

module: ietf-bier

 
  

  augment /rt:routing:

 

    +--rw bier

 

       +--rw sub-domain* [sub-domain-id address-family]

 

       |  +--rw sub-domain-id             uint16

 

       |  +--rw address-family            identityref

 

       |  +--rw bfr-prefix?               inet:ip-prefix

 

       |  +--rw underlay-protocol-type?   underlay-protocol-type

 

       |  +--rw mt-id?                    uint16

 

       |  +--rw bfr-id?                   uint16

 

       |  +--rw bsl?                      bsl

 

       |  +--rw igp-algorithm?            uint8

 

       |  +--rw bier-algorithm?           uint8

 

       |  +--rw load-balance-num?         uint8

 

       |  +--rw encapsulation* [bsl encapsulation-type]

 

       |     +--rw bsl                   bsl

 

       |     +--rw encapsulation-type    identityref

 

       |     +--rw max-si?               uint16

 

       |     +--rw in-bift-id

 

       |        +--rw (in-bift-id)?

 

       |           +--:(in-bift-id-base)

 

       |           |  +--rw in-bift-id-base?   uint32

 

       |           +--:(in-bift-id-encoding)

 

       |              +--rw in-bift-id-encoding?   boolean

 

       +--rw bift* [bfr-id]

 

          +--rw bfr-id    uint16

 

          +--rw birt-bitstringlength* [bsl]

 

             +--rw bsl    bsl

 

             +--rw bfr-nbr* [bfr-nbr]

 

                +--rw bfr-nbr               inet:ip-prefix

 

                +--rw encapsulation-type?   identityref

 

                +--rw out-bift-id

 

                   +--rw (out-bift-id)?

 

                      +--:(out-bift-id)

 

                      |  +--rw out-bift-id?   uint32

 

                      +--:(out-bift-id-encoding)

 

                         +--rw out-bift-id-encoding?   boolean

 
  

  notifications:

 

    +---n bfr-id-collision

 

    |  +---- bfr-id-collision*

 

    |     +---- received-bfr-id?   uint16

 

    +---n bfr-id-out-of-range

 

    |  +---- received-bfr-id?   uint16

 

    +---n bfr-zero

 

    |  +---- ipv4-bfr-prefix?   inet:ipv4-prefix

 

    |  +---- ipv6-bfr-prefix?   inet:ipv6-prefix

 

    +---n sub-domain-id-collision

 

       +---- received-sub-domain-id?   uint16

 

       +---- received-mt-id?           uint16