netconfcentral logo

ietf-routing

HTML

ietf-routing@2017-12-11



  module ietf-routing {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-routing";

    prefix rt;

    import ietf-yang-types {
      prefix yang;
    }
    import ietf-interfaces {
      prefix if;
    }

    organization
      "IETF NETMOD - Networking Modeling Working Group";

    contact
      "WG Web:   <http://tools.ietf.org/wg/netmod/>
     WG List:  <mailto:rtgwg@ietf.org>

     Editor:   Ladislav Lhotka
               <mailto:lhotka@nic.cz>
               Acee Lindem
               <mailto:acee@cisco.com>
               Yingzhen Qu
               <mailto:yingzhen.qu@huawei.com>";

    description
      "This YANG module defines essential components for the management
     of a routing subsystem.

     Copyright (c) 2017 IETF Trust and the persons
     identified as authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX; see
     the RFC itself for full legal notices.";

    reference
      "RFC XXXX";


    revision "2017-12-11" {
      description
        "Network Managment Datastore Architecture (NDMA) Revision";
      reference
        "RFC XXXX: A YANG Data Model for Routing Management
        (NDMA Version)";

    }

    revision "2016-11-04" {
      description "Initial revision.";
      reference
        "RFC 8022: A YANG Data Model for Routing Management";

    }


    feature multiple-ribs {
      description
        "This feature indicates that the server supports user-defined
       RIBs.

       Servers that do not advertise this feature SHOULD provide
       exactly one system-controlled RIB per supported address family
       and make it also the default RIB.  This RIB then appears as an
       entry of the list /routing/ribs/rib.";
    }

    feature router-id {
      description
        "This feature indicates that the server supports configuration
       of an explicit 32-bit router ID that is used by some routing
       protocols.

       Servers that do not advertise this feature set a router ID
       algorithmically, usually to one of the configured IPv4
       addresses.  However, this algorithm is implementation
       specific.";
    }

    identity address-family {
      base 
      description
        "Base identity from which identities describing address
       families are derived.";
    }

    identity ipv4 {
      base rt:address-family;
      description
        "This identity represents IPv4 address family.";
    }

    identity ipv6 {
      base rt:address-family;
      description
        "This identity represents IPv6 address family.";
    }

    identity control-plane-protocol {
      base 
      description
        "Base identity from which control-plane protocol identities are
       derived.";
    }

    identity routing-protocol {
      base rt:control-plane-protocol;
      description
        "Identity from which Layer 3 routing protocol identities are
       derived.";
    }

    identity direct {
      base rt:routing-protocol;
      description
        "Routing pseudo-protocol that provides routes to directly
       connected networks.";
    }

    identity static {
      base rt:routing-protocol;
      description
        "Static routing pseudo-protocol.";
    }

    typedef route-preference {
      type uint32;
      description
        "This type is used for route preferences.";
    }

    grouping address-family {
      description
        "This grouping provides a leaf identifying an address
       family.";
      leaf address-family {
        type identityref {
          base rt:address-family;
        }
        mandatory true;
        description "Address family.";
      }
    }  // grouping address-family

    grouping router-id {
      description
        "This grouping provides router ID.";
      leaf router-id {
        type yang:dotted-quad;
        description
          "A 32-bit number in the form of a dotted quad that is used by
         some routing protocols identifying a router.";
        reference
          "RFC 2328: OSPF Version 2.";

      }
    }  // grouping router-id

    grouping special-next-hop {
      description
        "This grouping provides a leaf with an enumeration of special
       next hops.";
      leaf special-next-hop {
        type enumeration {
          enum "blackhole" {
            value 0;
            description
              "Silently discard the packet.";
          }
          enum "unreachable" {
            value 1;
            description
              "Discard the packet and notify the sender with an error
             message indicating that the destination host is
             unreachable.";
          }
          enum "prohibit" {
            value 2;
            description
              "Discard the packet and notify the sender with an error
             message indicating that the communication is
             administratively prohibited.";
          }
          enum "receive" {
            value 3;
            description
              "The packet will be received by the local system.";
          }
        }
        description
          "Options for special next hops.";
      }
    }  // grouping special-next-hop

    grouping next-hop-content {
      description
        "Generic parameters of next hops in static routes.";
      choice next-hop-options {
        mandatory true;
        description
          "Options for next hops in static routes.

         It is expected that further cases will be added through
         augments from other modules.";
        case simple-next-hop {
          description
            "This case represents a simple next hop consisting of the
           next-hop address and/or outgoing interface.

           Modules for address families MUST augment this case with a
           leaf containing a next-hop address of that address
           family.";
          leaf outgoing-interface {
            type if:interface-ref;
            description
              "Name of the outgoing interface.";
          }
        }  // case simple-next-hop

        case special-next-hop {
          uses special-next-hop;
        }  // case special-next-hop
        container next-hop-list {
          description
            "Container for multiple next-hops.";
          list next-hop {
            key "index";
            description
              "An entry of a next-hop list.

               Modules for address families MUST augment this list
               with a leaf containing a next-hop address of that
               address family.";
            leaf index {
              type string;
              description
                "A user-specified identifier utilized to uniquely
                 reference the next-hop entry in the next-hop list.
                 The value of this index has no semantic meaning
                 other than for referencing the entry.";
            }

            leaf outgoing-interface {
              type if:interface-ref;
              description
                "Name of the outgoing interface.";
            }
          }  // list next-hop
        }  // container next-hop-list
      }  // choice next-hop-options
    }  // grouping next-hop-content

    grouping next-hop-state-content {
      description
        "Generic parameters of next hops in state data.";
      choice next-hop-options {
        mandatory true;
        description
          "Options for next hops in state data.

         It is expected that further cases will be added through
         augments from other modules, e.g., for recursive
         next hops.";
        case simple-next-hop {
          description
            "This case represents a simple next hop consisting of the
           next-hop address and/or outgoing interface.

           Modules for address families MUST augment this case with a
           leaf containing a next-hop address of that address
           family.";
          leaf outgoing-interface {
            type if:interface-ref;
            description
              "Name of the outgoing interface.";
          }
        }  // case simple-next-hop

        case special-next-hop {
          uses special-next-hop;
        }  // case special-next-hop
        container next-hop-list {
          description
            "Container for multiple next hops.";
          list next-hop {
            description
              "An entry of a next-hop list.

               Modules for address families MUST augment this list
               with a leaf containing a next-hop address of that
               address family.";
            leaf outgoing-interface {
              type if:interface-ref;
              description
                "Name of the outgoing interface.";
            }
          }  // list next-hop
        }  // container next-hop-list
      }  // choice next-hop-options
    }  // grouping next-hop-state-content

    grouping route-metadata {
      description "Common route metadata.";
      leaf source-protocol {
        type identityref {
          base rt:routing-protocol;
        }
        mandatory true;
        description
          "Type of the routing protocol from which the route
         originated.";
      }

      leaf active {
        type empty;
        description
          "Presence of this leaf indicates that the route is preferred
         among all routes in the same RIB that have the same
         destination prefix.";
      }

      leaf last-updated {
        type yang:date-and-time;
        description
          "Time stamp of the last modification of the route.  If the
         route was never modified, it is the time when the route was
         inserted into the RIB.";
      }
    }  // grouping route-metadata

    container routing {
      description
        "Configuration parameters for the routing subsystem.";
      uses router-id {
        if-feature router-id;
        description
          "Configuration of the global router ID.  Routing protocols
         that use router ID can use this parameter or override it
         with another value.";
      }

      container interfaces {
        config false;
        description
          "Network-layer interfaces used for routing.";
        leaf-list interface {
          type if:interface-ref;
          description
            "Each entry is a reference to the name of a configured
           network-layer interface.";
        }
      }  // container interfaces

      container control-plane-protocols {
        description
          "Configuration of control-plane protocol instances.";
        list control-plane-protocol {
          key "type name";
          description
            "Each entry contains configuration of a control-plane
           protocol instance.";
          leaf type {
            type identityref {
              base rt:control-plane-protocol;
            }
            description
              "Type of the control-plane protocol - an identity derived
             from the 'control-plane-protocol' base identity.";
          }

          leaf name {
            type string;
            description
              "An arbitrary name of the control-plane protocol
             instance.";
          }

          leaf description {
            type string;
            description
              "Textual description of the control-plane protocol
             instance.";
          }

          container static-routes {
            when
              "derived-from-or-self(../type, 'rt:static')" {
              description
                "This container is only valid for the 'static' routing
               protocol.";
            }
            description
              "Configuration of the 'static' pseudo-protocol.

             Address-family-specific modules augment this node with
             their lists of routes.";
          }  // container static-routes
        }  // list control-plane-protocol
      }  // container control-plane-protocols

      container ribs {
        description "Configuration of RIBs.";
        list rib {
          key "name";
          description
            "Each entry contains configuration for a RIB identified by
           the 'name' key.

           Entries having the same key as a system-controlled entry
           of the list /routing/ribs/rib are used for
           configuring parameters of that entry.  Other entries
           define additional user-controlled RIBs.";
          leaf name {
            type string;
            description
              "The name of the RIB.

             For system-controlled entries, the value of this leaf
             must be the same as the name of the corresponding entry
             in state data.

             For user-controlled entries, an arbitrary name can be
             used.";
          }

          uses address-family {
            description
              "The address family of the system-controlled RIB.";
          }

          leaf default-rib {
            if-feature multiple-ribs;
            type boolean;
            default "true";
            config false;
            description
              "This flag has the value of 'true' if and only if the RIB
             is the default RIB for the given address family.

             By default, control-plane protocols place their routes
             in the default RIBs.";
          }

          container routes {
            config false;
            description
              "Current content of the RIB.";
            list route {
              description
                "A RIB route entry.  This data node MUST be augmented
               with information specific for routes of each address
               family.";
              leaf route-preference {
                type route-preference;
                description
                  "This route attribute, also known as administrative
                 distance, allows for selecting the preferred route
                 among routes with the same destination prefix.  A
                 smaller value means a more preferred route.";
              }

              container next-hop {
                description
                  "Route's next-hop attribute.";
                uses next-hop-state-content;
              }  // container next-hop

              uses route-metadata;
            }  // list route
          }  // container routes

          action active-route {
            description
              "Return the active RIB route that is used for the
             destination address.

             Address-family-specific modules MUST augment input
             parameters with a leaf named 'destination-address'.";
            output {
              container route {
                description
                  "The active RIB route for the specified destination.

                 If no route exists in the RIB for the destination
                 address, no output is returned.

                 Address-family-specific modules MUST augment this
                 container with appropriate route contents.";
                container next-hop {
                  description
                    "Route's next-hop attribute.";
                  uses next-hop-state-content;
                }  // container next-hop

                uses route-metadata;
              }  // container route
            }
          }  // rpc active-route

          leaf description {
            type string;
            description
              "Textual description of the RIB.";
          }
        }  // list rib
      }  // container ribs
    }  // container routing

    container routing-state {
      config false;
      status obsolete;
      description
        "State data of the routing subsystem.";
      uses router-id {
        status obsolete;
        description
          "Global router ID.

         It may be either configured or assigned algorithmically by
         the implementation.";
      }

      container interfaces {
        status obsolete;
        description
          "Network-layer interfaces used for routing.";
        leaf-list interface {
          type if:interface-state-ref;
          status obsolete;
          description
            "Each entry is a reference to the name of a configured
           network-layer interface.";
        }
      }  // container interfaces

      container control-plane-protocols {
        status obsolete;
        description
          "Container for the list of routing protocol instances.";
        list control-plane-protocol {
          key "type name";
          status obsolete;
          description
            "State data of a control-plane protocol instance.

           An implementation MUST provide exactly one
           system-controlled instance of the 'direct'
           pseudo-protocol.  Instances of other control-plane
           protocols MAY be created by configuration.";
          leaf type {
            type identityref {
              base rt:control-plane-protocol;
            }
            status obsolete;
            description
              "Type of the control-plane protocol.";
          }

          leaf name {
            type string;
            status obsolete;
            description
              "The name of the control-plane protocol instance.

             For system-controlled instances this name is
             persistent, i.e., it SHOULD NOT change across
             reboots.";
          }
        }  // list control-plane-protocol
      }  // container control-plane-protocols

      container ribs {
        status obsolete;
        description "Container for RIBs.";
        list rib {
          key "name";
          min-elements 1;
          status obsolete;
          description
            "Each entry represents a RIB identified by the 'name'
           key. All routes in a RIB MUST belong to the same address
           family.

           An implementation SHOULD provide one system-controlled
           default RIB for each supported address family.";
          leaf name {
            type string;
            status obsolete;
            description
              "The name of the RIB.";
          }

          uses address-family {
            status obsolete;
            description
              "The address family of the RIB.";
          }

          leaf default-rib {
            if-feature multiple-ribs;
            type boolean;
            default "true";
            status obsolete;
            description
              "This flag has the value of 'true' if and only if the
             RIB is the default RIB for the given address family.

             By default, control-plane protocols place their routes
             in the default RIBs.";
          }

          container routes {
            status obsolete;
            description
              "Current content of the RIB.";
            list route {
              status obsolete;
              description
                "A RIB route entry.  This data node MUST be augmented
               with information specific for routes of each address
               family.";
              leaf route-preference {
                type route-preference;
                status obsolete;
                description
                  "This route attribute, also known as administrative
                 distance, allows for selecting the preferred route
                 among routes with the same destination prefix.  A
                 smaller value means a more preferred route.";
              }

              container next-hop {
                status obsolete;
                description
                  "Route's next-hop attribute.";
                uses next-hop-state-content {
                  status obsolete;
                  description
                    "Route's next-hop attribute operational state.";
                }
              }  // container next-hop

              uses route-metadata {
                status obsolete;
                description
                  "Route metadata.";
              }
            }  // list route
          }  // container routes

          action active-route {
            status obsolete;
            description
              "Return the active RIB route that is used for the
             destination address.

             Address-family-specific modules MUST augment input
             parameters with a leaf named 'destination-address'.";
            output {
              container route {
                status obsolete;
                description
                  "The active RIB route for the specified
                 destination.

                 If no route exists in the RIB for the destination
                 address, no output is returned.

                 Address-family-specific modules MUST augment this
                 container with appropriate route contents.";
                container next-hop {
                  status obsolete;
                  description
                    "Route's next-hop attribute.";
                  uses next-hop-state-content {
                    status obsolete;
                    description
                      "Active route state data.";
                  }
                }  // container next-hop

                uses route-metadata {
                  status obsolete;
                  description
                    "Active route metadata.";
                }
              }  // container route
            }
          }  // rpc active-route
        }  // list rib
      }  // container ribs
    }  // container routing-state
  }  // module ietf-routing

