Cisco-IOS-XR-mpls-ldp-oper-sub2

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-sub2@2021-04-06


    
      submodule Cisco-IOS-XR-mpls-ldp-oper-sub2 {
    
        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-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 L2vpn-ldp-pw-aii {
          type enumeration {
            enum "local-id" {
              value 0;
              description "AII Type 1";
            }
            enum "type2" {
              value 1;
              description "AII Type 2";
            }
          }
          description "L2vpn ldp pw aii";
        }
    
        typedef L2vpn-ldp-pw-agi {
          type enumeration {
            enum "rd" {
              value 0;
              description "AGI type RD";
            }
          }
          description "L2vpn ldp pw agi";
        }
    
        typedef L2vpn-ldp-pw-fec {
          type enumeration {
            enum "fec128" {
              value 0;
              description
                "FEC 128 pseudowire type";
            }
            enum "fec129" {
              value 1;
              description
                "FEC 129 pseudowire type";
            }
            enum "fec130" {
              value 2;
              description
                "FEC 130 pseudowire type";
            }
            enum "invalid" {
              value 3;
              description "FEC not applicable";
            }
          }
          description "L2vpn ldp pw fec";
        }
    
        grouping L2VPN-LDP-PW-FEC-130 {
          description "L2VPN LDP PW FEC 130";
          container agi {
            description "AGI";
            uses L2VPN-LDP-PW-AGI;
          }  // container agi
    
          container saii {
            description
              "Source Attachment Individual Identifier";
            uses L2VPN-LDP-PW-AII;
          }  // container saii
        }  // grouping L2VPN-LDP-PW-FEC-130
    
        grouping L2VPN-LDP-PW-AII2 {
          description "L2VPN LDP PW AII2";
          leaf gobal-id {
            type uint32;
            description "Global ID";
          }
    
          leaf prefix {
            type uint32;
            description "Prefix";
          }
    
          leaf ac-id {
            type uint32;
            description "AC ID";
          }
        }  // grouping L2VPN-LDP-PW-AII2
    
        grouping L2VPN-LDP-PW-AII1 {
          description "L2VPN LDP PW AII1";
          leaf local-id {
            type inet:ipv4-address;
            description "Local Identifier";
          }
        }  // grouping L2VPN-LDP-PW-AII1
    
        grouping L2VPN-LDP-PW-AII {
          description "L2VPN LDP PW AII";
          container aii1 {
            when "../aii-type = 'local-id'" {
              description
                "../AIIType = 'LocalID'";
            }
            description "aii1";
            uses L2VPN-LDP-PW-AII1;
          }  // container aii1
    
          container aii2 {
            when "../aii-type = 'type2'" {
              description "../AIIType = 'Type2'";
            }
            description "aii2";
            uses L2VPN-LDP-PW-AII2;
          }  // container aii2
    
          leaf aii-type {
            type L2vpn-ldp-pw-aii;
            description "AIIType";
          }
        }  // grouping L2VPN-LDP-PW-AII
    
        grouping L2VPN-LDP-PW-AGI1 {
          description "L2VPN LDP PW AGI1";
          leaf rd {
            type uint64;
            description "Route Distinguisher";
          }
        }  // grouping L2VPN-LDP-PW-AGI1
    
        grouping L2VPN-LDP-PW-AGI {
          description "L2VPN LDP PW AGI";
          container agi1 {
            when "../agi-type = 'rd'" {
              description "../AGIType = 'RD'";
            }
            description "agi1";
            uses L2VPN-LDP-PW-AGI1;
          }  // container agi1
    
          leaf agi-type {
            type L2vpn-ldp-pw-agi;
            description "AGIType";
          }
        }  // grouping L2VPN-LDP-PW-AGI
    
        grouping L2VPN-LDP-PW-FEC-129 {
          description "L2VPN LDP PW FEC 129";
          container agi {
            description "AGI";
            uses L2VPN-LDP-PW-AGI;
          }  // container agi
    
          container saii {
            description
              "Source Attachment Individual Identifier";
            uses L2VPN-LDP-PW-AII;
          }  // container saii
    
          container taii {
            description
              "Target Attachment Individual Identifier";
            uses L2VPN-LDP-PW-AII;
          }  // container taii
        }  // grouping L2VPN-LDP-PW-FEC-129
    
        grouping L2VPN-LDP-PW-FEC-128 {
          description "L2VPN LDP PW FEC 128";
          leaf pseudowire-id {
            type uint32;
            description "Pseudowire ID";
          }
        }  // grouping L2VPN-LDP-PW-FEC-128
    
        grouping L2VPN-LDP-PW-FEC-INFO {
          description "L2VPN LDP PW FEC INFO";
          container fec128 {
            when "../fe-ctype = 'fec128'" {
              description
                "../FECType = 'FEC128'";
            }
            description "fec128";
            uses L2VPN-LDP-PW-FEC-128;
          }  // container fec128
    
          container fec129 {
            when "../fe-ctype = 'fec129'" {
              description
                "../FECType = 'FEC129'";
            }
            description "fec129";
            uses L2VPN-LDP-PW-FEC-129;
          }  // container fec129
    
          container fec130 {
            when "../fe-ctype = 'fec130'" {
              description
                "../FECType = 'FEC130'";
            }
            description "fec130";
            uses L2VPN-LDP-PW-FEC-130;
          }  // container fec130
    
          leaf fe-ctype {
            type L2vpn-ldp-pw-fec;
            description "FECType";
          }
        }  // grouping L2VPN-LDP-PW-FEC-INFO
    
        grouping L2VPN-LDP-ATOM {
          description
            "L2VPN AToM-DB information";
          container fec-info {
            description
              "Pseudowire FEC information";
            uses L2VPN-LDP-PW-FEC-INFO;
          }  // container fec-info
    
          leaf peer-id-xr {
            type inet:ipv4-address;
            description "Peer ID";
          }
    
          leaf mapping-tlv-count {
            type uint32;
            description
              "TLV Count from Label Mapping Message";
          }
    
          leaf notification-tlv-count {
            type uint32;
            description
              "TLV Count from Notification Message";
          }
        }  // grouping L2VPN-LDP-ATOM
      }  // submodule Cisco-IOS-XR-mpls-ldp-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.