Cisco-IOS-XR-ipv4-autorp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-autorp package operational data. This module contai...

  • Version: 2019-08-27

    Cisco-IOS-XR-ipv4-autorp-oper@2019-08-27


    
      module Cisco-IOS-XR-ipv4-autorp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper";
    
        prefix ipv4-autorp-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ipv4-autorp-datatypes {
          prefix dt1;
        }
    
        include Cisco-IOS-XR-ipv4-autorp-oper-sub2 {
          revision-date "2019-08-27";
        }
        include Cisco-IOS-XR-ipv4-autorp-oper-sub1 {
          revision-date "2019-08-27";
        }
    
        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 module contains a collection of YANG definitions
         for Cisco IOS-XR ipv4-autorp package operational data.
         
         This module contains definitions
         for the following management objects:
           auto-rp: AutoRP operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-08-27" {
          description
            "Providing AutoRP 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.1";
    
        container auto-rp {
          config false;
          description "AutoRP operational data";
          container standby {
            description "Standby Process";
            container candidate-rp {
              description "AutoRP Candidate RP";
              container traffic {
                description
                  "AutoRP Candidate Traffic Counters";
                leaf active-sent-packets {
                  type uint32;
                  description
                    "Number of packets sent in active role";
                }
    
                leaf standby-sent-packets {
                  type uint32;
                  description
                    "Number of packets dropped in send path in
    standby role";
                }
              }  // container traffic
    
              container rps {
                description
                  "AutoRP Candidate RP Table";
                list rp {
                  key "interface-name protocol-mode";
                  description
                    "AutoRP Candidate RP Entry";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface Name";
                  }
    
                  leaf protocol-mode {
                    type dt1:Auto-rp-protocol-mode;
                    description "Protocol Mode";
                  }
    
                  leaf access-list-name {
                    type string;
                    description "ACL Name";
                  }
    
                  leaf candidate-rp-address {
                    type inet:ipv4-address;
                    description
                      "Candidate RP IP Address";
                  }
    
                  leaf ttl {
                    type int32;
                    description "TTL";
                  }
    
                  leaf announce-period {
                    type int32;
                    description
                      "Announce Period";
                  }
    
                  leaf protocol-mode-xr {
                    type Autorp-protocol-mode;
                    description "Protocol Mode";
                  }
                }  // list rp
              }  // container rps
            }  // container candidate-rp
    
            container mapping-agent {
              description
                "AutoRP Mapping Agent Table";
              container traffic {
                description
                  "AutoRP Mapping Agent Traffic Counters";
                leaf active-sent-packets {
                  type uint32;
                  description
                    "Number of packets sent in active role";
                }
    
                leaf standby-sent-packets {
                  type uint32;
                  description
                    "Number of packets dropped in send path in
    standby role";
                }
    
                leaf active-received-packets {
                  type uint32;
                  description
                    "Number of packets received in active role";
                }
    
                leaf standby-received-packets {
                  type uint32;
                  description
                    "Number of packets dropped in receive path in
    standby role";
                }
              }  // container traffic
    
              container rp-addresses {
                description
                  "AutoRP Mapping Agent Table Entries";
                list rp-address {
                  key "rp-address";
                  description
                    "AutoRP Mapping Agent Entry";
                  leaf rp-address {
                    type inet:ipv4-address-no-zone;
                    description "RP Address";
                  }
    
                  leaf rp-address-xr {
                    type inet:ipv4-address;
                    description
                      "Candidate-RP address";
                  }
    
                  leaf expiry-time {
                    type uint64;
                    units "second";
                    description
                      "Time for expiration in seconds";
                  }
    
                  leaf pim-version {
                    type uint8;
                    description
                      "PIM version of the CRP";
                  }
    
                  list range {
                    description
                      "Array of ranges";
                    leaf prefix {
                      type inet:ipv4-address;
                      description
                        "Prefix of the range";
                    }
    
                    leaf prefix-length {
                      type uint8;
                      description
                        "Prefix length of the range";
                    }
    
                    leaf protocol-mode {
                      type Autorp-protocol-mode;
                      description
                        "Protocol Mode";
                    }
    
                    leaf is-advertised {
                      type boolean;
                      description
                        "Is this entry advertised ?";
                    }
    
                    leaf create-type {
                      type uint8;
                      description
                        "Source of the entry";
                    }
    
                    leaf check-point-object-id {
                      type uint32;
                      description
                        "Checkpoint object id";
                    }
    
                    leaf uptime {
                      type uint64;
                      units "second";
                      description
                        "Uptime in seconds";
                    }
                  }  // list range
                }  // list rp-address
              }  // container rp-addresses
    
              container summary {
                description
                  "AutoRP Mapping Agent Summary Information";
                leaf is-maximum-disabled {
                  type boolean;
                  description
                    "Is maximum enforcement disabled ?";
                }
    
                leaf cache-limit {
                  type uint32;
                  description
                    "Maximum group to RP mapping entries allowed";
                }
    
                leaf cache-count {
                  type uint32;
                  description
                    "Number of group to RP mapping entries in the
    cache";
                }
              }  // container summary
            }  // container mapping-agent
          }  // container standby
    
          container active {
            description "Active Process";
            container candidate-rp {
              description "AutoRP Candidate RP";
              container traffic {
                description
                  "AutoRP Candidate Traffic Counters";
                leaf active-sent-packets {
                  type uint32;
                  description
                    "Number of packets sent in active role";
                }
    
                leaf standby-sent-packets {
                  type uint32;
                  description
                    "Number of packets dropped in send path in
    standby role";
                }
              }  // container traffic
    
              container rps {
                description
                  "AutoRP Candidate RP Table";
                list rp {
                  key "interface-name protocol-mode";
                  description
                    "AutoRP Candidate RP Entry";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface Name";
                  }
    
                  leaf protocol-mode {
                    type dt1:Auto-rp-protocol-mode;
                    description "Protocol Mode";
                  }
    
                  leaf access-list-name {
                    type string;
                    description "ACL Name";
                  }
    
                  leaf candidate-rp-address {
                    type inet:ipv4-address;
                    description
                      "Candidate RP IP Address";
                  }
    
                  leaf ttl {
                    type int32;
                    description "TTL";
                  }
    
                  leaf announce-period {
                    type int32;
                    description
                      "Announce Period";
                  }
    
                  leaf protocol-mode-xr {
                    type Autorp-protocol-mode;
                    description "Protocol Mode";
                  }
                }  // list rp
              }  // container rps
            }  // container candidate-rp
    
            container mapping-agent {
              description
                "AutoRP Mapping Agent Table";
              container traffic {
                description
                  "AutoRP Mapping Agent Traffic Counters";
                leaf active-sent-packets {
                  type uint32;
                  description
                    "Number of packets sent in active role";
                }
    
                leaf standby-sent-packets {
                  type uint32;
                  description
                    "Number of packets dropped in send path in
    standby role";
                }
    
                leaf active-received-packets {
                  type uint32;
                  description
                    "Number of packets received in active role";
                }
    
                leaf standby-received-packets {
                  type uint32;
                  description
                    "Number of packets dropped in receive path in
    standby role";
                }
              }  // container traffic
    
              container rp-addresses {
                description
                  "AutoRP Mapping Agent Table Entries";
                list rp-address {
                  key "rp-address";
                  description
                    "AutoRP Mapping Agent Entry";
                  leaf rp-address {
                    type inet:ipv4-address-no-zone;
                    description "RP Address";
                  }
    
                  leaf rp-address-xr {
                    type inet:ipv4-address;
                    description
                      "Candidate-RP address";
                  }
    
                  leaf expiry-time {
                    type uint64;
                    units "second";
                    description
                      "Time for expiration in seconds";
                  }
    
                  leaf pim-version {
                    type uint8;
                    description
                      "PIM version of the CRP";
                  }
    
                  list range {
                    description
                      "Array of ranges";
                    leaf prefix {
                      type inet:ipv4-address;
                      description
                        "Prefix of the range";
                    }
    
                    leaf prefix-length {
                      type uint8;
                      description
                        "Prefix length of the range";
                    }
    
                    leaf protocol-mode {
                      type Autorp-protocol-mode;
                      description
                        "Protocol Mode";
                    }
    
                    leaf is-advertised {
                      type boolean;
                      description
                        "Is this entry advertised ?";
                    }
    
                    leaf create-type {
                      type uint8;
                      description
                        "Source of the entry";
                    }
    
                    leaf check-point-object-id {
                      type uint32;
                      description
                        "Checkpoint object id";
                    }
    
                    leaf uptime {
                      type uint64;
                      units "second";
                      description
                        "Uptime in seconds";
                    }
                  }  // list range
                }  // list rp-address
              }  // container rp-addresses
    
              container summary {
                description
                  "AutoRP Mapping Agent Summary Information";
                leaf is-maximum-disabled {
                  type boolean;
                  description
                    "Is maximum enforcement disabled ?";
                }
    
                leaf cache-limit {
                  type uint32;
                  description
                    "Maximum group to RP mapping entries allowed";
                }
    
                leaf cache-count {
                  type uint32;
                  description
                    "Number of group to RP mapping entries in the
    cache";
                }
              }  // container summary
            }  // container mapping-agent
          }  // container active
        }  // container auto-rp
      }  // module Cisco-IOS-XR-ipv4-autorp-oper
    

© 2024 YumaWorks, Inc. All rights reserved.