Cisco-IOS-XR-mpls-ldp-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR mpls-ldp package operational data. Copyright (c) 2013...

  • Version: 2021-04-06

    Cisco-IOS-XR-mpls-ldp-oper-sub1@2021-04-06


    
      submodule Cisco-IOS-XR-mpls-ldp-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-mpls-ldp-oper {
            prefix Cisco-IOS-XR-mpls-ldp-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This submodule contains a collection of YANG definitions
         for Cisco IOS-XR mpls-ldp package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-04-06" {
          description
            "Added BSID data in LDP forwarding
           2021-03-10
             Added adj_grp count leaf to ldp summary
           2020-08-14
             Added ELC parameter.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Mgmt-ldp-nbr-bgp-advt-state {
          type enumeration {
            enum "not-applicable" {
              value 0;
              description "Not applicable";
            }
            enum "permit" {
              value 1;
              description
                "Advertisement permitted";
            }
            enum "deny" {
              value 2;
              description "Advertisement denied";
            }
          }
          description
            "MPLS LDP Neighbor BGP Label Advertisement State
           Type";
        }
    
        typedef Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn {
          type enumeration {
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-none" {
              value 0;
              description
                "mgmt ldp nsr peer ldp sync nack rsn none";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-tbl-id-mismatch" {
              value 1;
              description
                "mgmt ldp nsr peer ldp sync nack rsn tbl id
               mismatch";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-pp-exists" {
              value 2;
              description
                "mgmt ldp nsr peer ldp sync nack rsn pp exists";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-missing-elem" {
              value 3;
              description
                "mgmt ldp nsr peer ldp sync nack rsn missing
               elem";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-p-end-sock" {
              value 4;
              description
                "mgmt ldp nsr peer ldp sync nack rsn no p end
               sock";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-p-end-sock-not-synced" {
              value 5;
              description
                "mgmt ldp nsr peer ldp sync nack rsn p end sock
               not synced";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-add" {
              value 6;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err adj add";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-dhcb-add" {
              value 7;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err dhcb
               add";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-enomem" {
              value 8;
              description
                "mgmt ldp nsr peer ldp sync nack rsn enomem";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tp-create" {
              value 9;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err tp
               create";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pp-create" {
              value 10;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err pp
               create";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-addr-bind" {
              value 11;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err addr
               bind";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-bad-pie" {
              value 12;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err rx bad
               pie";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-notif" {
              value 13;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err rx
               notif";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-unexp-open" {
              value 14;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err rx
               unexp open";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-unexp-peer-down" {
              value 15;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err unexp
               peer down";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-not-found" {
              value 16;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err app not
               found";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-invalid" {
              value 17;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err app
               invalid";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-grp-not-found" {
              value 18;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err adj grp
               not found";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-invalid-elem" {
              value 19;
              description
                "mgmt ldp nsr peer ldp sync nack rsn invalid
               elem";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-data-invalid" {
              value 20;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err app
               data invalid";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-invalid-per-idx" {
              value 21;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err invalid
               per idx";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pfx-not-found" {
              value 22;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err pfx not
               found";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-bm-size-invalid" {
              value 23;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err bm size
               invalid";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adv-bm-clear" {
              value 24;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err adv bm
               clear";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tcp-struct-create" {
              value 25;
              description
                "mgmt ldp nsr peer ldp sync nack rsn err tcp
               struct create";
            }
            enum
              "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-ctx" {
              value 26;
              description
                "mgmt ldp nsr peer ldp sync nack rsn no ctx";
            }
          }
          description
            "Mgmt ldp nsr peer ldp sync nack rsn";
        }
    
        typedef Mgmt-ldp-nsr-peer-sync-err {
          type enumeration {
            enum
              "mgmt-ldp-nsr-peer-sync-err-none" {
              value 0;
              description
                "mgmt ldp nsr peer sync err none";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-ldp-sync-nack" {
              value 1;
              description
                "mgmt ldp nsr peer sync err ldp sync nack";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-sync-prep" {
              value 2;
              description
                "mgmt ldp nsr peer sync err sync prep";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-tcp-peer" {
              value 3;
              description
                "mgmt ldp nsr peer sync err tcp peer";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-tcp-gbl" {
              value 4;
              description
                "mgmt ldp nsr peer sync err tcp gbl";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-ldp-peer" {
              value 5;
              description
                "mgmt ldp nsr peer sync err ldp peer";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-ldp-gbl" {
              value 6;
              description
                "mgmt ldp nsr peer sync err ldp gbl";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-app-fail" {
              value 7;
              description
                "mgmt ldp nsr peer sync err app fail";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase1" {
              value 8;
              description
                "mgmt ldp nsr peer sync err sync tcp phase1";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase2" {
              value 9;
              description
                "mgmt ldp nsr peer sync err sync tcp phase2";
            }
          }
          description
            "Mgmt ldp nsr peer sync err";
        }
    
        typedef Mgmt-ldp-nsr-peer-sync-state {
          type enumeration {
            enum
              "mgmt-ldp-nsr-peer-sync-st-none" {
              value 0;
              description
                "mgmt ldp nsr peer sync st none";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-wait" {
              value 1;
              description
                "mgmt ldp nsr peer sync st wait";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-ready" {
              value 2;
              description
                "mgmt ldp nsr peer sync st ready";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-prep" {
              value 3;
              description
                "mgmt ldp nsr peer sync st prep";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-app-wait" {
              value 4;
              description
                "mgmt ldp nsr peer sync st app wait";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-oper" {
              value 5;
              description
                "mgmt ldp nsr peer sync st oper";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-tcp-phase1" {
              value 6;
              description
                "mgmt ldp nsr peer sync st tcp phase1";
            }
            enum
              "mgmt-ldp-nsr-peer-sync-st-tcp-phase2" {
              value 7;
              description
                "mgmt ldp nsr peer sync st tcp phase2";
            }
          }
          description
            "Mgmt ldp nsr peer sync state";
        }
    
        typedef Ldp-adj-union-discrim {
          type enumeration {
            enum "link-hello" {
              value 0;
              description "Link hello";
            }
            enum "targeted-hello" {
              value 1;
              description "Targeted hello";
            }
          }
          description "MPLS LDP Hello Type";
        }
    
        typedef Show-nsr-state {
          type enumeration {
            enum "nsr-ready" {
              value 0;
              description "NSR ready";
            }
            enum "nsr-not-ready" {
              value 1;
              description "NSR not ready";
            }
            enum "nsr-na" {
              value 2;
              description "NSR not applicable";
            }
          }
          description "NSR State Type";
        }
    
        typedef Ldp-route-path-lbl-owner {
          type enumeration {
            enum "ip-path-lbl-owner-none" {
              value 0;
              description
                "No label and no owner";
            }
            enum "ip-path-lbl-owner-ldp" {
              value 1;
              description
                "Path outgoing label owned by LDP";
            }
            enum "ip-path-lbl-owner-bgp" {
              value 2;
              description
                "Path outgoing label owned by BGP";
            }
          }
          description "Route path label owner";
        }
    
        typedef Label-value {
          type enumeration {
            enum "mpls-label" {
              value 0;
              description "MPLS Label";
            }
            enum "un-labelled" {
              value 1;
              description "Unlabelled";
            }
            enum "unknown" {
              value 2;
              description "Unknown label";
            }
          }
          description "Label Value Type";
        }
    
        typedef Ldp-fwd-unlbl-rsn {
          type enumeration {
            enum "ldp-fwd-labelled" {
              value 0;
              description "ldp fwd labelled";
            }
            enum "ldp-fwd-un-labelled-vrf-down" {
              value 1;
              description
                "ldp fwd un labelled vrf down";
            }
            enum "ldp-fwd-un-labelled-no-nh" {
              value 2;
              description
                "ldp fwd un labelled no nh";
            }
            enum
              "ldp-fwd-un-labelled-recursive-path" {
              value 3;
              description
                "ldp fwd un labelled recursive path";
            }
            enum
              "ldp-fwd-un-labelled-intf-not-ldp" {
              value 4;
              description
                "ldp fwd un labelled intf not ldp";
            }
            enum "ldp-fwd-un-labelled-no-rmt" {
              value 5;
              description
                "ldp fwd un labelled no rmt";
            }
            enum
              "ldp-fwd-un-labelled-no-ldp-adj" {
              value 6;
              description
                "ldp fwd un labelled no ldp adj";
            }
            enum
              "ldp-fwd-un-labelled-no-session" {
              value 7;
              description
                "ldp fwd un labelled no session";
            }
            enum "ldp-fwd-un-labelled-unknown" {
              value 8;
              description
                "ldp fwd un labelled unknown";
            }
          }
          description "Ldp fwd unlbl rsn";
        }
    
        typedef Ldp-route-path-flags {
          type enumeration {
            enum "ip-path-no-flag" {
              value 0;
              description
                "A primary path with no special flag/attribute";
            }
            enum "ip-path-protected" {
              value 1;
              description
                "A primary path with LFA FRR protection";
            }
            enum "ip-path-backup" {
              value 2;
              description
                "A non-primary local LFA FRR (pure) backup path";
            }
            enum "ip-path-backup-remote" {
              value 3;
              description
                "A non-primary remote LFA FRR (pure) backup path";
            }
            enum "ip-path-bgp-backup" {
              value 4;
              description
                "A non-primary BGP backup path";
            }
          }
          description "Route path flags";
        }
    
        typedef Dhcb-state {
          type enumeration {
            enum "none" {
              value 0;
              description "None";
            }
            enum "dhcb-active" {
              value 1;
              description "Active";
            }
            enum "dhcb-passive" {
              value 2;
              description "Passive";
            }
            enum "dhcb-active-passive" {
              value 3;
              description "Active and Passive";
            }
          }
          description "DHCB State Type";
        }
    
        typedef Ldp-igp-sync-down-reason {
          type enumeration {
            enum
              "igp-sync-down-reason-not-applicable" {
              value 0;
              description "Not Applicable";
            }
            enum "no-hello-adjacency" {
              value 1;
              description "No hello adjacency";
            }
            enum "no-peer-session" {
              value 2;
              description "No peer session";
            }
            enum
              "initial-update-to-peer-not-done" {
              value 3;
              description
                "Initial update to peer not done yet";
            }
            enum
              "initial-update-from-peer-not-received" {
              value 4;
              description
                "Initial update from peer not received yet";
            }
            enum "internal-reason" {
              value 5;
              description "Internal reason";
            }
          }
          description
            "Reason IGP Sync Not Achieved";
        }
    
        typedef String-td2 {
          type string;
          description "String td2";
        }
    
        typedef Ldp-igp-sync-state {
          type enumeration {
            enum "isync-ready" {
              value 0;
              description "Acheived";
            }
            enum "isync-not-ready" {
              value 1;
              description "Not acheived";
            }
            enum "isync-deferred" {
              value 2;
              description
                "Deferred due to interface delay or global
               restart delay";
            }
          }
          description "IGP Sync State";
        }
    
        typedef Local-label-state {
          type enumeration {
            enum "local-label-state-none" {
              value 1;
              description "None";
            }
            enum "local-label-state-assigned" {
              value 2;
              description "Assigned";
            }
            enum "local-label-state-withdrawn" {
              value 3;
              description "Withdrawn";
            }
          }
          description
            "MPLS LDP Local Label State Type";
        }
    
        typedef Ldp-af {
          type enumeration {
            enum "ldp-show-af-none" {
              value 0;
              description "No Address Family";
            }
            enum "ldp-show-af-ipv4" {
              value 1;
              description "IPv4 AFI";
            }
            enum "ldp-show-af-ipv6" {
              value 2;
              description "IPv6 AFI";
            }
            enum "ldp-show-af-ipv4-ipv6" {
              value 3;
              description "Both IPv4/IPv6 AFIs";
            }
          }
          description "Ldp af";
        }
    
        typedef Ldp-in6-addr {
          type inet:ipv6-address;
          description "Ldp in6 addr";
        }
    
        typedef Ldp-in-addr {
          type inet:ipv4-address;
          description "Ldp in addr";
        }
    
        typedef Ldp-af-id {
          type enumeration {
            enum "ldp-af-id-none" {
              value 0;
              description "No Address Family";
            }
            enum "ldp-af-id-ipv4" {
              value 2;
              description "IPv4 AFI";
            }
            enum "ldp-af-id-ipv6" {
              value 10;
              description "IPv6 AFI";
            }
          }
          description "Ldp af id";
        }
      }  // submodule Cisco-IOS-XR-mpls-ldp-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.