Cisco-IOS-XR-pim-oper-sub2

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

  • Version: 2021-02-17

    Cisco-IOS-XR-pim-oper-sub2@2021-02-17


    
      submodule Cisco-IOS-XR-pim-oper-sub2 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-pim-oper {
            prefix Cisco-IOS-XR-pim-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 pim package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-02-17" {
          description
            "Addition made for Sticky DR neighbor tracking
           2020-10-11
             Changes to IOS-XR PIM oper";
        }
    
        revision "2019-12-24" {
          description "Fixed CSCvr52977.";
        }
    
        revision "2019-08-27" {
          description
            "Providing PIM information.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Ipv6-address {
          type inet:ipv6-address;
          description "IPV6 Address type";
        }
    
        typedef Pim-afi {
          type enumeration {
            enum "ipv4-unicast" {
              value 0;
              description "IP v4 unicast";
            }
            enum "ipv6-unicast" {
              value 1;
              description "IP v6 unicast";
            }
          }
          description "Address family";
        }
    
        typedef Pim-interface {
          type enumeration {
            enum "encap-interface" {
              value 0;
              description "Encap Interface";
            }
            enum "decap-interface" {
              value 1;
              description "Decap Interface";
            }
            enum "mdt-interface" {
              value 2;
              description "MDT Interface";
            }
          }
          description "Interface Type";
        }
    
        grouping PIM-MA-SUMMARY {
          description "PIM MA Summary";
          leaf is-im-connection-open {
            type boolean;
            description "IM Connection Open";
          }
    
          leaf is-netio-connection-open {
            type boolean;
            description "Netio Connection Open";
          }
    
          leaf is-edm-connection-open {
            type boolean;
            description "EDM Connection Open";
          }
    
          leaf is-standby-edm-connection-open {
            type boolean;
            description
              "Standby EDM Connection Open";
          }
    
          leaf encap-interface-count {
            type uint32;
            description "Encap Interface Count";
          }
    
          leaf decap-interface-count {
            type uint32;
            description "Decap Interface Count";
          }
    
          leaf mdt-interface-count {
            type uint32;
            description "MDT Interface Count";
          }
        }  // grouping PIM-MA-SUMMARY
    
        grouping PIM-ADDRTYPE {
          description "PIM ADDRTYPE";
          leaf af-name {
            type Pim-afi;
            description "AFName";
          }
    
          leaf ipv4-address {
            when "../af-name = 'ipv4-unicast'" {
              description
                "../AFName = 'IPv4Unicast'";
            }
            type inet:ipv4-address;
            description "IPv4 Address";
          }
    
          leaf ipv6-address {
            when "../af-name = 'ipv6-unicast'" {
              description
                "../AFName = 'IPv6Unicast'";
            }
            type Ipv6-address;
            description "IPV6 Address";
          }
        }  // grouping PIM-ADDRTYPE
    
        grouping PIM-MA-IDB {
          description "PIM MA interface";
          container rp-address {
            description "RP Address";
            uses PIM-ADDRTYPE;
          }  // container rp-address
    
          container source-address {
            description "Source Address";
            uses PIM-ADDRTYPE;
          }  // container source-address
    
          leaf interface-name-xr {
            type xr:Interface-name;
            description "Interface Name";
          }
    
          leaf vrf-name {
            type string;
            description "VRF Name";
          }
    
          leaf interface-type {
            type Pim-interface;
            description "Interface Type";
          }
        }  // grouping PIM-MA-IDB
      }  // submodule Cisco-IOS-XR-pim-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.