Cisco-IOS-XR-ipv4-arp-oper

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

  • Version: 2021-02-11

    Cisco-IOS-XR-ipv4-arp-oper@2021-02-11


    
      module Cisco-IOS-XR-ipv4-arp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper";
    
        prefix ipv4-arp-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ipv4-arp-oper-sub3 {
          revision-date "2021-02-11";
        }
        include Cisco-IOS-XR-ipv4-arp-oper-sub2 {
          revision-date "2021-02-11";
        }
        include Cisco-IOS-XR-ipv4-arp-oper-sub1 {
          revision-date "2021-02-11";
        }
    
        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-arp package operational data.
         
         This module contains definitions
         for the following management objects:
           arp-gmp: ARP-GMP global operational data
           arp: ARP operational data
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-02-11" {
          description
            "IOS XR 6.2.3 revision.
           2021-02-04
             IOS XR 6.2.2 revision.
           2020-12-03
             Adding support for displaying client resync time
           2020-04-22
             adding oper schema support, clinet stats update with cnbng.";
        }
    
        revision "2019-12-11" {
          description
            "adding oper schema support.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-11-21" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2016-12-19" {
          description "IOS XR 6.2.1 revision.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        container arp-gmp {
          config false;
          description
            "ARP-GMP global operational data";
          container vrf-infos {
            description
              "Table of VRF related ARP-GMP operational data";
            list vrf-info {
              key "vrf-name";
              description
                "VRF related ARP-GMP operational data";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string {
                  length "1..32";
                }
                description
                  "VRF name for the default VRF use 'default'";
              }
    
              leaf vrf-name-xr {
                type string;
                description "VRF Name";
              }
    
              leaf vrf-id-number {
                type uint32;
                description "VRF ID";
              }
    
              leaf table-id {
                type uint32;
                description
                  "IPv4 unicast table ID";
              }
    
              leaf rsi-handle {
                type uint32;
                description
                  "RSI registration handle";
              }
    
              leaf rsi-handle-high {
                type uint32;
                description
                  "RSI registration handle (top 32-bits)";
              }
            }  // list vrf-info
          }  // container vrf-infos
    
          container vrfs {
            description
              "Table of per VRF ARP-GMP operational data";
            list vrf {
              key "vrf-name";
              description
                "Per VRF ARP-GMP operational data";
              container configured-ip-addresses {
                description
                  "Table of ARP-GMP configured IP addresses
                 information";
                list configured-ip-address {
                  key "address";
                  description
                    "ARP-GMP configured IP address information";
                  leaf address {
                    type inet:ipv4-address-no-zone;
                    description
                      "Configured ARP-GMP IP";
                  }
    
                  leaf ip-address {
                    type inet:ipv4-address;
                    description "IP address";
                  }
    
                  leaf hardware-address {
                    type yang:mac-address;
                    description "MAC address ";
                  }
    
                  leaf encapsulation-type {
                    type Arp-gmp-bag-encap;
                    description "Encap type";
                  }
    
                  leaf entry-type {
                    type Arp-gmp-bag-entry;
                    description
                      "Entry type static/alias";
                  }
                }  // list configured-ip-address
              }  // container configured-ip-addresses
    
              container routes {
                description
                  "Table of ARP GMP route information";
                list route {
                  description
                    "ARP GMP route information";
                  leaf address {
                    type inet:ipv4-address-no-zone;
                    description "Host address";
                  }
    
                  leaf prefix-length {
                    type uint32 {
                      range "0..32";
                    }
                    description "Subnet mask";
                  }
    
                  leaf ip-address {
                    type inet:ipv4-address;
                    description "IP address";
                  }
    
                  leaf prefix-length-xr {
                    type uint8;
                    description
                      "IP address length";
                  }
    
                  leaf interface-name-xr {
                    type xr:Interface-name;
                    description
                      "Source Interface";
                  }
    
                  list interface-name {
                    description "Interface list";
                    leaf entry {
                      type xr:Interface-name;
                      description
                        "Interface list";
                    }
                  }  // list interface-name
                }  // list route
              }  // container routes
    
              container interface-configured-ip-addresses {
                description
                  "Table of ARP GMP interface and associated
                 configured IP data";
                list interface-configured-ip-address {
                  description
                    "ARP GMP interface and associated configured
                   IP data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "Source Interface";
                  }
    
                  leaf address {
                    type inet:ipv4-address-no-zone;
                    description
                      "Configured ARP-GMP IP";
                  }
    
                  container associated-configuration-entry {
                    description
                      "Configuration entry associated";
                    leaf ip-address {
                      type inet:ipv4-address;
                      description "IP address";
                    }
    
                    leaf hardware-address {
                      type yang:mac-address;
                      description "MAC address ";
                    }
    
                    leaf encapsulation-type {
                      type Arp-gmp-bag-encap;
                      description "Encap type";
                    }
    
                    leaf entry-type {
                      type Arp-gmp-bag-entry;
                      description
                        "Entry type static/alias";
                    }
                  }  // container associated-configuration-entry
    
                  leaf interface-name-xr {
                    type xr:Interface-name;
                    description
                      "Source Interface";
                  }
    
                  leaf reference-count {
                    type uint32;
                    description
                      "Number of Route reference";
                  }
                }  // list interface-configured-ip-address
              }  // container interface-configured-ip-addresses
    
              leaf vrf-name {
                type xr:Cisco-ios-xr-string {
                  length "1..32";
                }
                description
                  "VRF name for the default VRF use 'default'";
              }
            }  // list vrf
          }  // container vrfs
        }  // container arp-gmp
    
        container arp {
          config false;
          description "ARP operational data";
          container nodes {
            description
              "Table of per-node ARP operational data";
            list node {
              key "node-name";
              description
                "Per-node ARP operational data";
              container resolution-history-dynamic {
                description
                  "Per node dynamically-resolved ARP resolution
                 history data";
                list arp-entry {
                  description
                    "Resolution history array";
                  leaf nsec-timestamp {
                    type uint64;
                    units "nanosecond";
                    description
                      "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                  }
    
                  leaf idb-interface-name {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description
                      "Address for resolution history";
                  }
    
                  leaf mac-address {
                    type yang:mac-address;
                    description "MAC address";
                  }
    
                  leaf status {
                    type Arp-resolution-history-status;
                    description
                      "Resolution status";
                  }
    
                  leaf client-id {
                    type int32;
                    description
                      "Resolving Client ID";
                  }
    
                  leaf entry-state {
                    type int32;
                    description
                      "State of ARP entry";
                  }
    
                  leaf resolution-request-count {
                    type uint32;
                    description
                      "Number of ARP resolution request";
                  }
                }  // list arp-entry
              }  // container resolution-history-dynamic
    
              container idb-interface-names {
                description
                  "ARP interface database";
                list idb-interface-name {
                  key "interface-name";
                  description
                    "IDB for an interface";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  container idb-event-history {
                    description
                      "Event history of Interface";
                    leaf evt-class-name {
                      type string;
                      description
                        "Class name string";
                    }
    
                    list evt-entry {
                      description
                        "Array of event entries";
                      leaf evt-timestamp {
                        type string;
                        description
                          "The timestamp of the event";
                      }
    
                      leaf evt-name {
                        type string;
                        description "Event name";
                      }
    
                      leaf evt-type {
                        type uint8;
                        description "Event type";
                      }
    
                      leaf evt-many {
                        type boolean;
                        description
                          "Multiple instance flag";
                      }
    
                      leaf evt-sticky {
                        type boolean;
                        description
                          "Sticky flag";
                      }
    
                      leaf-list evt-data {
                        type uint32;
                        description
                          "Optional data";
                      }
                    }  // list evt-entry
                  }  // container idb-event-history
    
                  container client-resync-time {
                    description
                      "Time of last client resync";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description
                        "Number of seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description
                        "Number of nanoseconds";
                    }
                  }  // container client-resync-time
    
                  leaf idb-interface-name {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf idb-ip-address {
                    type inet:ipv4-address;
                    description "Address";
                  }
    
                  leaf is-ipv4-unnumbered {
                    type boolean;
                    description
                      "Is the address unnumbered?";
                  }
    
                  leaf vrf-id {
                    type uint32;
                    description
                      "VRF that this interface is in";
                  }
    
                  leaf vrf-name {
                    type string {
                      length "0..32";
                    }
                    description
                      "VRF name that this interface is in";
                  }
    
                  leaf capsulation-state {
                    type Im-state;
                    description
                      "Capsulation state for IPV4";
                  }
    
                  leaf idb-timeout {
                    type uint32;
                    description
                      "Configured timeout value for ARP entries";
                  }
    
                  leaf is-dynamic-learning-enabled {
                    type boolean;
                    description
                      "Is dynamic entry learning configured on this
    interface?";
                  }
    
                  leaf is-dynamic-learning-local-enabled {
                    type boolean;
                    description
                      "Is dynamic entry learning local configured on
    this interface?";
                  }
    
                  leaf is-dynamic-learning-solicited-enabled {
                    type boolean;
                    description
                      "Is dynamic entry learning solicited configured
    on this interface?";
                  }
    
                  leaf is-purge-delay-configured {
                    type boolean;
                    description
                      "Presence of Purge delay configuration";
                  }
    
                  leaf purge-delay {
                    type uint32;
                    description
                      "The purge delay timeout if configured, otherwise
    set to zero";
                  }
    
                  leaf is-idb-forward-referenced {
                    type boolean;
                    description
                      "Is IDB forward referenced for a client";
                  }
    
                  leaf is-virtual {
                    type boolean;
                    description
                      "Is this a virtual interface?";
                  }
    
                  leaf is-complete {
                    type boolean;
                    description
                      "Is the IDB complete?";
                  }
    
                  leaf is-proxy-enabled {
                    type boolean;
                    description
                      "Is proxy arp enabled on this interface?";
                  }
    
                  leaf is-proxy-configured {
                    type boolean;
                    description
                      "Is proxy arp configured on this interface?";
                  }
    
                  leaf is-local-proxy-configured {
                    type boolean;
                    description
                      "Is local proxy arp configured on this interface?";
                  }
    
                  leaf mpls-capsulation-known {
                    type boolean;
                    description
                      "Is the IPv4 caps added on this interface?";
                  }
    
                  leaf ipv4-capsulation-known {
                    type boolean;
                    description
                      "Is the IPv4 caps added on this interface?";
                  }
    
                  leaf hardware-address-known {
                    type boolean;
                    description
                      "Is the HW address known for this interface?";
                  }
    
                  leaf media-known {
                    type boolean;
                    description
                      "Is the media known for this interface?";
                  }
    
                  leaf vlanid-known {
                    type boolean;
                    description
                      "Is the VLAN ID known for this interface?";
                  }
    
                  leaf spio-attach-error {
                    type uint32;
                    description
                      "The error returned when attaching to SPIO or
    SUCCESS";
                  }
    
                  leaf is-using-spio {
                    type boolean;
                    description
                      "Is SPIO being used as the Packet IO layer for
    this interface?";
                  }
    
                  leaf broadcast-disabled {
                    type boolean;
                    description
                      "Is the sending of broadcast packets disabled on
    this interface?";
                  }
    
                  leaf client-id {
                    type uint32;
                    description
                      "The client id that has brodacast disabled the
    interface";
                  }
    
                  leaf srg-role {
                    type uint8;
                    description
                      "Srg role for the idb";
                  }
    
                  leaf idb-flag {
                    type uint32;
                    description "ARP IDB flag";
                  }
    
                  leaf drop-adj-timeout {
                    type uint32;
                    description
                      "Configured timeout value for drop adjacency";
                  }
    
                  leaf idb-flag-ext {
                    type uint32;
                    description
                      "ARP IDB flag extension";
                  }
    
                  leaf oper-progress {
                    type Arp-im-oper-bag;
                    description
                      "Current IM operation in progress";
                  }
                }  // list idb-interface-name
              }  // container idb-interface-names
    
              container arp-status-info {
                description
                  "Per node ARP status information";
                container all-idb-client-resync-time {
                  description
                    "Time of last client resync for all IDBs";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description
                      "Number of seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description
                      "Number of nanoseconds";
                  }
                }  // container all-idb-client-resync-time
    
                leaf process-start-time {
                  type uint64;
                  units "nanosecond";
                  description
                    "Timestamp for the process start time in
    nanoseconds since Epoch, i.e. since 00:00:00 UTC
    , January 1, 1970";
                }
    
                leaf issu-sync-complete-time {
                  type uint64;
                  units "nanosecond";
                  description
                    "Timestamp for the ISSU sync complete in
    nanoseconds since Epoch, i.e. since 00:00:00 UTC
    , January 1, 1970";
                }
    
                leaf issu-ready-time {
                  type uint64;
                  units "nanosecond";
                  description
                    "Timestamp for the ISSU ready declaration in
    nanoseconds since Epoch, i.e. since 00:00:00 UTC
    , January 1, 1970";
                }
    
                leaf big-bang-time {
                  type uint64;
                  units "nanosecond";
                  description
                    "Timestamp for the Big Bang notification time in
    nanoseconds since Epoch, i.e. since 00:00:00 UTC
    , January 1, 1970";
                }
    
                leaf primary-role-time {
                  type uint64;
                  units "nanosecond";
                  description
                    "Timestamp for the change to Primary role
    notification time in nanoseconds since Epoch, i
    .e. since 00:00:00 UTC, January 1, 1970";
                }
    
                leaf role {
                  type Arp-issu-role;
                  description
                    "The current role of the ARP process";
                }
    
                leaf phase {
                  type Arp-issu-phase;
                  description
                    "The current ISSU phase of the ARP process";
                }
    
                leaf version {
                  type Arp-issu-version;
                  description
                    "The current version of the ARP process in the
    context of an ISSU";
                }
    
                leaf dynamic-entries-recovered-count {
                  type uint32;
                  description
                    "The number of entries that have been recovered
    during ISSU V1 and V2 synchronisation";
                }
    
                leaf non-operational-entries-count {
                  type uint32;
                  description
                    "The number of entries that are currently
    non-operational in the shadow database";
                }
    
                leaf interface-handle-translation-failure-count {
                  type uint32;
                  description
                    "The number of interface handle translation
    failures that occurred during the ISSU V1 and V2
    synchronisation";
                }
    
                leaf issu-ready-issu-mgr-connection {
                  type boolean;
                  description
                    "Whether or not ARP is currently connected to
    ISSU Manager during the ISSU Load Phase";
                }
    
                leaf issu-ready-im {
                  type boolean;
                  description
                    "Whether or not ARP is in sync with IM during the
    ISSU Load Phase";
                }
    
                leaf issu-ready-dagr-rib {
                  type boolean;
                  description
                    "Whether or not the ARP DAGR system is in sync
    with the RIB during the ISSU Load Phase";
                }
    
                leaf issu-ready-entries-replicate {
                  type boolean;
                  description
                    "Whether or not ARP has received all replicated
    entries during the ISSU Load Phase";
                }
              }  // container arp-status-info
    
              container adjacency-history-interface-names {
                description
                  "Per node adjacency history data for an
                 interface";
                list adjacency-history-interface-name {
                  key "interface-name";
                  description
                    "Per interface adjacency history data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  list arp-entry {
                    description
                      "ARP AIB history array";
                    leaf idb-interface-name {
                      type xr:Interface-name;
                      description "Interface";
                    }
    
                    leaf ipv4-address {
                      type inet:ipv4-address;
                      description
                        "Address for adjacency history";
                    }
    
                    leaf mac-address {
                      type yang:mac-address;
                      description "MAC address";
                    }
    
                    leaf client-id {
                      type int32;
                      description
                        "Resolving Client ID";
                    }
    
                    leaf entry-state {
                      type int32;
                      description
                        "State of ARP entry";
                    }
    
                    leaf protocol {
                      type int32;
                      description "Protocol ID";
                    }
    
                    leaf result {
                      type int32;
                      description
                        "ARP AIB Update result";
                    }
    
                    leaf type {
                      type int32;
                      description
                        "ARP AIB update type";
                    }
    
                    leaf nsec-timestamp {
                      type uint64;
                      units "nanosecond";
                      description
                        "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                    }
                  }  // list arp-entry
                }  // list adjacency-history-interface-name
              }  // container adjacency-history-interface-names
    
              container traffic-vrfs {
                description
                  "ARP Traffic information per VRF";
                list traffic-vrf {
                  key "vrf-name";
                  description
                    "Per VRF traffic data";
                  leaf vrf-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..32";
                    }
                    description "VRF";
                  }
    
                  leaf requests-received {
                    type uint32;
                    description
                      "Total ARP requests received";
                  }
    
                  leaf replies-received {
                    type uint32;
                    description
                      "Total ARP replies received";
                  }
    
                  leaf requests-sent {
                    type uint32;
                    description
                      "Total ARP requests sent";
                  }
    
                  leaf replies-sent {
                    type uint32;
                    description
                      "Total ARP replies sent";
                  }
    
                  leaf proxy-replies-sent {
                    type uint32;
                    description
                      "Total Proxy ARP replies sent";
                  }
    
                  leaf subscr-requests-received {
                    type uint32;
                    description
                      "Total ARP requests received over subscriber
    interface";
                  }
    
                  leaf subscr-replies-sent {
                    type uint32;
                    description
                      "Total ARP replies sent over subscriber interface";
                  }
    
                  leaf subscr-replies-gratg-sent {
                    type uint32;
                    description
                      "Total ARP grat replies sent over subscriber
    interface";
                  }
    
                  leaf local-proxy-replies-sent {
                    type uint32;
                    description
                      "Total Local Proxy ARP replies sent";
                  }
    
                  leaf gratuitous-replies-sent {
                    type uint32;
                    description
                      "Total Gratuituous ARP replies sent";
                  }
    
                  leaf resolution-requests-received {
                    type uint32;
                    description
                      "Total ARP request received for resolution";
                  }
    
                  leaf resolution-replies-received {
                    type uint32;
                    description
                      "Total ARP replies received for resolution";
                  }
    
                  leaf resolution-requests-dropped {
                    type uint32;
                    description
                      "total ARP request dropped for resolution";
                  }
    
                  leaf out-of-memory-errors {
                    type uint32;
                    description
                      "Total errors for out of memory";
                  }
    
                  leaf no-buffer-errors {
                    type uint32;
                    description
                      "Total errors for no buffer";
                  }
    
                  leaf total-entries {
                    type uint32;
                    description
                      "Total ARP entries in the cache";
                  }
    
                  leaf dynamic-entries {
                    type uint32;
                    description
                      "Total dynamic entries in the cache";
                  }
    
                  leaf static-entries {
                    type uint32;
                    description
                      "Total static entries in the cache";
                  }
    
                  leaf alias-entries {
                    type uint32;
                    description
                      "Total alias entries in the cache";
                  }
    
                  leaf interface-entries {
                    type uint32;
                    description
                      "Total interface entries in the cache";
                  }
    
                  leaf standby-entries {
                    type uint32;
                    description
                      "Total standby entries in the cache";
                  }
    
                  leaf dhcp-entries {
                    type uint32;
                    description
                      "Total DHCP entries in the cache";
                  }
    
                  leaf vxlan-entries {
                    type uint32;
                    description
                      "Total VXLAN entries in the cache";
                  }
    
                  leaf drop-adjacency-entries {
                    type uint32;
                    description
                      "Total drop adjacency entries in the cache";
                  }
    
                  leaf ipv4-packets-dropped-node {
                    type uint32;
                    description
                      "Total ip packets droped on this node";
                  }
    
                  leaf arp-packet-node-out-of-subnet {
                    type uint32;
                    description
                      "Total ARP packets on node due to out of subnet";
                  }
    
                  leaf ipv4-packets-dropped-interface {
                    type uint32;
                    description
                      "Total ip packets droped on this interface";
                  }
    
                  leaf arp-packet-interface-out-of-subnet {
                    type uint32;
                    description
                      "Total arp packets on interface due to out of
    subnet";
                  }
    
                  leaf arp-packet-unsolicited-packet {
                    type uint32;
                    description
                      "Total unsolicited arp packets dropped";
                  }
    
                  leaf idb-structures {
                    type uint32;
                    description
                      "Total idb structures on this node";
                  }
                }  // list traffic-vrf
              }  // container traffic-vrfs
    
              container client-ids {
                description
                  "Stats for client registration/unregistration
                 and entry count";
                list client-id {
                  key "client-id";
                  description "Per client stats";
                  leaf client-id {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description "Client ID";
                  }
    
                  leaf client-id-xr {
                    type uint32;
                    description "ARP client id";
                  }
    
                  leaf reg-time {
                    type uint64;
                    units "nanosecond";
                    description
                      "Registration timestamp in nano-seconds since
    Epoch, i.e. since 00:00:00 UTC, January 1, 1970";
                  }
    
                  leaf unreg-time {
                    type uint64;
                    units "nanosecond";
                    description
                      "Un-registration timestamp in nano-seconds since
    Epoch, i.e. since 00:00:00 UTC, January 1, 1970";
                  }
    
                  leaf entries-added {
                    type uint32;
                    description
                      "Number of entries added by client";
                  }
    
                  leaf entries-deleted {
                    type uint32;
                    description
                      "Number of entries deleted by client";
                  }
    
                  leaf send-request {
                    type uint32;
                    description
                      "Number of send request by client";
                  }
                }  // list client-id
              }  // container client-ids
    
              container traffic-node {
                description
                  "Per node ARP Traffic data";
                leaf requests-received {
                  type uint32;
                  description
                    "Total ARP requests received";
                }
    
                leaf replies-received {
                  type uint32;
                  description
                    "Total ARP replies received";
                }
    
                leaf requests-sent {
                  type uint32;
                  description
                    "Total ARP requests sent";
                }
    
                leaf replies-sent {
                  type uint32;
                  description
                    "Total ARP replies sent";
                }
    
                leaf proxy-replies-sent {
                  type uint32;
                  description
                    "Total Proxy ARP replies sent";
                }
    
                leaf subscr-requests-received {
                  type uint32;
                  description
                    "Total ARP requests received over subscriber
    interface";
                }
    
                leaf subscr-replies-sent {
                  type uint32;
                  description
                    "Total ARP replies sent over subscriber interface";
                }
    
                leaf subscr-replies-gratg-sent {
                  type uint32;
                  description
                    "Total ARP grat replies sent over subscriber
    interface";
                }
    
                leaf local-proxy-replies-sent {
                  type uint32;
                  description
                    "Total Local Proxy ARP replies sent";
                }
    
                leaf gratuitous-replies-sent {
                  type uint32;
                  description
                    "Total Gratuituous ARP replies sent";
                }
    
                leaf resolution-requests-received {
                  type uint32;
                  description
                    "Total ARP request received for resolution";
                }
    
                leaf resolution-replies-received {
                  type uint32;
                  description
                    "Total ARP replies received for resolution";
                }
    
                leaf resolution-requests-dropped {
                  type uint32;
                  description
                    "total ARP request dropped for resolution";
                }
    
                leaf out-of-memory-errors {
                  type uint32;
                  description
                    "Total errors for out of memory";
                }
    
                leaf no-buffer-errors {
                  type uint32;
                  description
                    "Total errors for no buffer";
                }
    
                leaf total-entries {
                  type uint32;
                  description
                    "Total ARP entries in the cache";
                }
    
                leaf dynamic-entries {
                  type uint32;
                  description
                    "Total dynamic entries in the cache";
                }
    
                leaf static-entries {
                  type uint32;
                  description
                    "Total static entries in the cache";
                }
    
                leaf alias-entries {
                  type uint32;
                  description
                    "Total alias entries in the cache";
                }
    
                leaf interface-entries {
                  type uint32;
                  description
                    "Total interface entries in the cache";
                }
    
                leaf standby-entries {
                  type uint32;
                  description
                    "Total standby entries in the cache";
                }
    
                leaf dhcp-entries {
                  type uint32;
                  description
                    "Total DHCP entries in the cache";
                }
    
                leaf vxlan-entries {
                  type uint32;
                  description
                    "Total VXLAN entries in the cache";
                }
    
                leaf drop-adjacency-entries {
                  type uint32;
                  description
                    "Total drop adjacency entries in the cache";
                }
    
                leaf ipv4-packets-dropped-node {
                  type uint32;
                  description
                    "Total ip packets droped on this node";
                }
    
                leaf arp-packet-node-out-of-subnet {
                  type uint32;
                  description
                    "Total ARP packets on node due to out of subnet";
                }
    
                leaf ipv4-packets-dropped-interface {
                  type uint32;
                  description
                    "Total ip packets droped on this interface";
                }
    
                leaf arp-packet-interface-out-of-subnet {
                  type uint32;
                  description
                    "Total arp packets on interface due to out of
    subnet";
                }
    
                leaf arp-packet-unsolicited-packet {
                  type uint32;
                  description
                    "Total unsolicited arp packets dropped";
                }
    
                leaf idb-structures {
                  type uint32;
                  description
                    "Total idb structures on this node";
                }
              }  // container traffic-node
    
              container direct-attached-gateway-redundancy-interface-and-addresses {
                description "ARP DAGR info";
                list direct-attached-gateway-redundancy-interface-and-address {
                  key "interface-name address";
                  description
                    "DAGR info for the given interface and address";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf address {
                    type inet:ipv4-address-no-zone;
                    description "IP Address";
                  }
    
                  leaf ifhandle {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf vip {
                    type inet:ipv4-address;
                    description
                      "Virtual IPv4 address";
                  }
    
                  leaf state {
                    type xr:Node-id;
                    description "State";
                  }
    
                  leaf query-period {
                    type uint32;
                    description
                      "Query Period for dagr group";
                  }
    
                  leaf dist {
                    type uint32;
                    description
                      "DAGR Route distance";
                  }
    
                  leaf metric {
                    type uint32;
                    description
                      "DAGR Route Metric";
                  }
                }  // list direct-attached-gateway-redundancy-interface-and-address
              }  // container direct-attached-gateway-redundancy-interface-and-addresses
    
              container resolution-history-client {
                description
                  "Per node client-installed ARP resolution
                 history data";
                list arp-entry {
                  description
                    "Resolution history array";
                  leaf nsec-timestamp {
                    type uint64;
                    units "nanosecond";
                    description
                      "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                  }
    
                  leaf idb-interface-name {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description
                      "Address for resolution history";
                  }
    
                  leaf mac-address {
                    type yang:mac-address;
                    description "MAC address";
                  }
    
                  leaf status {
                    type Arp-resolution-history-status;
                    description
                      "Resolution status";
                  }
    
                  leaf client-id {
                    type int32;
                    description
                      "Resolving Client ID";
                  }
    
                  leaf entry-state {
                    type int32;
                    description
                      "State of ARP entry";
                  }
    
                  leaf resolution-request-count {
                    type uint32;
                    description
                      "Number of ARP resolution request";
                  }
                }  // list arp-entry
              }  // container resolution-history-client
    
              container packet-history-interface-names {
                description
                  "Per node packet history data for an interface";
                list packet-history-interface-name {
                  key "interface-name";
                  description
                    "Per interface packet history data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  list arp-entry {
                    description
                      "ARP packet history array";
                    leaf idb-interface-name {
                      type xr:Interface-name;
                      description "Interface";
                    }
    
                    leaf sr-caddress {
                      type inet:ipv4-address;
                      description
                        "Source address";
                    }
    
                    leaf ds-taddress {
                      type inet:ipv4-address;
                      description
                        "Destination address";
                    }
    
                    leaf src-mac {
                      type yang:mac-address;
                      description
                        "Source MAC address";
                    }
    
                    leaf dst-mac {
                      type yang:mac-address;
                      description
                        "Destination MAC address";
                    }
    
                    leaf type {
                      type int32;
                      description
                        "ARP packet type";
                    }
    
                    leaf mode {
                      type int32;
                      description
                        "Incoming or Outgoing";
                    }
    
                    leaf nsec-timestamp {
                      type uint64;
                      units "nanosecond";
                      description
                        "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                    }
                  }  // list arp-entry
                }  // list packet-history-interface-name
              }  // container packet-history-interface-names
    
              container packet-history-all {
                description
                  "Per node packet history data";
                list arp-entry {
                  description
                    "ARP packet history array";
                  leaf idb-interface-name {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf sr-caddress {
                    type inet:ipv4-address;
                    description "Source address";
                  }
    
                  leaf ds-taddress {
                    type inet:ipv4-address;
                    description
                      "Destination address";
                  }
    
                  leaf src-mac {
                    type yang:mac-address;
                    description
                      "Source MAC address";
                  }
    
                  leaf dst-mac {
                    type yang:mac-address;
                    description
                      "Destination MAC address";
                  }
    
                  leaf type {
                    type int32;
                    description
                      "ARP packet type";
                  }
    
                  leaf mode {
                    type int32;
                    description
                      "Incoming or Outgoing";
                  }
    
                  leaf nsec-timestamp {
                    type uint64;
                    units "nanosecond";
                    description
                      "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                  }
                }  // list arp-entry
              }  // container packet-history-all
    
              container arp-red-sync-gids {
                description
                  "ARP sync redundancy entry data";
                list arp-red-sync-gid {
                  key "group-id";
                  description
                    "ARP sync redundancy entry data";
                  leaf group-id {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description "group ID";
                  }
    
                  leaf group-id-xr {
                    type uint16;
                    description "Group ID";
                  }
    
                  leaf src-int-name {
                    type string {
                      length "0..65";
                    }
                    description
                      "Source Interface Name";
                  }
    
                  leaf peer-add {
                    type inet:ipv4-address;
                    description
                      "Peer IP address";
                  }
    
                  leaf peer-status {
                    type Arp-peer-status-bag;
                    description "Status of Peer";
                  }
                }  // list arp-red-sync-gid
              }  // container arp-red-sync-gids
    
              container arp-stats {
                description
                  "Per node ARP statistics";
                leaf requests-received {
                  type uint32;
                  description
                    "Total ARP requests received";
                }
    
                leaf replies-received {
                  type uint32;
                  description
                    "Total ARP replies received";
                }
    
                leaf requests-sent {
                  type uint32;
                  description
                    "Total ARP requests sent";
                }
    
                leaf replies-sent {
                  type uint32;
                  description
                    "Total ARP replies sent";
                }
    
                leaf proxy-replies-sent {
                  type uint32;
                  description
                    "Total Proxy ARP replies sent";
                }
    
                leaf subscr-requests-received {
                  type uint32;
                  description
                    "Total ARP requests received over subscriber
    interface";
                }
    
                leaf subscr-replies-sent {
                  type uint32;
                  description
                    "Total ARP replies sent over subscriber interface";
                }
    
                leaf subscr-replies-gratg-sent {
                  type uint32;
                  description
                    "Total ARP grat replies sent over subscriber
    interface";
                }
    
                leaf local-proxy-replies-sent {
                  type uint32;
                  description
                    "Total Local Proxy ARP replies sent";
                }
    
                leaf gratuitous-replies-sent {
                  type uint32;
                  description
                    "Total Gratuituous ARP replies sent";
                }
    
                leaf resolution-requests-received {
                  type uint32;
                  description
                    "Total ARP request received for resolution";
                }
    
                leaf resolution-replies-received {
                  type uint32;
                  description
                    "Total ARP replies received for resolution";
                }
    
                leaf resolution-requests-dropped {
                  type uint32;
                  description
                    "total ARP request dropped for resolution";
                }
    
                leaf out-of-memory-errors {
                  type uint32;
                  description
                    "Total errors for out of memory";
                }
    
                leaf no-buffer-errors {
                  type uint32;
                  description
                    "Total errors for no buffer";
                }
    
                leaf total-entries {
                  type uint32;
                  description
                    "Total ARP entries in the cache";
                }
    
                leaf dynamic-entries {
                  type uint32;
                  description
                    "Total dynamic entries in the cache";
                }
    
                leaf static-entries {
                  type uint32;
                  description
                    "Total static entries in the cache";
                }
    
                leaf alias-entries {
                  type uint32;
                  description
                    "Total alias entries in the cache";
                }
    
                leaf interface-entries {
                  type uint32;
                  description
                    "Total interface entries in the cache";
                }
    
                leaf standby-entries {
                  type uint32;
                  description
                    "Total standby entries in the cache";
                }
    
                leaf dhcp-entries {
                  type uint32;
                  description
                    "Total DHCP entries in the cache";
                }
    
                leaf vxlan-entries {
                  type uint32;
                  description
                    "Total VXLAN entries in the cache";
                }
    
                leaf drop-adjacency-entries {
                  type uint32;
                  description
                    "Total drop adjacency entries in the cache";
                }
    
                leaf ipv4-packets-dropped-node {
                  type uint32;
                  description
                    "Total ip packets droped on this node";
                }
    
                leaf arp-packet-node-out-of-subnet {
                  type uint32;
                  description
                    "Total ARP packets on node due to out of subnet";
                }
    
                leaf ipv4-packets-dropped-interface {
                  type uint32;
                  description
                    "Total ip packets droped on this interface";
                }
    
                leaf arp-packet-interface-out-of-subnet {
                  type uint32;
                  description
                    "Total arp packets on interface due to out of
    subnet";
                }
    
                leaf arp-packet-unsolicited-packet {
                  type uint32;
                  description
                    "Total unsolicited arp packets dropped";
                }
    
                leaf idb-structures {
                  type uint32;
                  description
                    "Total idb structures on this node";
                }
              }  // container arp-stats
    
              container adjacency-history-all {
                description
                  "Per node adjacency history data";
                list arp-entry {
                  description
                    "ARP AIB history array";
                  leaf idb-interface-name {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description
                      "Address for adjacency history";
                  }
    
                  leaf mac-address {
                    type yang:mac-address;
                    description "MAC address";
                  }
    
                  leaf client-id {
                    type int32;
                    description
                      "Resolving Client ID";
                  }
    
                  leaf entry-state {
                    type int32;
                    description
                      "State of ARP entry";
                  }
    
                  leaf protocol {
                    type int32;
                    description "Protocol ID";
                  }
    
                  leaf result {
                    type int32;
                    description
                      "ARP AIB Update result";
                  }
    
                  leaf type {
                    type int32;
                    description
                      "ARP AIB update type";
                  }
    
                  leaf nsec-timestamp {
                    type uint64;
                    units "nanosecond";
                    description
                      "Timestamp for entry in nanoseconds since Epoch,
    i.e. since 00:00:00 UTC, January 1, 1970";
                  }
                }  // list arp-entry
              }  // container adjacency-history-all
    
              container thread-queue-statistics {
                description
                  "Per node ARP Thread Queue Statistics";
                leaf total-drop-count {
                  type uint64;
                  description "TotalDropCount";
                }
    
                leaf input-packet-drop-count {
                  type uint64;
                  description
                    "InputPacketDropCount";
                }
    
                leaf punt-packet-drop-count {
                  type uint64;
                  description
                    "PuntPacketDropCount";
                }
    
                leaf unknown-packet-drop-count {
                  type uint64;
                  description
                    "UnknownPacketDropCount";
                }
    
                list queue-msg {
                  max-elements 6;
                  description
                    "Queue msgs for ARP thread";
                  container old-element-info {
                    description "OldElementInfo";
                    leaf thread-q-size {
                      type uint32;
                      description "TheradQSize";
                    }
    
                    leaf peak-q-size {
                      type uint32;
                      description "PeakQSize";
                    }
    
                    leaf msgs-enqueued-count {
                      type uint32;
                      description
                        "MsgsEnqueuedCount";
                    }
    
                    leaf pulse-sent-count {
                      type uint32;
                      description
                        "PulseSentCount";
                    }
    
                    leaf self-pulse-count {
                      type uint32;
                      description
                        "SelfPulseCount";
                    }
    
                    leaf pulse-recvd-count {
                      type uint32;
                      description
                        "PulseRecvdCount";
                    }
    
                    leaf dq-count {
                      type uint32;
                      description "QCount";
                    }
    
                    leaf no-q-count {
                      type uint32;
                      description "NoQCount";
                    }
    
                    leaf qblocked-count {
                      type uint32;
                      description "QBlocked";
                    }
    
                    leaf qreleased-count {
                      type uint32;
                      description "QReleased";
                    }
                  }  // container old-element-info
    
                  container current-element-info {
                    description
                      "CurrentElementInfo";
                    leaf thread-q-size {
                      type uint32;
                      description "TheradQSize";
                    }
    
                    leaf peak-q-size {
                      type uint32;
                      description "PeakQSize";
                    }
    
                    leaf msgs-enqueued-count {
                      type uint32;
                      description
                        "MsgsEnqueuedCount";
                    }
    
                    leaf pulse-sent-count {
                      type uint32;
                      description
                        "PulseSentCount";
                    }
    
                    leaf self-pulse-count {
                      type uint32;
                      description
                        "SelfPulseCount";
                    }
    
                    leaf pulse-recvd-count {
                      type uint32;
                      description
                        "PulseRecvdCount";
                    }
    
                    leaf dq-count {
                      type uint32;
                      description "QCount";
                    }
    
                    leaf no-q-count {
                      type uint32;
                      description "NoQCount";
                    }
    
                    leaf qblocked-count {
                      type uint32;
                      description "QBlocked";
                    }
    
                    leaf qreleased-count {
                      type uint32;
                      description "QReleased";
                    }
                  }  // container current-element-info
    
                  leaf thread-name {
                    type string;
                    description
                      "NameOfTheThread";
                  }
                }  // list queue-msg
              }  // container thread-queue-statistics
    
              container idb-events-interface-names {
                description
                  "ARP interface database events";
                list idb-events-interface-name {
                  key "interface-name";
                  description
                    "IDB events for an interface";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf evt-class-name {
                    type string;
                    description
                      "Class name string";
                  }
    
                  list evt-entry {
                    description
                      "Array of event entries";
                    leaf evt-timestamp {
                      type string;
                      description
                        "The timestamp of the event";
                    }
    
                    leaf evt-name {
                      type string;
                      description "Event name";
                    }
    
                    leaf evt-type {
                      type uint8;
                      description "Event type";
                    }
    
                    leaf evt-many {
                      type boolean;
                      description
                        "Multiple instance flag";
                    }
    
                    leaf evt-sticky {
                      type boolean;
                      description "Sticky flag";
                    }
    
                    leaf-list evt-data {
                      type uint32;
                      description
                        "Optional data";
                    }
                  }  // list evt-entry
                }  // list idb-events-interface-name
              }  // container idb-events-interface-names
    
              container entries {
                description
                  "Table of ARP entries";
                list entry {
                  key "address interface-name";
                  description "ARP entry";
                  leaf address {
                    type inet:ipv4-address-no-zone;
                    description
                      "IP Address of ARP entry";
                  }
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf media-type {
                    type Ip-arp-bag-media;
                    description
                      "Media type for this entry";
                  }
    
                  leaf state {
                    type Ip-arp-bag-state;
                    description
                      "State of this entry";
                  }
    
                  leaf flag {
                    type Ip-arp-bag-flags;
                    description
                      "Flags of this entry";
                  }
    
                  leaf age {
                    type uint64;
                    description
                      "Age of this entry";
                  }
    
                  leaf encapsulation-type {
                    type Ip-arp-bag-encap;
                    description
                      "Type of source encapsulation";
                  }
    
                  leaf hardware-length {
                    type uint8;
                    description
                      "Source MAC length";
                  }
    
                  leaf hardware-address {
                    type yang:mac-address;
                    description "MAC address";
                  }
                }  // list entry
              }  // container entries
    
              container traffic-interfaces {
                description
                  "ARP Traffic information per interface";
                list traffic-interface {
                  key "interface-name";
                  description
                    "Per interface traffic data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf requests-received {
                    type uint32;
                    description
                      "Total ARP requests received";
                  }
    
                  leaf replies-received {
                    type uint32;
                    description
                      "Total ARP replies received";
                  }
    
                  leaf requests-sent {
                    type uint32;
                    description
                      "Total ARP requests sent";
                  }
    
                  leaf replies-sent {
                    type uint32;
                    description
                      "Total ARP replies sent";
                  }
    
                  leaf proxy-replies-sent {
                    type uint32;
                    description
                      "Total Proxy ARP replies sent";
                  }
    
                  leaf subscr-requests-received {
                    type uint32;
                    description
                      "Total ARP requests received over subscriber
    interface";
                  }
    
                  leaf subscr-replies-sent {
                    type uint32;
                    description
                      "Total ARP replies sent over subscriber interface";
                  }
    
                  leaf subscr-replies-gratg-sent {
                    type uint32;
                    description
                      "Total ARP grat replies sent over subscriber
    interface";
                  }
    
                  leaf local-proxy-replies-sent {
                    type uint32;
                    description
                      "Total Local Proxy ARP replies sent";
                  }
    
                  leaf gratuitous-replies-sent {
                    type uint32;
                    description
                      "Total Gratuituous ARP replies sent";
                  }
    
                  leaf resolution-requests-received {
                    type uint32;
                    description
                      "Total ARP request received for resolution";
                  }
    
                  leaf resolution-replies-received {
                    type uint32;
                    description
                      "Total ARP replies received for resolution";
                  }
    
                  leaf resolution-requests-dropped {
                    type uint32;
                    description
                      "total ARP request dropped for resolution";
                  }
    
                  leaf out-of-memory-errors {
                    type uint32;
                    description
                      "Total errors for out of memory";
                  }
    
                  leaf no-buffer-errors {
                    type uint32;
                    description
                      "Total errors for no buffer";
                  }
    
                  leaf total-entries {
                    type uint32;
                    description
                      "Total ARP entries in the cache";
                  }
    
                  leaf dynamic-entries {
                    type uint32;
                    description
                      "Total dynamic entries in the cache";
                  }
    
                  leaf static-entries {
                    type uint32;
                    description
                      "Total static entries in the cache";
                  }
    
                  leaf alias-entries {
                    type uint32;
                    description
                      "Total alias entries in the cache";
                  }
    
                  leaf interface-entries {
                    type uint32;
                    description
                      "Total interface entries in the cache";
                  }
    
                  leaf standby-entries {
                    type uint32;
                    description
                      "Total standby entries in the cache";
                  }
    
                  leaf dhcp-entries {
                    type uint32;
                    description
                      "Total DHCP entries in the cache";
                  }
    
                  leaf vxlan-entries {
                    type uint32;
                    description
                      "Total VXLAN entries in the cache";
                  }
    
                  leaf drop-adjacency-entries {
                    type uint32;
                    description
                      "Total drop adjacency entries in the cache";
                  }
    
                  leaf ipv4-packets-dropped-node {
                    type uint32;
                    description
                      "Total ip packets droped on this node";
                  }
    
                  leaf arp-packet-node-out-of-subnet {
                    type uint32;
                    description
                      "Total ARP packets on node due to out of subnet";
                  }
    
                  leaf ipv4-packets-dropped-interface {
                    type uint32;
                    description
                      "Total ip packets droped on this interface";
                  }
    
                  leaf arp-packet-interface-out-of-subnet {
                    type uint32;
                    description
                      "Total arp packets on interface due to out of
    subnet";
                  }
    
                  leaf arp-packet-unsolicited-packet {
                    type uint32;
                    description
                      "Total unsolicited arp packets dropped";
                  }
    
                  leaf idb-structures {
                    type uint32;
                    description
                      "Total idb structures on this node";
                  }
                }  // list traffic-interface
              }  // container traffic-interfaces
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container arp
      }  // module Cisco-IOS-XR-ipv4-arp-oper
    

© 2024 YumaWorks, Inc. All rights reserved.