openconfig-rib-bgp

Defines a data model for representing BGP routing table (RIB) contents. The model supports 5 logical RIBs per address family: ...

  • Version: 2022-06-06

    openconfig-rib-bgp@2022-06-06


    
      module openconfig-rib-bgp {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/rib/bgp";
    
        prefix oc-rib-bgp;
    
        import openconfig-bgp-types {
          prefix oc-bgpt;
        }
        import openconfig-extensions {
          prefix oc-ext;
        }
    
        include openconfig-rib-bgp-tables;
        include openconfig-rib-bgp-shared-attributes;
        include openconfig-rib-bgp-attributes;
        include openconfig-rib-bgp-table-attributes;
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
    www.openconfig.net";
    
        description
          "Defines a data model for representing BGP routing table (RIB)
    contents.  The model supports 5 logical RIBs per address family:
    
    loc-rib: This is the main BGP routing table for the local routing
    instance, containing best-path selections for each prefix. The
    loc-rib table may contain multiple routes for a given prefix,
    with an attribute to indicate which was selected as the best
    path.  Note that multiple paths may be used or advertised even if
    only one path is marked as best, e.g., when using BGP
    add-paths.  An implementation may choose to mark multiple
    paths in the RIB as best path by setting the flag to true for
    multiple entries.
    
    adj-rib-in-pre: This is a per-neighbor table containing the NLRI
    updates received from the neighbor before any local input policy
    rules or filters have been applied.  This can be considered the
    'raw' updates from a given neighbor.
    
    adj-rib-in-post: This is a per-neighbor table containing the
    routes received from the neighbor that are eligible for
    best-path selection after local input policy rules have been
    applied.
    
    adj-rib-out-pre: This is a per-neighbor table containing routes
    eligible for sending (advertising) to the neighbor before output
    policy rules have been applied.
    
    adj-rib-out-post: This is a per-neighbor table containing routes
    eligible for sending (advertising) to the neighbor after output
    policy rules have been applied.";
    
        revision "2022-06-06" {
          description
            "Revert IETF types in favor of oc-inet types";
          reference
            "0.8.1";
    
        }
    
        revision "2021-06-21" {
          description
            "Add L2VPN-EVPN BGP RIB Support";
          reference
            "0.8.0";
    
        }
    
        revision "2019-10-15" {
          description
            "Change imported segment-routing module.";
          reference
            "0.7.0";
    
        }
    
        revision "2019-04-25" {
          description
            "Update last-modified timestamp to be expressed as nanoseconds
    since the Unix epoch.";
          reference
            "0.6.0";
    
        }
    
        revision "2019-04-16" {
          description
            "Rename the top-level BGP RIB container's name
    to RIB.";
          reference
            "0.5.0";
    
        }
    
        revision "2019-02-27" {
          description
            "Remove top-level BGP RIB container, and update list
    names to be compatible with path compression.";
          reference
            "0.4.0";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "0.3.1";
    
        }
    
        revision "2016-10-17" {
          description
            "OpenConfig BGP RIB refactor";
          reference
            "0.3.0";
    
        }
    
        revision "2016-04-11" {
          description
            "OpenConfig public release";
          reference
            "0.2.0";
    
        }
    
        oc-ext:openconfig-version "0.8.1";
      }  // module openconfig-rib-bgp
    

© 2023 YumaWorks, Inc. All rights reserved.