Summary

  
ietf-routing  
  
Organization IETF NETMOD (NETCONF Data Modeling Language) Working Group
  
Module ietf-routing
Version 2016-11-04
File ietf-routing@2016-11-04.yang
  
Prefix rt
Namespace urn:ietf:params:xml:ns:yang:ietf-routing
  
Cooked /cookedmodules/ietf-routing/2016-11-04
YANG /src/ietf-routing@2016-11-04.yang
XSD /xsd/ietf-routing@2016-11-04.xsd
  
Abstract This YANG module defines essential components for the management of a routing subsystem. Copyright (c) 2016 IETF Trust and the ...
  
Contact
WG Web:   <https://datatracker.ietf.org/wg/netmod/>
WG List:  <mailto:netmod@ietf.org>

WG Chair: Lou Berger
	  <mailto:lberger@labn.net>

WG Chair: Kent Watsen
	  <mailto:kwatsen@juniper.net>

Editor:   Ladislav Lhotka
	  <mailto:lhotka@nic.cz>

Editor:   Acee Lindem
	  <mailto:acee@cisco.com>
  
ietf-routing  
  
Organization IETF NETMOD - Networking Modeling Working Group
  
Module ietf-routing
Version 2017-12-11
File ietf-routing@2017-12-11.yang
  
