Cisco-IOS-XE-bgp-route-oper

This module contains a collection of YANG definitions route for bgp route operational data. Copyright (c) 2016-2020 by Cisco Sys...

  • Version: 2020-11-01

    Cisco-IOS-XE-bgp-route-oper@2020-11-01


    
      module Cisco-IOS-XE-bgp-route-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-bgp-route-oper";
    
        prefix bgp-route-ios-xe-oper;
    
        import Cisco-IOS-XE-bgp-common-oper {
          prefix bgp-common-ios-xe-oper;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
    
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
    
         Tel: +1 1800 553-NETS
    
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         route for bgp route operational data.
         Copyright (c) 2016-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-11-01" {
          description
            "Added obsolete status to invalid Peer Group Elements";
          reference
            "2.0.0";
    
        }
    
        revision "2019-05-01" {
          description "Added semantic version";
          reference
            "1.6.0";
    
        }
    
        revision "2018-10-29" {
          description
            "Cleaned up spelling errors in descriptions.";
          reference
            "1.5.0";
    
        }
    
        revision "2018-04-09" {
          description
            "Added enumeration type for bgp path internal/external
           status";
          reference
            "1.4.0";
    
        }
    
        revision "2017-09-25" {
          description
            "Properly indicated leaf-list ordering";
          reference
            "1.3.0";
    
        }
    
        revision "2017-05-22" {
          description
            "Added the BGP Peer Group Elements";
          reference
            "1.2.0";
    
        }
    
        revision "2017-05-12" {
          description
            "Added the BGP RD and Neighbor routes";
          reference
            "1.1.0";
    
        }
    
        revision "2017-02-07" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.6.0";
        cisco-semver:module-version "1.5.0";
        cisco-semver:module-version "1.4.0";
        cisco-semver:module-version "1.3.0";
        cisco-semver:module-version "1.2.0";
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        typedef bgp-origin-code {
          type enumeration {
            enum "origin-igp" {
              value 0;
              description "BGP origin code IGP";
            }
            enum "origin-egp" {
              value 1;
              description "BGP origin code EGP";
            }
            enum "origin-incomplete" {
              value 2;
              description
                "BGP origin code incomplete";
            }
          }
          description "BGP origin code";
        }
    
        typedef bgp-rpki-status {
          type enumeration {
            enum "rpki-valid" {
              value 0;
            }
            enum "rpki-invalid" {
              value 1;
            }
            enum "rpki-not-found" {
              value 2;
            }
            enum "rpki-not-enabled" {
              value 3;
            }
            enum "rpki-illegal" {
              value 4;
            }
          }
          description "BGP RPKI status";
        }
    
        typedef bgp-path-origin {
          type enumeration {
            enum "internal-path" {
              value 0;
              description "BGP origin internal";
            }
            enum "external-path" {
              value 1;
              description "BGP origin external";
            }
          }
          description
            "BGP path internal/external origin";
        }
    
        typedef bgp-route-filters {
          type enumeration {
            enum "bgp-rf-all" {
              value 0;
              description "BGP all route filter";
            }
            enum "bgp-rf-cidr-only" {
              value 1;
              description
                "BGP CIDR only route filter";
            }
            enum "bgp-rf-label" {
              value 2;
              description
                "BGP label route filter";
            }
            enum "bgp-rf-rib-failure" {
              value 3;
              description
                "BGP RIB failure route filter";
            }
            enum "bgp-rf-injected" {
              value 4;
              description
                "BGP injected route filter";
            }
            enum "bgp-rf-inconsistent" {
              value 5;
              description
                "BGP inconsistent route filter";
            }
            enum "bgp-rf-community" {
              value 6;
              description
                "BGP community route filter";
            }
            enum "bgp-rf-extcommunity" {
              value 7;
              description
                "BGP extcommunity route filter";
            }
            enum "bgp-rf-oer-controlled" {
              value 8;
              description
                "BGP OER controlled route filter";
            }
            enum "bgp-rf-pending" {
              value 9;
              description
                "BGP pending route filter";
            }
          }
          description "BGP route filters";
        }
    
        typedef bgp-neighbor-route-filters {
          type enumeration {
            enum "bgp-nrf-post-received" {
              value 0;
              description
                "BGP received routes post policy";
            }
            enum "bgp-nrf-pre-received" {
              value 1;
              description
                "BGP received routes pre policy";
            }
            enum "bgp-nrf-pre-advertised" {
              value 2;
              description
                "BGP pre advertised pre policy";
            }
            enum "bgp-nrf-post-advertised" {
              value 3;
              description
                "BGP post advertised post policy";
            }
          }
          description
            "BGP neighbor route filters";
        }
      }  // module Cisco-IOS-XE-bgp-route-oper
    

© 2023 YumaWorks, Inc. All rights reserved.