Cisco-IOS-XE-lisp-oper

This module contains a collection of YANG definitions for LISP operational data. Copyright (c) 2017-2021 by Cisco Systems, Inc. ...

  • Version: 2021-07-01

    Cisco-IOS-XE-lisp-oper@2021-07-01


    
      module Cisco-IOS-XE-lisp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-lisp-oper";
    
        prefix lisp-ios-xe-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
    
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
    
         Tel: +1 1800 553-NETS
    
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions for
         LISP operational data.
         Copyright (c) 2017-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-07-01" {
          description
            "- Added a flag under LISP instances to indicate whether
           support for multiple IP per MAC detection is enabled
           - Expanded si-type to include new ETR states
           - Added support for etr-type
           - Added sgt and is-sgt-configured in:
              - map-cache list
              - ms-registrations list
              - local-dbase list";
          reference
            "3.1.0";
    
        }
    
        revision "2021-03-01" {
          description
            "- Added encap-iid and is-encap-iid-set flag to
           publish-subscribe mapping type
           - Added encap-iid and is-encap-iid-set flag to
           publication mappings received list
           - Added domain-id-type to specify special domain-id values,
             domain-id is displayed when domain-id-type is valid
           - Added best source, domain-id-type and domain-id to the local
             database mapping record
           - Added skip-registration, auto-discover-rloc, locator-set and
             register-on-group-msmr to local database mapping
           - Added subscription type to subscriber list
           - Added support for route-metric
           - Added support for domain-id, multihoming-id and state";
          reference
            "3.0.0";
    
        }
    
        revision "2020-11-01" {
          description
            "- Added is-active flag
           - Added expiry time valid flag
           - Added dependency for last update time
           - Added dependency for last signal suppression time
           - Added Service Insertion type and identifier
           - Added default-etr to local database-mapping";
          reference
            "2.6.0";
    
        }
    
        revision "2019-11-01" {
          description
            "- Added route tag information
           - Added creation-time and last-change-time for local EID-prefix
           - Added counters of active and inactive EIDs
           - Added Site-ID specific information
           - Domain-ID/Multihoming-ID at router node
           - ETR map server list per local EID
           - A new owner, publications, for Map Cache, Prefix List
             and local EIDs added";
          reference
            "2.5.0";
    
        }
    
        revision "2019-05-01" {
          description
            "- Added remote-locator-set data.
           - Added semantic version";
          reference
            "2.4.0";
    
        }
    
        revision "2018-12-07" {
          description
            "- Added lisp publish/subscribe data
           - Cleaned up spelling errors in descriptions
           - New IAF leaves for first packet loss
           - New Map cache leaves for first packet loss
           - Add last-stats-clear-time and ddt-requests-failed leaves under
             instances/af";
          reference
            "2.3.0";
    
        }
    
        revision "2018-08-01" {
          description
            "- New stats leafs for LISP assurance
           - New lists:
              - Extranets
              - Extranet member instances
              - Extranet per-address-family EIDs
           - Added map-cache best information source
           - Added lisp prefix-list";
          reference
            "2.2.0";
    
        }
    
        revision "2018-02-01" {
          description
            "New leaf in the Local Database Grouping.
           Added lisp prefix-list";
          reference
            "2.1.0";
    
        }
    
        revision "2017-10-25" {
          description
            "New leaves in lists:
            - LISP instance
            - Instance-AF
            - ITR's map-cache
            - ITR's map-cache RLOCs (and the list is renamed)
           New lists:
            - Reliable Registration sessions
            - Map-Server registration database
            - ETR's local mappings
            - Local RLOCs
            - ETR's list of map-servers
            - ITR's list of map-resolvers
            - ITR's list of Proxy ETRs
            - Map-Server EID membership
            - ETR EID membership";
          reference
            "2.0.0";
    
        }
    
        revision "2017-07-04" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "3.1.0";
        cisco-semver:module-version "3.0.0";
        cisco-semver:module-version "2.6.0";
        cisco-semver:module-version "2.5.0";
        cisco-semver:module-version "2.4.0";
        cisco-semver:module-version "2.3.0";
        cisco-semver:module-version "2.2.0";
        cisco-semver:module-version "2.1.0";
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.0.0";
    
        typedef lisp-address-family-type {
          type enumeration {
            enum "ipv4-afi" {
              value 0;
              description
                "IANA IPv4 address family";
            }
            enum "ipv6-afi" {
              value 1;
              description
                "IANA IPv6 address family";
            }
            enum "mac-afi" {
              value 2;
              description
                "IANA MAC address family";
            }
          }
          description
            "Address-family of a LISP address or prefix";
        }
    
        typedef lisp-iaftype-type {
          type enumeration {
            enum "iaf-ipv4" {
              value 0;
              description
                "IPv4 instance service";
            }
            enum "iaf-ipv6" {
              value 1;
              description
                "IPv6 instance service";
            }
            enum "iaf-mac" {
              value 2;
              description
                "MAC (L2) instance service";
            }
            enum "iaf-ar" {
              value 3;
              description
                "Address Resolution (L3 address-to-MAC) instance
               service";
            }
            enum "iaf-rar" {
              value 4;
              description
                "Reverse Address Resolution (MAC-to-L3 address)
               instance service";
            }
          }
          description
            "Type of service for an Address-Family within a single
           LISP instance";
        }
    
        typedef lisp-map-reply-action-type {
          type enumeration {
            enum "no-action" {
              value 0;
              description
                "Mapping is kept alive and no encapsulation occurs";
            }
            enum "natively-forward" {
              value 1;
              description
                "Matching packets are forwarded without
               LISP encapsulation";
            }
            enum "send-map-request" {
              value 2;
              description
                "Matching packets trigger sending Map-Requests";
            }
            enum "drop" {
              value 3;
              description
                "Matching packets are dropped";
            }
            enum "unknown-eid-forward" {
              value 4;
              description
                "Unknown EIDs are replied by MR with address of PETR";
            }
          }
          description
            "Defines the LISP map-cache ACT type as described
           in the section 6.1.4 of RFC 6830. Valid only
           for negative map-cache entries";
        }
    
        typedef lisp-rloc-state-type {
          type enumeration {
            enum "lisp-rloc-state-down" {
              value 0;
              description
                "Locator is down or unreachable";
            }
            enum "lisp-rloc-state-up" {
              value 1;
              description
                "Locator is up and reachable";
            }
          }
          description
            "Reachability state of a RLOC";
        }
    
        typedef lisp-domain-id-type {
          type enumeration {
            enum "domain-id-valid" {
              value 0;
              description "Domain-id is valid";
            }
            enum "domain-id-default" {
              value 1;
              description "Domain-id is default";
            }
            enum "domain-id-extranet" {
              value 2;
              description
                "Domain-id is extranet";
            }
            enum "domain-id-invalid" {
              value 3;
              description "Domain-id is invalid";
            }
            enum "domain-id-reserved-start" {
              value 4;
              description
                "Domain-id is reserved start";
            }
          }
          description "Domain-id type";
        }
    
        typedef lisp-pubsub-subs-type {
          type enumeration {
            enum "lisp-subs-type-iid" {
              value 0;
              description
                "Subscription type is IID";
            }
            enum "lisp-subs-type-policy" {
              value 1;
              description
                "Subscription type is Policy";
            }
            enum "lisp-subs-type-none" {
              value 2;
              description
                "Subscription type not present";
            }
          }
          description
            "Type of subscription between publisher subscriber";
        }
    
        typedef lisp-remote-eid-state-type {
          type enumeration {
            enum "remote-eid-state-unknown" {
              value 0;
              description
                "Remote EID state is unknown";
            }
            enum "remote-eid-state-incomplete" {
              value 1;
              description
                "Remote EID state is incomplete";
            }
            enum "remote-eid-state-complete" {
              value 2;
              description
                "Remote EID state is complete";
            }
            enum "remote-eid-state-drop" {
              value 3;
              description
                "Remote EID state is drop";
            }
            enum "remote-eid-state-native-fwd" {
              value 4;
              description
                "Remote EID state is native forward";
            }
            enum "remote-eid-state-map-request" {
              value 5;
              description
                "Remote EID state is map request";
            }
            enum "remote-eid-state-deleted" {
              value 6;
              description
                "Remote EID state is deleted";
            }
            enum "remote-eid-state-reused" {
              value 7;
              description
                "Remote EID state is reused";
            }
            enum
              "remote-eid-state-unknown-eid-fwd" {
              value 8;
              description
                "Remote EID state is unknown EID forward";
            }
          }
          description "Remote EID state type";
        }
    
        typedef lisp-etr-type {
          type enumeration {
            enum "etr-none" {
              value 0;
              description
                "This ETR is not a border";
            }
            enum "etr-service" {
              value 1;
              description
                "ETR configured as service border";
            }
            enum "etr-default" {
              value 2;
              description
                "ETR configured as default border";
            }
          }
          description "Service ETR type";
        }
    
        typedef lisp-si-type {
          type enumeration {
            enum "si-none" {
              value 0;
              description
                "Service Insertion not present";
            }
            enum "si-s2s" {
              value 1;
              description
                "Service Insertion subscriber to subscriber";
            }
            enum "si-firewall" {
              value 2;
              description
                "Service Insertion default firewall";
            }
            enum "si-srv-etr-firewall" {
              value 3;
              description
                "Service Insertion firewall";
            }
            enum "si-first-packet-petr" {
              value 4;
              description
                "Service Insertion first-packet-petr";
            }
            enum "si-def-etr-inet-up" {
              value 5;
              description
                "Default-etr service with direct internet in use, no back up available";
            }
            enum "si-def-etr-inet-up-bk-ready" {
              value 6;
              description
                "Default-etr service with direct internet in use, backup-available";
            }
            enum "si-def-etr-bk-inet-up" {
              value 7;
              description
                "Default-etr service with backup in use, direct internet not available";
            }
            enum "si-def-etr-bk-up-inet-ready" {
              value 8;
              description
                "Default-etr service with backup in use, direct internet available";
            }
          }
          description "Service Insertion Type";
        }
    
        typedef lisp-session-state-type {
          type enumeration {
            enum "lisp-session-state-incomplete" {
              value 0;
              description
                "Session parameters are incomplete";
            }
            enum "lisp-session-state-listening" {
              value 1;
              description
                "Session represents the passively listening socket";
            }
            enum "lisp-session-state-down" {
              value 2;
              description "Session is down";
            }
            enum "lisp-session-state-up" {
              value 3;
              description "Session is up";
            }
          }
          description "State of a TCP session";
        }
    
        typedef lisp-local-dbase-map-best-source-type {
          type enumeration {
            enum "lisp-local-dbmap-src-invalid" {
              value 0;
              description
                "Database mapping best source invalid";
            }
            enum "lisp-local-dbmap-src-static" {
              value 1;
              description
                "Database mapping best source is static";
            }
            enum "lisp-local-dbmap-src-dynamic" {
              value 2;
              description
                "Database mapping best source is dynamic";
            }
            enum "lisp-local-dbmap-src-test" {
              value 3;
              description
                "Database mapping best source is test";
            }
            enum
              "lisp-local-dbmap-src-import-site-reg" {
              value 4;
              description
                "Database mapping best source is import site reg";
            }
            enum
              "lisp-local-dbmap-src-import-pub" {
              value 5;
              description
                "Database mapping best source is import publication";
            }
            enum "lisp-local-dbmap-src-rib" {
              value 6;
              description
                "Database mapping best source is RIB ";
            }
          }
          description
            "Database mapping best source Type";
        }
    
        typedef lisp-map-cache-information-best-source-type {
          type enumeration {
            enum
              "lisp-map-cache-info-best-source-invalid" {
              value 0;
              description
                "Map-cache best source invalid";
            }
            enum
              "lisp-map-cache-info-best-source-static" {
              value 1;
              description
                "Map-cache best source is static";
            }
            enum
              "lisp-map-cache-info-best-source-use-nat-rtr" {
              value 2;
              description
                "Map-cache installed for encapsulation via NAT-RTR";
            }
            enum
              "lisp-map-cache-info-best-source-nat-rtr" {
              value 3;
              description
                "Map-cache installed by RTR";
            }
            enum
              "lisp-map-cache-info-best-source-transient" {
              value 4;
              description
                "Map-cache installed from a set";
            }
            enum
              "lisp-map-cache-info-best-source-static-configured" {
              value 5;
              description
                "Map-cache statically configured";
            }
            enum
              "lisp-map-cache-info-best-source-via-site-reg" {
              value 6;
              description
                "Map-cache installed via site registration";
            }
            enum
              "lisp-map-cache-info-best-source-rtimp" {
              value 7;
              description
                "Map-cache installed via route import";
            }
            enum
              "lisp-map-cache-info-best-source-dyn-eid-group" {
              value 8;
              description
                "Map-cache source via dynamic eid group";
            }
            enum
              "lisp-map-cache-info-best-source-away" {
              value 9;
              description
                "Map-cache is known to be away";
            }
            enum
              "lisp-map-cache-info-best-source-extranet-policy" {
              value 10;
              description
                "Map-cache best source due to extranet policy";
            }
            enum
              "lisp-map-cache-info-best-source-pub-sub" {
              value 11;
              description
                "Map-cache installed via publication";
            }
          }
          description
            "Source of the best map cache information";
        }
    
        typedef lisp-map-cache-information-best-source-trans-type {
          type enumeration {
            enum
              "lisp-map-cache-info-best-source-trans-invalid" {
              value 0;
              description
                "Map-cache best source transient invalid";
            }
            enum
              "lisp-map-cache-info-best-source-trans-map-request" {
              value 1;
              description
                "Map-cache best source is transient via map request";
            }
            enum
              "lisp-map-cache-info-best-source-trans-map-reply" {
              value 2;
              description
                "Map-cache best source is transient via map reply";
            }
            enum
              "lisp-map-cache-info-best-source-trans-nsf-replay" {
              value 3;
              description
                "Map-cache best source transient through NSF replay";
            }
            enum
              "lisp-map-cache-info-best-source-trans-persistent-replay" {
              value 4;
              description
                "Map-cache best source transient via persistent replay";
            }
            enum
              "lisp-map-cache-info-best-source-trans-data-signal" {
              value 5;
              description
                "Map-cache best source is transient due to data signal";
            }
            enum
              "lisp-map-cache-info-best-source-trans-lig" {
              value 6;
              description
                "Map-cache best source is transient via LIG";
            }
            enum
              "lisp-map-cache-info-best-source-trans-eid-probe" {
              value 7;
              description
                "Map-cache best source is transient via EID probe";
            }
            enum
              "lisp-map-cache-info-best-source-trans-eid-watch" {
              value 8;
              description
                "Map-cache best source is transient via EID watch";
            }
            enum
              "lisp-map-cache-info-best-source-trans-away" {
              value 9;
              description
                "Map-cache best source is transient via away entry";
            }
            enum
              "lisp-map-cache-info-best-source-trans-wlc-mnotify" {
              value 10;
              description
                "Map-cache best source transient via WLC map notify";
            }
          }
          description
            "Source of the best map_cache transient information";
        }
    
        typedef lisp-capabilities-type {
          type bits {
            bit publish-subscribe-instance-id {
              position 0;
              description
                "Capability to support mapping publication and subscription by
               instance-id";
            }
            bit domain-info {
              position 1;
              description
                "Capability to support exchange of multi-site domain information";
            }
            bit route-tag {
              position 2;
              description
                "Capability to support exchange of route tags";
            }
          }
          description
            "Capabilities enabled for a LISP router";
        }
    
        container lisp-state {
          config false;
          description
            "Operational state of the LISP subsystem";
          list lisp-routers {
            key "top-id";
            description "List of LISP routers";
            leaf top-id {
              type uint32;
              description
                "ID number of the LISP router";
            }
    
            leaf site-id {
              type uint64;
              description
                "Site-ID common to all devices attached to the same site";
            }
    
            leaf-list xtr-id {
              type uint8;
              max-elements 16;
              ordered-by user;
              description "xTR-ID of the device";
            }
    
            list instances {
              key "iid";
              description
                "List of LISP instances";
              leaf iid {
                type uint32 {
                  range "0 .. 16777215";
                }
                description "LISP Instance ID";
              }
    
              list af {
                key "iaftype";
                description
                  "List of Address-Families enabled in this LISP instance";
                leaf iaftype {
                  type lisp-iaftype-type;
                  description
                    "Instance-specific service type";
                }
    
                container role {
                  description
                    "LISP device role for this service";
                  leaf is-ms {
                    type boolean;
                    description
                      "LISP Map-Server";
                  }
    
                  leaf is-mr {
                    type boolean;
                    description
                      "LISP Map-Resolver";
                  }
    
                  leaf is-itr {
                    type boolean;
                    description "LISP ITR";
                  }
    
                  leaf is-etr {
                    type boolean;
                    description "LISP ETR";
                  }
    
                  leaf is-pitr {
                    type boolean;
                    description "LISP Proxy-ITR";
                  }
    
                  leaf is-petr {
                    type boolean;
                    description "LISP Proxy-ETR";
                  }
                }  // container role
    
                list map-cache {
                  key "afi prefix";
                  description
                    "Map-cache for this service instance";
                  leaf up-time {
                    type yang:date-and-time;
                    description
                      "Time that this entry was created";
                  }
    
                  leaf last-modified-time {
                    type yang:date-and-time;
                    description
                      "Last time that the RLOC information or the entry state
    were modified";
                  }
    
                  leaf last-update-time {
                    when
                      "boolean(../is-static = 'false')";
                    type yang:date-and-time;
                    description
                      "Last time a mapping record for this entry was received,
    not valid if the entry is static";
                  }
    
                  leaf ttl {
                    type uint32;
                    units "milliseconds";
                    description
                      "Mapping validity period";
                  }
    
                  leaf is-authoritative {
                    type boolean;
                    description
                      "Indication if the mapping came from an authoritative source";
                  }
    
                  leaf is-static {
                    type boolean;
                    description
                      "Indication if the mapping is static (i.e. configured)";
                  }
    
                  leaf is-negative {
                    type boolean;
                    description
                      "Indication if the mapping is negative (i.e. provides no
    locators for LISP encapsulation)";
                  }
    
                  leaf nmr-action {
                    type lisp-map-reply-action-type;
                    description
                      "Forwarding action in case of negative entry";
                  }
    
                  leaf expiry-time {
                    when
                      "boolean(../expiry-time-valid)";
                    type yang:date-and-time;
                    description
                      "Time when this entry will expire if not refreshed;
    for entries which do not have an expiration time this
    time is not applicable";
                  }
    
                  leaf encapsulated-packets {
                    type uint64;
                    description
                      "Number of packets of the transit traffic which were
    encapsulated because they matched this map-cache entry";
                  }
    
                  leaf encapsulated-octets {
                    type uint64;
                    description
                      "Number of bytes of the transit traffic which were
    encapsulated because they matched this map-cache entry";
                  }
    
                  leaf is-active {
                    type boolean;
                    description
                      "Indication if the mapping is active, that is there was
    transit traffic matching this map-cache entry seen in
    approximately the last minute";
                  }
    
                  list map-cache-rloc {
                    key "afi address";
                    description
                      "List of locators for positive mapping";
                    leaf state {
                      type lisp-rloc-state-type;
                      description
                        "Up/down state of the locator";
                    }
    
                    leaf creation-time {
                      type yang:date-and-time;
                      description
                        "Time when this RLOC entry was created";
                    }
    
                    leaf last-state-change-time {
                      type yang:date-and-time;
                      description
                        "Time when up/down state of the RLOC for this map-cache
    entry last changed";
                    }
    
                    leaf rloc-probe-rtt {
                      type uint32;
                      units "milliseconds";
                      description
                        "Round-trip time of RLOC probe and corresponding reply";
                    }
    
                    container params {
                      description
                        "Properties of the locator";
                      leaf priority {
                        type uint8;
                        description
                          "Locator priority";
                      }
    
                      leaf weight {
                        type uint8;
                        description
                          "Locator weight";
                      }
    
                      leaf mcast-priority {
                        type uint8;
                        description
                          "Locator's multicast priority";
                      }
    
                      leaf mcast-weight {
                        type uint8;
                        description
                          "Locator's multicast weight";
                      }
                    }  // container params
    
                    leaf encap-iid {
                      when
                        "boolean(../is-encap-iid-present = 'true')";
                      type uint32 {
                        range "0 .. 16777215";
                      }
                      description
                        "Instance-ID to use when sending map requests";
                    }
    
                    leaf is-encap-iid-present {
                      type boolean;
                      description
                        "Whether encapsulation Instance-ID should be used when sending map requests";
                    }
    
                    leaf route-metric {
                      type uint32;
                      description
                        "RIB route metric";
                    }
    
                    leaf afi {
                      type lisp-address-family-type;
                      description
                        "LISP Address-Family of the address";
                    }
    
                    leaf address {
                      type string;
                      description
                        "LISP address. Format is defined by the AF";
                    }
                  }  // list map-cache-rloc
    
                  leaf info-best-source {
                    type lisp-map-cache-information-best-source-type;
                    description
                      "Source of best map cache information";
                  }
    
                  leaf info-best-trans-source {
                    type lisp-map-cache-information-best-source-trans-type;
                    description
                      "Source of best map cache transient information";
                  }
    
                  leaf is-encapsulating-to-petr {
                    type boolean;
                    description
                      "Encapsulating packets to Proxy ETR";
                  }
    
                  leaf expiry-time-valid {
                    type empty;
                    description
                      "Indication if expiry time is valid";
                  }
    
                  leaf is-sgt-set {
                    type boolean;
                    description
                      "Indicates whether SGT is set/valid";
                  }
    
                  leaf sgt {
                    when
                      "boolean(../is-sgt-set = 'true')";
                    type uint32;
                    description "SGT value";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the prefix";
                  }
    
                  leaf prefix {
                    type string;
                    description
                      "LISP prefix. Format is defined by the AF";
                  }
                }  // list map-cache
    
                leaf l2-domain-id {
                  type uint32;
                  description
                    "ID of Vlan or Bridge-Domain that is mapped to the given
    L2 LISP Instance ID";
                }
    
                leaf map-cache-size {
                  type uint32;
                  description
                    "Current size of EID-to-RLOC map-cache on this device";
                }
    
                leaf map-cache-limit {
                  type uint32;
                  description
                    "Maximum permissible number of entries in EID-to-RLOC
    map-cache on this device";
                }
    
                leaf etr-map-cache-ttl {
                  type uint32;
                  units "minutes";
                  description
                    "TTL of the EID-to-RLOC map record provided by the local
    device in mapping records";
                }
    
                leaf registration-more-specific {
                  type uint32;
                  description
                    "Number of EID prefix registrations that were accepted as
    a result of the 'accept-more-specific' configuration";
                }
    
                leaf registration-more-specific-warning-threshold {
                  type uint32;
                  description
                    "The warning threshold for the 'accept-more-specific'
    registration count on the Map-Server";
                }
    
                leaf registration-more-specific-limit {
                  type uint32;
                  description
                    "Maximum number of registrations on the Map-Server which
    could be accepted due to configuration of
    'accept-more-specific'";
                }
    
                leaf map-cache-threshold {
                  type uint32;
                  description
                    "The map-cache utilization warning threshold on the xTR";
                }
    
                leaf map-requests-in {
                  type uint64;
                  description
                    "Total number of map requests received by this device for
    any EID-Prefix of the given address family and Instance ID";
                }
    
                leaf map-requests-out {
                  type uint64;
                  description
                    "Total number of map requests sent by this device for any
    EID-Prefix of the given address family and Instance ID";
                }
    
                leaf encapsulated-map-requests-in {
                  type uint64;
                  description
                    "Total number of encapsulated Map-Requests received by this
    device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf encapsulated-map-requests-out {
                  type uint64;
                  description
                    "Total number of encapsulated Map-Requests sent by this
    device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf rloc-probe-map-requests-in {
                  type uint64;
                  description
                    "Total number of RLOC probe Map-Requests received by
    this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf rloc-probe-map-requests-out {
                  type uint64;
                  description
                    "Total number of RLOC probe Map-Requests sent by this
    device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf map-requests-expired-on-queue {
                  type uint64;
                  description
                    "Total number of Map-Requests for any EID-Prefix of the
    given address family and Instance ID which were not sent
    out by this device because they timed out while on the
    transmit queue";
                }
    
                leaf map-requests-no-reply {
                  type uint64;
                  description
                    "Total number of Map-Requests attempted by this device
    for any EID-Prefix of the given address family and
    Instance ID without receiving a Map-Reply";
                }
    
                leaf map-requests-from-disallowed-locators {
                  type uint64;
                  description
                    "Total number of Map-Request messages for any EID-Prefix
    of the given address family and Instance ID dropped by
    this device due to configuration
    'map-resolver allowed-locator'";
                }
    
                leaf smr-map-requests-in {
                  type uint64;
                  description
                    "Total number of SMR Map-Requests received by this device
    for any EID-Prefix of the given address family and
    Instance ID";
                }
    
                leaf smr-map-requests-out {
                  type uint64;
                  description
                    "Total number of SMR Map-Requests sent by this device for
    any EID-Prefix of the given address family and Instance ID";
                }
    
                leaf ddt-itr-map-requests-dropped {
                  type uint64;
                  description
                    "Total number of ITR's Map-Request messages for any
    EID-Prefix of the given address family and Instance ID
    dropped by the DDT Map-Resolver";
                }
    
                leaf ddt-itr-map-requests-nonce-collision {
                  type uint64;
                  description
                    "Total number of ITR's Map-Request messages for any
    EID-Prefix of the given address family and Instance ID
    dropped by the DDT Map-Resolver due to nonce conflict";
                }
    
                leaf ddt-itr-map-requests-bad-xtr-nonce {
                  type uint64;
                  description
                    "Total number of ITR's Map-Request messages for any
    EID-Prefix of the given address family and Instance ID
    dropped by the DDT Map-Resolver due bad nonce";
                }
    
                leaf mr-map-requests-forwarded {
                  type uint64;
                  description
                    "Total number of Map-Requests for any EID-Prefix of the
    given address family and Instance ID forwarded by this
    device to Map-Resolver on ALT";
                }
    
                leaf ms-map-requests-forwarded {
                  type uint64;
                  description
                    "Total number of Map-Requests for any EID-Prefix of the
    given address family and Instance ID forwarded by this
    device to ETR";
                }
    
                leaf to-alt-map-requests-out {
                  type uint64;
                  description
                    "Total number of Map-Requests for any EID-Prefix of the
    given address family and Instance ID forwarded by this
    device to ALT";
                }
    
                leaf map-reply-records-in {
                  type uint64;
                  description
                    "Total number of Map-Reply records received by this device
    for any EID-Prefix of the given address family and
    Instance ID";
                }
    
                leaf map-reply-records-out {
                  type uint64;
                  description
                    "Total number of Map-Reply records sent by this device for
    any EID-Prefix of the given address family and Instance ID";
                }
    
                leaf authoritative-records-in {
                  type uint64;
                  description
                    "Total number of authoritative Map-Reply records received
    by this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf authoritative-records-out {
                  type uint64;
                  description
                    "Total number of authoritative Map-Reply records sent by
    this device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf non-authoritative-records-in {
                  type uint64;
                  description
                    "Total number of non authoritative Map-Reply records
    received by this device for any EID-Prefix of the given
    address family and Instance ID";
                }
    
                leaf non-authoritative-records-out {
                  type uint64;
                  description
                    "Total number of non authoritative Map-Reply records sent
    by this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf negative-records-in {
                  type uint64;
                  description
                    "Total number of negative Map-Reply records received by
    this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf negative-records-out {
                  type uint64;
                  description
                    "Total number of negative Map-Reply records sent by this
    device for any EID-Prefix of the given address family and
    Instance ID";
                }
    
                leaf rloc-probe-records-in {
                  type uint64;
                  description
                    "Total number of RLOC probe Map-Replies for any EID-Prefix
    of the given address family and Instance ID received by
    this device";
                }
    
                leaf rloc-probe-records-out {
                  type uint64;
                  description
                    "Total number of RLOC probe Map-Replies for any EID-Prefix
    of the given address family and Instance ID sent by this
    device";
                }
    
                leaf ms-proxy-reply-records-out {
                  type uint64;
                  description
                    "Total number of MS proxy Map-Replies for any EID-Prefix
    of the given address family and Instance ID sent by this
    device";
                }
    
                leaf wlc-subscribe-in {
                  type uint64;
                  description
                    "Total number of WLC Subscribe messages received by this
    device for the given address family and Instance ID";
                }
    
                leaf wlc-subscribe-out {
                  type uint64;
                  description
                    "Total number of WLC Subscribe messages sent by this
    device for the given address family and Instance ID";
                }
    
                leaf wlc-subscribe-in-failure {
                  type uint64;
                  description
                    "Total number of received WLC Subscribe messages for the
    given address family and Instance ID with incorrect
    formatting";
                }
    
                leaf wlc-subscribe-out-failure {
                  type uint64;
                  description
                    "Total number of WLC Subscribe messages for the given
    address family and Instance ID which were not sent due to
    internal errors";
                }
    
                leaf wlc-unsubscribe-in {
                  type uint64;
                  description
                    "Total number of WLC Unsubscribe messages received by this
    device for the given address family and Instance ID";
                }
    
                leaf wlc-unsubscribe-out {
                  type uint64;
                  description
                    "Total number of WLC Unsubscribe messages sent by this
    device for the given address family and Instance ID";
                }
    
                leaf wlc-unsubscribe-in-failure {
                  type uint64;
                  description
                    "Total number of received WLC Unsubscribe messages for the
    given address family and Instance ID with incorrect
    formatting";
                }
    
                leaf wlc-unsubscribe-out-failure {
                  type uint64;
                  description
                    "Total number of WLC Unsubscribe messages for the given
    address family and Instance ID which were not sent due to
    internal errors";
                }
    
                leaf map-register-records-in {
                  type uint64;
                  description
                    "Total number of Map-Register records for any EID-Prefix
    of the given address family and Instance ID received by
    this device";
                }
    
                leaf map-register-records-out {
                  type uint64;
                  description
                    "Total number of Map-Registers records sent by this device
    for any EID-Prefix of the given address family and
    Instance ID";
                }
    
                leaf map-registers-ms-disabled {
                  type uint64;
                  description
                    "Total number of Map-Register messages dropped due to
    Map-Server functionality not enabled for the given
    address family and Instance ID";
                }
    
                leaf map-registers-auth-failed {
                  type uint64;
                  description
                    "Total number of Map-Register messages for any EID-Prefix
    of the given address family and Instance ID dropped due
    to authentication failure";
                }
    
                leaf map-registers-from-disallowed-locators {
                  type uint64;
                  description
                    "Total number of Map-Register messages received from
    disallowed locators";
                }
    
                leaf wlc-map-register-records-in {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages received by
    this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf wlc-map-register-records-out {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages sent by this
    device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf wlc-map-register-records-in-ap {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages received by
    this device for AP join in the given address family
    and Instance ID";
                }
    
                leaf wlc-map-register-records-out-ap {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages sent by
    this device for AP join in the given address family
    and Instance ID";
                }
    
                leaf wlc-map-register-records-in-client {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages received by
    this device for wireless client join in the given
    address family and Instance ID";
                }
    
                leaf wlc-map-register-records-out-client {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages sent by
    this device for wireless client join in the given
    address family and Instance ID";
                }
    
                leaf wlc-map-register-records-in-failure {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages received in the
    given address family and Instance ID and discarded due to
    parsing error";
                }
    
                leaf wlc-map-register-records-out-failure {
                  type uint64;
                  description
                    "Total number of WLC Map-Register messages for any
    EID-Prefix of the given address family and Instance ID
    which were not sent because of internal error";
                }
    
                leaf map-notify-records-in {
                  type uint64;
                  description
                    "Total number of Map-Notify records for any EID-Prefix of
    the given address family and Instance ID received by
    this device";
                }
    
                leaf map-notify-records-out {
                  type uint64;
                  description
                    "Total number of Map-Notify records for any EID-Prefix of
    the given address family and Instance ID sent by this
    device";
                }
    
                leaf map-notify-auth-failed {
                  type uint64;
                  description
                    "Total number of Map-Notify messages for any EID-Prefix of
    the given address family and Instance ID dropped due to
    authentication failure";
                }
    
                leaf wlc-map-notify-records-in {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID received by
    this device";
                }
    
                leaf wlc-map-notify-records-out {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID sent by
    this device";
                }
    
                leaf wlc-map-notify-records-in-ap {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID received by
    this device for AP join";
                }
    
                leaf wlc-map-notify-records-out-ap {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID sent by
    this device for AP join";
                }
    
                leaf wlc-map-notify-records-in-client {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID received by
    this device for wireless client join";
                }
    
                leaf wlc-map-notify-records-out-client {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify records for any EID-Prefix
    of the given address family and Instance ID sent by
    this device for wireless client join";
                }
    
                leaf wlc-map-notify-records-in-failure {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify messages received in the
    given address family and Instance ID and discarded due to
    parsing error";
                }
    
                leaf wlc-map-notify-records-out-failure {
                  type uint64;
                  description
                    "Total number of WLC Map-Notify messages for any
    EID-Prefix of the given address family and Instance ID
    which were not sent because of internal error";
                }
    
                leaf mapping-record-ttl-alerts {
                  type uint64;
                  description
                    "Total number of mapping records received by this device
    for any EID-Prefix of the given address family and
    Instance ID with TTL exceeding 7 days";
                }
    
                leaf remote-eid-entries-created {
                  type uint64;
                  description
                    "Total number of remote EID map-cache entries created by
    this device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf remote-eid-entries-deleted {
                  type uint64;
                  description
                    "Total number of remote EID map-cache entries deleted by
    this device for any EID-Prefix of the given address family
    and Instance ID";
                }
    
                leaf remote-eid-nsf-replay-entries-created {
                  type uint64;
                  description
                    "Total number of remote EID map-cache entries for any
    EID-Prefix of the given address family and Instance ID
    recreated by this device after NSF switchover";
                }
    
                leaf forwarding-data-signals-processed {
                  type uint64;
                  description
                    "Total number of forwarding plane data signals processed
    by this device for any EID-Prefix of the given address
    family and Instance ID";
                }
    
                leaf forwarding-data-signals-dropped {
                  type uint64;
                  description
                    "Total number of forwarding plane data signals for any
    EID-Prefix of the given address family and Instance ID
    dropped by this device";
                }
    
                leaf forwarding-reachability-reports-processed {
                  type uint64;
                  description
                    "Total number of forwarding plane reachability reports for
    any EID-Prefix of the given address family and Instance ID
    processed by this device";
                }
    
                leaf forwarding-reachability-reports-dropped {
                  type uint64;
                  description
                    "Total number of forwarding plane reachability reports for
    any EID-Prefix of the given address family and Instance ID
    dropped by this device";
                }
    
                leaf is-etr-accept-mapping {
                  type boolean;
                  description
                    "Indicates whether the ETR accepts piggybacked mapping
    records received in a Map-Request";
                }
    
                leaf is-etr-accept-mapping-verify {
                  type boolean;
                  description
                    "Indicates if ETR will try to verify accepted piggybacked
    mapping records received in a Map-Request";
                }
    
                list local-dbase {
                  key "afi prefix";
                  description
                    "ETR's database of local EID prefixes";
                  leaf lsb {
                    type uint32;
                    description
                      "The Locator Status Bits for this EID-Prefix";
                  }
    
                  leaf is-reachable {
                    when
                      "boolean(../is-active = 'true')";
                    type boolean;
                    description
                      "Indicates whether the prefix is currently reachable from this
    device via EID interfaces, not applicable if the local
    database mapping state is not active";
                  }
    
                  list local-dbase-rloc {
                    key "afi address";
                    description
                      "List of locators";
                    container params {
                      description
                        "Properties of the locator";
                      leaf priority {
                        type uint8;
                        description
                          "Locator priority";
                      }
    
                      leaf weight {
                        type uint8;
                        description
                          "Locator weight";
                      }
    
                      leaf mcast-priority {
                        type uint8;
                        description
                          "Locator's multicast priority";
                      }
    
                      leaf mcast-weight {
                        type uint8;
                        description
                          "Locator's multicast weight";
                      }
                    }  // container params
    
                    leaf state {
                      type lisp-rloc-state-type;
                      description
                        "Up/down state of the locator";
                    }
    
                    leaf is-local {
                      type boolean;
                      description
                        "Indicates if RLOC local to the device or to another xTR
    in the site; TRUE means RLOC is local to the device";
                    }
    
                    leaf afi {
                      type lisp-address-family-type;
                      description
                        "LISP Address-Family of the address";
                    }
    
                    leaf address {
                      type string;
                      description
                        "LISP address. Format is defined by the AF";
                    }
                  }  // list local-dbase-rloc
    
                  leaf is-proxy {
                    type boolean;
                    description
                      "If local database mapping is proxy";
                  }
    
                  list etr-map-servers {
                    key "afi address";
                    description
                      "List of ETR map servers";
                    leaf last-registration-time {
                      type yang:date-and-time;
                      description
                        "Time of last registration";
                    }
    
                    leaf ack-received {
                      type boolean;
                      description
                        "Registration acknowledgement status from the ETR map server";
                    }
    
                    leaf domain-id {
                      type uint32;
                      description
                        "Domain-id of this ETR map server";
                    }
    
                    leaf afi {
                      type lisp-address-family-type;
                      description
                        "LISP Address-Family of the address";
                    }
    
                    leaf address {
                      type string;
                      description
                        "LISP address. Format is defined by the AF";
                    }
                  }  // list etr-map-servers
    
                  leaf creation-time {
                    type yang:date-and-time;
                    description
                      "Creation time for the local EID-prefix";
                  }
    
                  leaf last-change-time {
                    type yang:date-and-time;
                    description
                      "Last change time for the local EID-prefix";
                  }
    
                  leaf route-tag {
                    type uint32;
                    description
                      "RIB route tag associated with this mapping";
                  }
    
                  leaf is-active {
                    type boolean;
                    description
                      "Indicates whether local database entry has
    active sources (i.e. configured or dynamically discovered)";
                  }
    
                  leaf is-default-etr {
                    type boolean;
                    description
                      "Indicates default-etr is configured";
                  }
    
                  leaf si-id {
                    type uint16;
                    description
                      "Service Insertion identifier";
                  }
    
                  leaf si-type {
                    type lisp-si-type;
                    description
                      "Service Insertion type";
                  }
    
                  leaf domain-id-type {
                    type lisp-domain-id-type;
                    description
                      "Domain-id associated with this mapping";
                  }
    
                  leaf domain-id {
                    when
                      "boolean(../domain-id-type = 'domain-id-valid')";
                    type uint32;
                    description
                      "Domain-ID associated with this mapping, this entry is displayed
    only when domain-id is valid";
                  }
    
                  leaf best-source {
                    type lisp-local-dbase-map-best-source-type;
                    description
                      "Local EID best source in database";
                  }
    
                  leaf locator-set-name {
                    when
                      "boolean(../route-map-configured = 'true')";
                    type string;
                    description
                      "Locator set associated to database mapping";
                  }
    
                  leaf skip-registration {
                    type boolean;
                    description
                      "Indicates whether the prefix must not be registered on
    any Map-Servers";
                  }
    
                  leaf auto-discover-rloc {
                    type boolean;
                    description
                      "Indicates whether the prefix is configured to auto discover rloc
    registered by other xTR";
                  }
    
                  leaf register-on-group-msmr {
                    type boolean;
                    description
                      "Indicates whether the prefix was created by a dynamic-EID from a
    dynamic-EID group with its own ETR map-servers, so we skip
    this when sending registrations to the ETR map-servers for
    the EID table";
                  }
    
                  leaf route-map-configured {
                    type boolean;
                    description
                      "Indicates whether route-map is configured";
                  }
    
                  leaf route-map-name {
                    type string;
                    description
                      "Name of route map that is mapped to the local EID-prefix";
                  }
    
                  leaf route-metric {
                    type uint32;
                    description
                      "RIB route metric";
                  }
    
                  leaf is-sgt-set {
                    type boolean;
                    description
                      "Indicates whether SGT is set/valid";
                  }
    
                  leaf sgt {
                    when
                      "boolean(../is-sgt-set = 'true')";
                    type uint32;
                    description "SGT value";
                  }
    
                  leaf etr-type {
                    type lisp-etr-type;
                    description
                      "Service ETR type";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the prefix";
                  }
    
                  leaf prefix {
                    type string;
                    description
                      "LISP prefix. Format is defined by the AF";
                  }
                }  // list local-dbase
    
                list ms-registrations {
                  key "afi prefix";
                  description
                    "Map-Server database of registered EID Prefixes";
                  container last-registration-source {
                    description
                      "Source address of the last valid registration received
    for this EID prefix";
                    leaf afi {
                      type lisp-address-family-type;
                      description
                        "LISP Address-Family of the address";
                    }
    
                    leaf address {
                      type string;
                      description
                        "LISP address. Format is defined by the AF";
                    }
                  }  // container last-registration-source
    
                  leaf last-registration-source-port {
                    type uint16;
                    description
                      "Source port of the last valid registration received for
    this EID prefix";
                  }
    
                  leaf creation-time {
                    type yang:date-and-time;
                    description
                      "Time when a valid registration was first received for
    this EID prefix";
                  }
    
                  leaf last-registration-time {
                    type yang:date-and-time;
                    description
                      "Time when most recent valid registration was received
    for this EID prefix";
                  }
    
                  leaf site-name {
                    type string;
                    description
                      "Name of site matching this registration";
                  }
    
                  leaf site-description {
                    type string;
                    description
                      "Description given for the site matching this registration";
                  }
    
                  leaf is-registered {
                    type boolean;
                    description
                      "Indicates the registration status of the given EID-Prefix.
    If this object is true, then it means the EID-Prefix
    is registered";
                  }
    
                  leaf authentication-error {
                    type uint64;
                    description
                      "Count of registrations received for the EID prefix with
    authentication error";
                  }
    
                  leaf rloc-mismatch-error {
                    type uint64;
                    description
                      "Count of received registrations for the prefix that had
    at least one RLOC that was not in the allowed list of
    RLOCs";
                  }
    
                  list etr-registrations {
                    key "source-address source-port";
                    description
                      "List of registrations for this EID prefix received
    from different ETRs";
                    leaf last-registration-time {
                      type yang:date-and-time;
                      description
                        "Time when valid registration from the source was last
    received";
                    }
    
                    leaf ttl {
                      type uint32;
                      units "minutes";
                      description
                        "Registration validity period";
                    }
    
                    leaf proxy-reply {
                      type boolean;
                      description
                        "Indicates if the registering ETR requested proxy-replying
    on Map-Requests by the Map-Server";
                    }
    
                    leaf wants-map-notify {
                      type boolean;
                      description
                        "Indicates if the registering ETR wants to be informed about
    matching registrations with Map-Notifies";
                    }
    
                    list ms-registration-rloc {
                      key "afi address";
                      description
                        "List of locators";
                      container params {
                        description
                          "Properties of the locator";
                        leaf priority {
                          type uint8;
                          description
                            "Locator priority";
                        }
    
                        leaf weight {
                          type uint8;
                          description
                            "Locator weight";
                        }
    
                        leaf mcast-priority {
                          type uint8;
                          description
                            "Locator's multicast priority";
                        }
    
                        leaf mcast-weight {
                          type uint8;
                          description
                            "Locator's multicast weight";
                        }
                      }  // container params
    
                      leaf state {
                        type lisp-rloc-state-type;
                        description
                          "Up/down state of the locator";
                      }
    
                      leaf is-local {
                        type boolean;
                        description
                          "Indicates if RLOC is local to device which sent
    registration or to another xTR in the site; TRUE means
    RLOC is local to the registering device";
                      }
    
                      leaf afi {
                        type lisp-address-family-type;
                        description
                          "LISP Address-Family of the address";
                      }
    
                      leaf address {
                        type string;
                        description
                          "LISP address. Format is defined by the AF";
                      }
                    }  // list ms-registration-rloc
    
                    leaf domain-multihoming-id-valid {
                      type boolean;
                      description
                        "Indicates whether domain and multihoming ids are valid";
                    }
    
                    leaf domain-id {
                      type uint32;
                      description
                        "Domain-id associated with this registration";
                    }
    
                    leaf multihoming-id {
                      type uint16;
                      description
                        "Multi-homing-id associated with this registration";
                    }
    
                    leaf route-tag {
                      type uint32;
                      description
                        "RIB route tag associated with this mapping";
                    }
    
                    leaf source-address {
                      type inet:ip-address;
                      description
                        "RLOC address of the registration source";
                    }
    
                    leaf source-port {
                      type uint16;
                      description
                        "Port of the registration source";
                    }
                  }  // list etr-registrations
    
                  leaf is-sgt-set {
                    type boolean;
                    description
                      "Indicates whether SGT is set/valid";
                  }
    
                  leaf sgt {
                    when
                      "boolean(../is-sgt-set = 'true')";
                    type uint32;
                    description "SGT value";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the prefix";
                  }
    
                  leaf prefix {
                    type string;
                    description
                      "LISP prefix. Format is defined by the AF";
                  }
                }  // list ms-registrations
    
                list map-servers {
                  key "afi address";
                  description
                    "List of Map-Servers to which the ETR should register";
                  leaf state {
                    type lisp-rloc-state-type;
                    description
                      "Up/down state of the locator";
                  }
    
                  leaf avg-rtt-5sec {
                    type uint32;
                    description
                      "Average RTT of map-register in milliseconds during last 5 sec";
                  }
    
                  leaf avg-rtt-1min {
                    type uint32;
                    description
                      "Average RTT of map-register in milliseconds during last 1 min";
                  }
    
                  leaf avg-rtt-5min {
                    type uint32;
                    description
                      "Average RTT of map-register in milliseconds during last 5 min";
                  }
    
                  leaf domain-id {
                    type uint32;
                    description
                      "Domain-id associated with this ETR map server";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the address";
                  }
    
                  leaf address {
                    type string;
                    description
                      "LISP address. Format is defined by the AF";
                  }
                }  // list map-servers
    
                list map-resolvers {
                  key "afi address";
                  description
                    "List of Map-Resolvers where [P]ITR should send its
    Map-Requests";
                  leaf state {
                    type lisp-rloc-state-type;
                    description
                      "Up/down state of the locator";
                  }
    
                  leaf avg-rtt-5sec {
                    type uint32;
                    description
                      "Average RTT of map-request in milliseconds during last 5 sec";
                  }
    
                  leaf avg-rtt-1min {
                    type uint32;
                    description
                      "Average RTT of map-request in milliseconds during last 1 min";
                  }
    
                  leaf avg-rtt-5min {
                    type uint32;
                    description
                      "Average RTT of map-request in milliseconds during last 5 min";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the address";
                  }
    
                  leaf address {
                    type string;
                    description
                      "LISP address. Format is defined by the AF";
                  }
                }  // list map-resolvers
    
                list proxy-etrs {
                  key "afi address";
                  description
                    "List of all Proxy ETRs that this device is configured
    to use";
                  container params {
                    description
                      "Properties of the locator";
                    leaf priority {
                      type uint8;
                      description
                        "Locator priority";
                    }
    
                    leaf weight {
                      type uint8;
                      description
                        "Locator weight";
                    }
    
                    leaf mcast-priority {
                      type uint8;
                      description
                        "Locator's multicast priority";
                    }
    
                    leaf mcast-weight {
                      type uint8;
                      description
                        "Locator's multicast weight";
                    }
                  }  // container params
    
                  leaf state {
                    type lisp-rloc-state-type;
                    description
                      "Up/down state of the locator";
                  }
    
                  leaf iid {
                    type uint32 {
                      range "0 .. 16777215";
                    }
                    description
                      "Instance-ID to use when sending packets to PETR";
                  }
    
                  leaf is-iid-present {
                    type boolean;
                    description
                      "Whether specific IID should be used sending packets to PETR";
                  }
    
                  leaf is-proxy-etr-learned-from-msmr {
                    type boolean;
                    description
                      "Indicates whether the proxy-etr is configured or learned from MSMR";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the address";
                  }
    
                  leaf address {
                    type string;
                    description
                      "LISP address. Format is defined by the AF";
                  }
                }  // list proxy-etrs
    
                list extranet-eids {
                  key "afi prefix";
                  description
                    "Extranet EIDs for this service instance";
                  leaf is-configured {
                    type boolean;
                    description
                      "Is the EID configured or learned from registrations";
                  }
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the prefix";
                  }
    
                  leaf prefix {
                    type string;
                    description
                      "LISP prefix. Format is defined by the AF";
                  }
                }  // list extranet-eids
    
                leaf map-resolver-receive-count-last-5sec {
                  type uint64;
                  description
                    "Total number of map requests received by map resolver during
    last 5 seconds";
                }
    
                leaf map-resolver-receive-count-last-1min {
                  type uint64;
                  description
                    "Total number of map requests received by map resolver during
    last 1 minute";
                }
    
                leaf map-resolver-receive-count-last-5min {
                  type uint64;
                  description
                    "Total number of map requests received by map resolver during
    last 5 minutes";
                }
    
                leaf map-server-receive-count-last-5sec {
                  type uint64;
                  description
                    "Total number of Map-Register messages received by map server during
    last 5 seconds";
                }
    
                leaf map-server-receive-count-last-1min {
                  type uint64;
                  description
                    "Total number of Map-Register messages received by map server during
    last 1 minute";
                }
    
                leaf map-server-receive-count-last-5min {
                  type uint64;
                  description
                    "Total number of Map-Register messages received by map server during
    last 5 minutes";
                }
    
                leaf is-mr-use-petr-enabled {
                  type boolean;
                  description
                    "LISP MR use Proxy-ETR";
                }
    
                leaf mr-use-petr-locator-set-name {
                  type string;
                  description
                    "LISP MR-use-Proxy-ETR locator set name";
                }
    
                leaf remote-eid-entries-rejected {
                  type uint64;
                  description
                    "Total number of remote EID map-cache entries rejected
    by this device due to the limit being exceeded for
    any EID-Prefix of the given address family and Instance ID";
                }
    
                leaf is-publication-subscription-enabled {
                  type boolean;
                  description
                    "Indicates that the capability to send and receive registrations
    using the publish/subscribe mechanism is enabled for this instance
    and address family.";
                }
    
                leaf pubsub-sub-requests-in {
                  type uint64;
                  description
                    "Total number of Subscription Request messages received by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-requests-out {
                  type uint64;
                  description
                    "Total number of Subscription Request messages sent by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-requests-in-failure {
                  type uint64;
                  description
                    "Total number of Subscription Request messages for this Instance ID
    and address family discarded due to parsing error";
                }
    
                leaf pubsub-sub-requests-out-failure {
                  type uint64;
                  description
                    "Total number of Subscription Request messages for this Instance ID
    and address family which were not sent due to internal errors";
                }
    
                leaf pubsub-sub-status-in {
                  type uint64;
                  description
                    "Total number of Subscription Status messages received by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-out {
                  type uint64;
                  description
                    "Total number of Subscription Status messages sent by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-in-failure {
                  type uint64;
                  description
                    "Total number of Subscription Status messages for this Instance ID
    and address family discarded due to parsing error";
                }
    
                leaf pubsub-sub-status-out-failure {
                  type uint64;
                  description
                    "Total number of Subscription Status messages for this Instance ID
    and address family which were not sent due to internal errors";
                }
    
                leaf pubsub-sub-status-end-pub-in {
                  type uint64;
                  description
                    "Total number of End-of-Publication Subscription Status messages
    received by this device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-end-pub-out {
                  type uint64;
                  description
                    "Total number of End-of-Publication Subscription Status messages
    sent by this device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-removal-in {
                  type uint64;
                  description
                    "Total number of Subscription-Removal Subscription Status messages
    received by this device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-removal-out {
                  type uint64;
                  description
                    "Total number of Subscription-Removal Subscription Status messages
    sent by this device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-rejection-in {
                  type uint64;
                  description
                    "Total number of Subscription-Rejection Subscription Status messages
    received by this device for this Instance ID and address family";
                }
    
                leaf pubsub-sub-status-rejection-out {
                  type uint64;
                  description
                    "Total number of Subscription-Rejection Subscription Status messages
    sent by this device for this Instance ID and address family";
                }
    
                leaf pubsub-solicit-subs-in {
                  type uint64;
                  description
                    "Total number of Solicit Subscription messages received by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-solicit-subs-out {
                  type uint64;
                  description
                    "Total number of Solicit Subscription messages sent by this
    device for this Instance ID and address family";
                }
    
                leaf pubsub-solicit-subs-in-failure {
                  type uint64;
                  description
                    "Total number of Solicit Subscription messages for this Instance ID
    and address family discarded due to parsing error";
                }
    
                leaf pubsub-solicit-subs-out-failure {
                  type uint64;
                  description
                    "Total number of Solicit Subscription messages for this Instance ID
    and address family which were not sent due to internal errors";
                }
    
                leaf pubsub-pubs-in {
                  type uint64;
                  description
                    "Total number of Publication messages received by this device for
    this Instance ID and address family";
                }
    
                leaf pubsub-pubs-out {
                  type uint64;
                  description
                    "Total number of Publication messages sent by this device for this
    Instance ID and address family";
                }
    
                leaf pubsub-pubs-in-failure {
                  type uint64;
                  description
                    "Total number of Publication messages for this Instance ID and
    address family discarded due to parsing error";
                }
    
                leaf pubsub-pubs-out-failure {
                  type uint64;
                  description
                    "Total number of Publication messages for this Instance ID and
    address family which were not sent due to internal errors";
                }
    
                list lisp-publisher {
                  key "peer-address peer-port";
                  description
                    "Publishers transmitting publication/subscription registrations for this
    service instance";
                  leaf is-established {
                    type boolean;
                    description
                      "If the connection to the publisher is established";
                  }
    
                  leaf publication-count {
                    type uint64;
                    description
                      "Count of publications received from this
    publisher";
                  }
    
                  leaf peer-address {
                    type inet:ip-address;
                    description
                      "Address of the peer";
                  }
    
                  leaf peer-port {
                    type uint16;
                    description
                      "Remote port used by the peer";
                  }
                }  // list lisp-publisher
    
                list lisp-subscriber {
                  key "peer-address peer-port";
                  description
                    "Subscribers interested in publication/subscription registrations in this
    service instance";
                  leaf is-established {
                    type boolean;
                    description
                      "If the connection to the subscriber is
    established";
                  }
    
                  leaf subs-type {
                    type lisp-pubsub-subs-type;
                    description
                      "Type of the subscription";
                  }
    
                  leaf peer-address {
                    type inet:ip-address;
                    description
                      "Address of the peer";
                  }
    
                  leaf peer-port {
                    type uint16;
                    description
                      "Remote port used by the peer";
                  }
                }  // list lisp-subscriber
    
                leaf received-publication-count {
                  type uint64;
                  description
                    "Count of the active publications received in this
    service instance";
                }
    
                list lisp-received-publication {
                  key "afi prefix";
                  description
                    "List of publications received from one or more publishers.
    Publications can be imported into the map-cache or export to the
    RIB. When imported to the map-cache, they remain valid as long as
    the received publication persists.";
                  leaf first-publication-time {
                    type yang:date-and-time;
                    description
                      "First time a mapping record was received for this
    EID";
                  }
    
                  leaf last-publication-time {
                    type yang:date-and-time;
                    description
                      "Last time a mapping record was received for this
    EID";
                  }
    
                  list lisp-publication-mapping {
                    key "publisher-address publisher-port";
                    description
                      "A mapping received for this EID";
                    leaf last-publication-time {
                      type yang:date-and-time;
                      description
                        "Last time a mapping record was received from this
    publisher";
                    }
    
                    leaf site-id {
                      type uint64;
                      description
                        "Site-ID common to all devices attached to the site of the
    registering device";
                    }
    
                    leaf-list xtr-id {
                      type uint8;
                      max-elements 16;
                      ordered-by user;
                      description
                        "xTR-ID of the registering device";
                    }
    
                    list lisp-publication-rloc {
                      key "afi address";
                      description
                        "Locator associated with this mapping";
                      leaf state {
                        type lisp-rloc-state-type;
                        description
                          "Up/down state of the locator";
                      }
    
                      container params {
                        description
                          "Properties of the locator";
                        leaf priority {
                          type uint8;
                          description
                            "Locator priority";
                        }
    
                        leaf weight {
                          type uint8;
                          description
                            "Locator weight";
                        }
    
                        leaf mcast-priority {
                          type uint8;
                          description
                            "Locator's multicast priority";
                        }
    
                        leaf mcast-weight {
                          type uint8;
                          description
                            "Locator's multicast weight";
                        }
                      }  // container params
    
                      leaf is-encap-iid-set {
                        type boolean;
                        description
                          "Indicates whether encap-iid is set or not";
                      }
    
                      leaf encap-iid {
                        when
                          "boolean(../is-encap-iid-set = 'true')";
                        type uint32 {
                          range "0 .. 16777215";
                        }
                        description
                          "Extranet instance-id to which the published prefix belongs to,
    for cases that do have extranet instance-id this entry is not
    displayed";
                      }
    
                      leaf route-metric {
                        when
                          "boolean(../../state = 'remote-eid-state-unknown-eid-fwd')";
                        type uint32;
                        description
                          "RIB route metric";
                      }
    
                      leaf domain-id {
                        when
                          "boolean(../../state = 'remote-eid-state-unknown-eid-fwd')";
                        type uint32;
                        description "Domain ID";
                      }
    
                      leaf multihoming-id {
                        when
                          "boolean(../../state = 'remote-eid-state-unknown-eid-fwd')";
                        type uint16;
                        description
                          "Multihoming ID";
                      }
    
                      leaf afi {
                        type lisp-address-family-type;
                        description
                          "LISP Address-Family of the address";
                      }
    
                      leaf address {
                        type string;
                        description
                          "LISP address. Format is defined by the AF";
                      }
                    }  // list lisp-publication-rloc
    
                    leaf domain-id {
                      when
                        "boolean(../domain-id-type = 'domain-id-valid')";
                      type uint32;
                      description
                        "Domain-ID associated with this mapping, this entry is displayed
    only when domain-id is valid";
                    }
    
                    leaf multihoming-id {
                      type uint16;
                      description
                        "Multihoming-ID associated with this mapping";
                    }
    
                    leaf route-tag {
                      type uint32;
                      description
                        "RIB route tag associated with this mapping";
                    }
    
                    leaf domain-id-type {
                      type lisp-domain-id-type;
                      description
                        "Domain-id type";
                    }
    
                    leaf is-encap-iid-set {
                      type boolean;
                      description
                        "Indicates whether EID instance ID of
    this publication mapping is set";
                    }
    
                    leaf encap-iid {
                      when
                        "boolean(../is-encap-iid-set = 'true')";
                      type uint32 {
                        range "0 .. 16777215";
                      }
                      description
                        "EID instance ID of this publication mapping";
                    }
    
                    leaf state {
                      type lisp-remote-eid-state-type;
                      description
                        "State of this publication mapping";
                    }
    
                    leaf publisher-address {
                      type inet:ip-address;
                      description
                        "Address of the publisher";
                    }
    
                    leaf publisher-port {
                      type uint16;
                      description
                        "Port of the publisher";
                    }
                  }  // list lisp-publication-mapping
    
                  leaf afi {
                    type lisp-address-family-type;
                    description
                      "LISP Address-Family of the prefix";
                  }
    
                  leaf prefix {
                    type string;
                    description
                      "LISP prefix. Format is defined by the AF";
                  }
                }  // list lisp-received-publication
    
                leaf is-signal-suppression-enabled {
                  type boolean;
                  description
                    "Is signal suppression enabled";
                }
    
                leaf signal-suppression-enabled-count {
                  type uint64;
                  description
                    "Signal suppression enabled count";
                }
    
                leaf last-signal-suppression-time {
                  when
                    "boolean(../is-signal-suppression-enabled = 'true')";
                  type yang:date-and-time;
                  description
                    "Last time signal suppression state changed";
                }
    
                leaf ddt-requests-failed {
                  type uint64;
                  description
                    "Total number of DDT requests for the given address family and
    Instance ID which failed";
                }
    
                leaf last-stats-clear-time {
                  type yang:date-and-time;
                  description
                    "Timestamp when statistics for this instance-id and address-family
    were last cleared";
                }
    
                leaf active-eids {
                  type uint32;
                  description
                    "Number of active EIDs.
    Active EIDs are registered to the MapServer, and are alive
    currently in the database per instance.";
                }
    
                leaf inactive-eids {
                  type uint32;
                  description
                    "Number of inactive EIDs.
    Inactive EIDs are registered to Mapserver and are not alive currently.
    EID entries age out after 24 hours if there is no activity in the
    database per instance.";
                }
    
                leaf multi-ip-per-mac {
                  type boolean;
                  description
                    "Indicates whether support for multiple IP per MAC is enabled";
                }
              }  // list af
    
              leaf vrf-name {
                type string;
                description
                  "Name of VRF that is mapped to the given LISP Instance ID";
              }
    
              leaf is-rloc-probing {
                type boolean;
                description
                  "Status of RLOC Probing";
              }
    
              list ms-eid-membership {
                key "rloc";
                description
                  "MS registration EID membership list (list of locators
    known to the MS as allowed to send traffic in the
    instance)";
                leaf rloc {
                  type inet:ip-address;
                  description
                    "RLOC which is the allowed member";
                }
    
                leaf member-since {
                  type yang:date-and-time;
                  description
                    "Time when this RLOC was added to the list of allowed
    locators";
                }
    
                leaf is-gleaned {
                  type boolean;
                  description
                    "Indicates if MS gleaned this RLOC from received EID
    prefix registration";
                }
    
                leaf is-configured {
                  type boolean;
                  description
                    "Indicates if this RLOC membership was provided via
    configuration";
                }
              }  // list ms-eid-membership
    
              list etr-eid-membership {
                key "rloc";
                description
                  "ETR EID membership list (list of locators known to the ETR
    as allowed to send traffic in the instance)";
                leaf rloc {
                  type inet:ip-address;
                  description
                    "RLOC which is the allowed member";
                }
    
                leaf member-since {
                  type yang:date-and-time;
                  description
                    "Time when this RLOC was added to the list of allowed
    locators";
                }
    
                leaf is-learned-from-ms {
                  type boolean;
                  description
                    "Indicates if ETR learned about this RLOC membership via
    message received from a Map-Server";
                }
    
                leaf is-configured {
                  type boolean;
                  description
                    "Indicates if this RLOC membership was provided via
    configuration";
                }
              }  // list etr-eid-membership
    
              list extranets {
                key "extranet-name";
                description
                  "List of extranets configured under this instance";
                leaf extranet-name {
                  type string;
                  description
                    "Name of the extranet";
                }
    
                leaf extranet-inst-count {
                  type uint32;
                  description
                    "Number of instances in this extranet";
                }
    
                list extranet-member-instances {
                  key "iid";
                  description
                    "List of all the instances under this extranet";
                  leaf iid {
                    type uint32 {
                      range "0 .. 16777215";
                    }
                    description
                      "LISP Instance ID";
                  }
    
                  leaf is-provider {
                    type boolean;
                    description
                      "This indicates whether this instance is a provider or subscriber";
                  }
                }  // list extranet-member-instances
              }  // list extranets
            }  // list instances
    
            list sessions {
              key "local-address peer-address local-port peer-port";
              description
                "List of Reliable Registration sessions";
              leaf state {
                type lisp-session-state-type;
                description
                  "Up/down state of the session";
              }
    
              leaf last-state-change-time {
                type yang:date-and-time;
                description
                  "Timestamp when the session's state last changed";
              }
    
              leaf is-role-active {
                type boolean;
                description
                  "Is session opening role Active or Passive; TRUE means
    session role is Active";
              }
    
              leaf is-routable {
                type boolean;
                description
                  "Is route to peer's address known";
              }
    
              leaf messages-in {
                type uint64;
                description
                  "Number of messages received over this session";
              }
    
              leaf messages-out {
                type uint64;
                description
                  "Number of messages sent over this session";
              }
    
              leaf bytes-in {
                type uint64;
                description
                  "Number of bytes received over this session";
              }
    
              leaf bytes-out {
                type uint64;
                description
                  "Number of bytes sent over this session";
              }
    
              leaf capability-bits-in {
                type uint32;
                description
                  "Raw capability bits advertised by the peer";
              }
    
              leaf known-capabilities-in {
                type lisp-capabilities-type;
                description
                  "Known capabilities advertised by the peer";
              }
    
              leaf capabilities-out {
                type lisp-capabilities-type;
                description
                  "Capabilities advertised over this session";
              }
    
              leaf capability-messages-in {
                type uint64;
                description
                  "Capability advertisements received over this
    session";
              }
    
              leaf capability-error-messages-in {
                type uint64;
                description
                  "Capability error messages received over this
    session";
              }
    
              leaf local-address {
                type inet:ip-address;
                description
                  "Address of the local socket";
              }
    
              leaf peer-address {
                type inet:ip-address;
                description
                  "Address of the peer";
              }
    
              leaf local-port {
                type uint16;
                description
                  "Port of the local socket";
              }
    
              leaf peer-port {
                type uint16;
                description
                  "Port used by the peer";
              }
            }  // list sessions
    
            list local-rlocs {
              key "afi address";
              description
                "This list represents the set of routing locators
    configured on this device";
              leaf state {
                type lisp-rloc-state-type;
                description
                  "Up/down state of the locator";
              }
    
              leaf is-local {
                type boolean;
                description
                  "Indicates if RLOC is local to the device or to another xTR
    in the site; TRUE means RLOC is local to the device";
              }
    
              leaf afi {
                type lisp-address-family-type;
                description
                  "LISP Address-Family of the address";
              }
    
              leaf address {
                type string;
                description
                  "LISP address. Format is defined by the AF";
              }
            }  // list local-rlocs
    
            list prefix-lists {
              key "name";
              description
                "This list represents list of prefix-lists configured on this device";
              leaf name {
                type string;
                description
                  "Name of the prefix-list";
              }
    
              leaf count {
                type uint64;
                description
                  "Number of entries in the list";
              }
    
              list prefix-list-entry {
                key "afi prefix";
                description
                  "List of prefix list entries";
                leaf source-has-static {
                  type boolean;
                  description
                    "Is the entry sourced statically";
                }
    
                leaf source-has-rib {
                  type boolean;
                  description
                    "Is the entry sourced from RIB";
                }
    
                leaf source-has-site-reg {
                  type boolean;
                  description
                    "Is the entry sourced from site registration";
                }
    
                leaf source-has-pub-sub {
                  type boolean;
                  description
                    "Is the entry sourced from publications";
                }
    
                leaf afi {
                  type lisp-address-family-type;
                  description
                    "LISP Address-Family of the prefix";
                }
    
                leaf prefix {
                  type string;
                  description
                    "LISP prefix. Format is defined by the AF";
                }
              }  // list prefix-list-entry
            }  // list prefix-lists
    
            leaf capabilities {
              type lisp-capabilities-type;
              description
                "Capabilities enabled for the LISP router";
            }
    
            list remote-locator-sets {
              key "name";
              description
                "List of remote-locator-sets for the LISP router";
              leaf name {
                type string;
                description
                  "Name of the remote-locator-set";
              }
    
              list remote-locator-set-rlocs {
                key "iid afi address";
                description
                  "List of RLOCs for the remote-locator-set";
                container params {
                  description
                    "Properties of single RLOC of remote-locator-set";
                  leaf priority {
                    type uint8;
                    description
                      "Locator priority";
                  }
    
                  leaf weight {
                    type uint8;
                    description "Locator weight";
                  }
    
                  leaf mcast-priority {
                    type uint8;
                    description
                      "Locator's multicast priority";
                  }
    
                  leaf mcast-weight {
                    type uint8;
                    description
                      "Locator's multicast weight";
                  }
                }  // container params
    
                leaf is-configured {
                  type boolean;
                  description
                    "Check if RLOC is locally configured";
                }
    
                leaf si-id {
                  type uint16;
                  description
                    "Service Insertion identifier";
                }
    
                leaf si-type {
                  type lisp-si-type;
                  description
                    "Service Insertion type";
                }
    
                leaf route-metric {
                  type uint32;
                  description "RIB route metric";
                }
    
                leaf etr-type {
                  type lisp-etr-type;
                  description "Service ETR type";
                }
    
                leaf iid {
                  type uint32 {
                    range "0 .. 1677215";
                  }
                  description "LISP Instance ID";
                }
    
                leaf afi {
                  type lisp-address-family-type;
                  description
                    "Address family of the RLOC";
                }
    
                leaf address {
                  type inet:ip-address;
                  description
                    "Address of the RLOC";
                }
              }  // list remote-locator-set-rlocs
            }  // list remote-locator-sets
    
            leaf domain-id {
              type uint32;
              description
                "Domain-ID of the LISP router";
            }
    
            leaf multihoming-id {
              type uint16;
              description
                "Multihoming-ID of the LISP router";
            }
          }  // list lisp-routers
        }  // container lisp-state
      }  // module Cisco-IOS-XE-lisp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.