Prefix rt
Namespace urn:ietf:params:xml:ns:yang:ietf-routing
Reference
RFC XXXX
  
Cooked /cookedmodules/ietf-routing/2017-12-11
YANG /src/ietf-routing@2017-12-11.yang
XSD /xsd/ietf-routing@2017-12-11.xsd
  
Abstract This YANG module defines essential components for the management of a routing subsystem. Copyright (c) 2017 IETF Trust and the ...
  
Contact
WG Web:   <http://tools.ietf.org/wg/netmod/>
WG List:  <mailto:rtgwg@ietf.org>

Editor:   Ladislav Lhotka
	  <mailto:lhotka@nic.cz>
	  Acee Lindem
	  <mailto:acee@cisco.com>
	  Yingzhen Qu
	  <mailto:yingzhen.qu@huawei.com>

Description

 
ietf-routing
This YANG module defines essential components for the management
of a routing subsystem.

Copyright (c) 2016 IETF Trust and the persons identified as
authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to
the license terms contained in, the Simplified BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).

The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'MAY', and
'OPTIONAL' in the module text are to be interpreted as described
in RFC 2119.

This version of this YANG module is part of RFC 8022;
see the RFC itself for full legal notices.
 
ietf-routing
This YANG module defines essential components for the management
of a routing subsystem.

Copyright (c) 2017 IETF Trust and the persons
identified as authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.

Typedefs

Typedef Base type Abstract
route-preference uint32 This type is used for route preferences.
route-preference uint32 This type is used for route preferences.

Groupings

Grouping Objects Abstract
address-family address-family This grouping provides a leaf identifying an address family.
address-family address-family This grouping provides a leaf identifying an address family.
next-hop-content next-hop-options Generic parameters of next hops in static routes.
next-hop-content next-hop-options Generic parameters of next hops in static routes.
next-hop-state-content next-hop-options Generic parameters of next hops in state data.
next-hop-state-content next-hop-options Generic parameters of next hops in state data.
route-metadata source-protocol active last-updated Common route metadata.
route-metadata source-protocol active last-updated Common route metadata.
router-id router-id This grouping provides router ID.
router-id router-id This grouping provides router ID.
special-next-hop special-next-hop This grouping provides a leaf with an enumeration of special next hops.
special-next-hop special-next-hop This grouping provides a leaf with an enumeration of special next hops.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
routing container Configuration parameters for the routing subsystem.
routing container Configuration parameters for the routing subsystem.
routing-state container State data of the routing subsystem.
routing-state container State data of the routing subsystem.
   control-plane-protocols container Container for the list of routing protocol instances.
   control-plane-protocols container Container for the list of routing protocol instances.
      control-plane-protocol list State data of a control-plane protocol instance. An implementation MUST provide exactly one system-controlled instance of the 'direct' pseudo-protocol. Instances of other control-plane protocols MAY be created by configuration.
      control-plane-protocol list State data of a control-plane protocol instance. An implementation MUST provide exactly one system-controlled instance of the 'direct' pseudo-protocol. Instances of other control-plane protocols MAY be created by configuration.
         name leaf The name of the control-plane protocol instance. For system-controlled instances this name is persistent, i.e., it SHOULD NOT change across reboots.
         name leaf The name of the control-plane protocol instance. For system-controlled instances this name is persistent, i.e., it SHOULD NOT change across reboots.
         type leaf Type of the control-plane protocol.
         type leaf Type of the control-plane protocol.
   interfaces container Network-layer interfaces used for routing.
   interfaces container Network-layer interfaces used for routing.
      interface leaf-list Each entry is a reference to the name of a configured network-layer interface.
      interface leaf-list Each entry is a reference to the name of a configured network-layer interface.
   ribs container Container for RIBs.
   ribs container Container for RIBs.
      rib list Each entry represents a RIB identified by the 'name' key. All routes in a RIB MUST belong to the same address family. An implementation SHOULD provide one system-controlled default RIB for each supported address family.
      rib list Each entry represents a RIB identified by the 'name' key. All routes in a RIB MUST belong to the same address family. An implementation SHOULD provide one system-controlled default RIB for each supported address family.
         address-family leaf Address family.
         default-rib leaf This flag has the value of 'true' if and only if the RIB is the default RIB for the given address family. By default, control-plane protocols place their routes in the default RIBs.
         default-rib leaf This flag has the value of 'true' if and only if the RIB is the default RIB for the given address family. By default, control-plane protocols place their routes in the default RIBs.
         name leaf The name of the RIB.
         name leaf The name of the RIB.
         routes container Current content of the RIB.
         routes container Current content of the RIB.
            route list A RIB route entry. This data node MUST be augmented with information specific for routes of each address family.
            route list A RIB route entry. This data node MUST be augmented with information specific for routes of each address family.
               active leaf Presence of this leaf indicates that the route is preferred among all routes in the same RIB that have the same destination prefix.
               last-updated leaf Time stamp of the last modification of the route. If the route was never modified, it is the time when the route was inserted into the RIB.
               next-hop container Route's next-hop attribute.
               next-hop container Route's next-hop attribute.
                  next-hop-options choice Options for next hops in state data. It is expected that further cases will be added through augments from other modules, e.g., for recursive next hops.
                     next-hop-list case next-hop-list
                        next-hop-list container Container for multiple next hops.
                           next-hop list An entry of a next-hop list. Modules for address families MUST augment this list with a leaf containing a next-hop address of that address family.
                              outgoing-interface leaf Name of the outgoing interface.
                     simple-next-hop case This case represents a simple next hop consisting of the next-hop address and/or outgoing interface. Modules for address families MUST augment this case with a leaf containing a next-hop address of that address family.
                        outgoing-interface leaf Name of the outgoing interface.
                     special-next-hop case special-next-hop
                        special-next-hop leaf Options for special next hops.
               route-preference leaf This route attribute, also known as administrative distance, allows for selecting the preferred route among routes with the same destination prefix. A smaller value means a more preferred route.
               route-preference leaf This route attribute, also known as administrative distance, allows for selecting the preferred route among routes with the same destination prefix. A smaller value means a more preferred route.
               source-protocol leaf Type of the routing protocol from which the route originated.
   router-id leaf A 32-bit number in the form of a dotted quad that is used by some routing protocols identifying a router.
   control-plane-protocols container Configuration of control-plane protocol instances.
   control-plane-protocols container Configuration of control-plane protocol instances.
      control-plane-protocol list Each entry contains configuration of a control-plane protocol instance.
      control-plane-protocol list Each entry contains configuration of a control-plane protocol instance.
         description leaf Textual description of the control-plane protocol instance.
         description leaf Textual description of the control-plane protocol instance.
         name leaf An arbitrary name of the control-plane protocol instance.
         name leaf An arbitrary name of the control-plane protocol instance.
         static-routes container Configuration of the 'static' pseudo-protocol. Address-family-specific modules augment this node with their lists of routes.
         static-routes container Configuration of the 'static' pseudo-protocol. Address-family-specific modules augment this node with their lists of routes.
         type leaf Type of the control-plane protocol - an identity derived from the 'control-plane-protocol' base identity.
         type leaf Type of the control-plane protocol - an identity derived from the 'control-plane-protocol' base identity.
   interfaces container Network-layer interfaces used for routing.
      interface leaf-list Each entry is a reference to the name of a configured network-layer interface.
   ribs container Configuration of RIBs.
   ribs container Configuration of RIBs.
      rib list Each entry contains configuration for a RIB identified by the 'name' key. Entries having the same key as a system-controlled entry of the list /routing-state/ribs/rib are used for configuring parameters of that entry. Other entries define additional use...
      rib list Each entry contains configuration for a RIB identified by the 'name' key. Entries having the same key as a system-controlled entry of the list /routing/ribs/rib are used for configuring parameters of that entry. Other entries define additional user-cont...
         address-family leaf Address family.
         address-family leaf Address family.
         default-rib leaf This flag has the value of 'true' if and only if the RIB is the default RIB for the given address family. By default, control-plane protocols place their routes in the default RIBs.
         description leaf Textual description of the RIB.
         description leaf Textual description of the RIB.
         name leaf The name of the RIB. For system-controlled entries, the value of this leaf must be the same as the name of the corresponding entry in state data. For user-controlled entries, an arbitrary name can be used.
         name leaf The name of the RIB. For system-controlled entries, the value of this leaf must be the same as the name of the corresponding entry in state data. For user-controlled entries, an arbitrary name can be used.
         routes container Current content of the RIB.
            route list A RIB route entry. This data node MUST be augmented with information specific for routes of each address family.
               active leaf Presence of this leaf indicates that the route is preferred among all routes in the same RIB that have the same destination prefix.
               last-updated leaf Time stamp of the last modification of the route. If the route was never modified, it is the time when the route was inserted into the RIB.
               next-hop container Route's next-hop attribute.
                  next-hop-options choice Options for next hops in state data. It is expected that further cases will be added through augments from other modules, e.g., for recursive next hops.
                     next-hop-list case next-hop-list
                        next-hop-list container Container for multiple next hops.
                           next-hop list An entry of a next-hop list. Modules for address families MUST augment this list with a leaf containing a next-hop address of that address family.
                              outgoing-interface leaf Name of the outgoing interface.
                     simple-next-hop case This case represents a simple next hop consisting of the next-hop address and/or outgoing interface. Modules for address families MUST augment this case with a leaf containing a next-hop address of that address family.
                        outgoing-interface leaf Name of the outgoing interface.
                     special-next-hop case special-next-hop
                        special-next-hop leaf Options for special next hops.
               route-preference leaf This route attribute, also known as administrative distance, allows for selecting the preferred route among routes with the same destination prefix. A smaller value means a more preferred route.
               source-protocol leaf Type of the routing protocol from which the route originated.
   router-id leaf A 32-bit number in the form of a dotted quad that is used by some routing protocols identifying a router.
   router-id leaf A 32-bit number in the form of a dotted quad that is used by some routing protocols identifying a router.