Cisco-IOS-XR-ethernet-lldp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-lldp package operational data. This module cont...

  • Version: 2020-09-01

    Cisco-IOS-XR-ethernet-lldp-oper@2020-09-01


    
      module Cisco-IOS-XR-ethernet-lldp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper";
    
        prefix ethernet-lldp-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ethernet-lldp-oper-sub2 {
          revision-date "2020-09-01";
        }
        include Cisco-IOS-XR-ethernet-lldp-oper-sub1 {
          revision-date "2020-09-01";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
    Customer Service
    
    Postal: 170 West Tasman Drive
    San Jose, CA 95134
    
    Tel: +1 800 553-NETS
    
    E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
    for Cisco IOS-XR ethernet-lldp package operational data.
    
    This module contains definitions
    for the following management objects:
      lldp: Link Layer Discovery Protocol operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-09-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-11-13" {
          description
            "Added a new notification.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        notification lldp-event {
          description
            "Notification event for lldp";
          container global-lldp {
            description "Global LLDP data";
            container lldp-info {
              description
                "The LLDP Global Information of this box";
              leaf chassis-id {
                xr:event-telemetry "Subscribe Telemetry Event";
                type string;
                description "Chassis identifier";
              }
    
              leaf chassis-id-sub-type {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint8;
                description
                  "Chassis ID sub type";
              }
    
              leaf system-name {
                xr:event-telemetry "Subscribe Telemetry Event";
                type string;
                description "System Name";
              }
    
              leaf timer {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Rate at which LLDP packets re sent (in sec)";
              }
    
              leaf hold-time {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Length  of time  (in sec)that receiver must keep
    thispacket";
              }
    
              leaf re-init {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Delay (in sec) for LLDPinitialization on
    anyinterface";
              }
            }  // container lldp-info
          }  // container global-lldp
    
          container nodes {
            description
              "Per node LLDP operational data";
            list node {
              key "node-name";
              description
                "The LLDP operational data for a particular node";
              container neighbors {
                description
                  "The LLDP neighbor tables on this node";
                container devices {
                  description
                    "The detailed LLDP neighbor table on this
    device";
                  list device {
                    description
                      "Detailed information about a LLDP neighbor
    entry";
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list device
                }  // container devices
    
                container details {
                  description
                    "The detailed LLDP neighbor table";
                  list detail {
                    description
                      "Detailed information about a LLDP neighbor
    entry";
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list detail
                }  // container details
    
                container summaries {
                  description
                    "The LLDP neighbor summary table";
                  list summary {
                    description
                      "Brief information about a LLDP neighbor
    entry";
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list summary
                }  // container summaries
              }  // container neighbors
    
              container interfaces {
                description
                  "The table of interfaces on which LLDP is
    running on this node";
                list interface {
                  key "interface-name";
                  description
                    "Operational data for an interface on which
    LLDP is running";
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "The interface name";
                  }
    
                  container local-network-addresses {
                    description
                      "Local Management Addresses";
                    list lldp-addr-entry {
                      description
                        "Next address entry in list";
                      container address {
                        description
                          "Network layer address";
                        leaf address-type {
                          type Lldp-l3-addr-protocol;
                          description
                            "AddressType";
                        }
    
                        leaf ipv4-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          when
                            "../address-type = 'ipv4'" {
                            description
                              "../AddressType = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 address";
                        }
    
                        leaf ipv6-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          when
                            "../address-type = 'ipv6'" {
                            description
                              "../AddressType = 'IPv6'";
                          }
                          type In6-addr;
                          description
                            "IPv6 address";
                        }
                      }  // container address
    
                      leaf ma-subtype {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "MA sub type";
                      }
    
                      leaf if-num {
                        type uint32;
                        description
                          "Interface num";
                      }
                    }  // list lldp-addr-entry
                  }  // container local-network-addresses
    
                  leaf interface-name-xr {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf tx-enabled {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description "TX Enabled";
                  }
    
                  leaf rx-enabled {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description "RX Enabled";
                  }
    
                  leaf tx-state {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description "TX State";
                  }
    
                  leaf rx-state {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description "RX State";
                  }
    
                  leaf if-index {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint32;
                    description "ifIndex";
                  }
    
                  leaf port-id {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description
                      "Outgoing port identifier";
                  }
    
                  leaf port-id-sub-type {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description
                      "Port ID sub type";
                  }
    
                  leaf port-description {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description
                      "Port Description";
                  }
                }  // list interface
              }  // container interfaces
    
              container statistics {
                description
                  "The LLDP traffic statistics for this node";
                leaf transmitted-packets {
                  type uint32;
                  description
                    "Transmitted packets";
                }
    
                leaf aged-out-entries {
                  type uint32;
                  description "Aged out entries";
                }
    
                leaf discarded-packets {
                  type uint32;
                  description
                    "Discarded packets";
                }
    
                leaf bad-packets {
                  type uint32;
                  description
                    "Bad packet received and dropped";
                }
    
                leaf received-packets {
                  type uint32;
                  description "Received packets";
                }
    
                leaf discarded-tl-vs {
                  type uint32;
                  description "Discarded TLVs";
                }
    
                leaf unrecognized-tl-vs {
                  type uint32;
                  description
                    "Unrecognized TLVs";
                }
    
                leaf out-of-memory-errors {
                  type uint32;
                  description
                    "Out-of-memory conditions";
                }
    
                leaf encapsulation-errors {
                  type uint32;
                  description
                    "Transmission errors";
                }
    
                leaf queue-overflow-errors {
                  type uint32;
                  description "Queue overflows";
                }
    
                leaf table-overflow-errors {
                  type uint32;
                  description "Table overflows";
                }
              }  // container statistics
    
              leaf node-name {
                type xr:Node-id;
                description
                  "The identifier for the node";
              }
            }  // list node
          }  // container nodes
        }  // notification lldp-event
    
        container lldp {
          config false;
          description
            "Link Layer Discovery Protocol operational data";
          container global-lldp {
            description "Global LLDP data";
            container lldp-info {
              description
                "The LLDP Global Information of this box";
              leaf chassis-id {
                xr:event-telemetry "Subscribe Telemetry Event";
                type string;
                description "Chassis identifier";
              }
    
              leaf chassis-id-sub-type {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint8;
                description
                  "Chassis ID sub type";
              }
    
              leaf system-name {
                xr:event-telemetry "Subscribe Telemetry Event";
                type string;
                description "System Name";
              }
    
              leaf timer {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Rate at which LLDP packets re sent (in sec)";
              }
    
              leaf hold-time {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Length  of time  (in sec)that receiver must keep
    thispacket";
              }
    
              leaf re-init {
                xr:event-telemetry "Subscribe Telemetry Event";
                type uint32;
                description
                  "Delay (in sec) for LLDPinitialization on
    anyinterface";
              }
            }  // container lldp-info
          }  // container global-lldp
    
          container nodes {
            description
              "Per node LLDP operational data";
            list node {
              key "node-name";
              description
                "The LLDP operational data for a particular node";
              container neighbors {
                description
                  "The LLDP neighbor tables on this node";
                container devices {
                  description
                    "The detailed LLDP neighbor table on this
    device";
                  list device {
                    description
                      "Detailed information about a LLDP neighbor
    entry";
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list device
                }  // container devices
    
                container details {
                  description
                    "The detailed LLDP neighbor table";
                  list detail {
                    description
                      "Detailed information about a LLDP neighbor
    entry";
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list detail
                }  // container details
    
                container summaries {
                  description
                    "The LLDP neighbor summary table";
                  list summary {
                    description
                      "Brief information about a LLDP neighbor
    entry";
                    leaf interface-name {
                      type xr:Interface-name;
                      description
                        "The interface name";
                    }
    
                    leaf device-id {
                      type string;
                      description
                        "The neighboring device identifier";
                    }
    
                    list lldp-neighbor {
                      description
                        "Next neighbor in the list";
                      container detail {
                        description
                          "Detailed neighbor info";
                        container network-addresses {
                          description
                            "Management Addresses";
                          list lldp-addr-entry {
                            description
                              "Next address entry in list";
                            container address {
                              description
                                "Network layer address";
                              leaf address-type {
                                type Lldp-l3-addr-protocol;
                                description
                                  "AddressType";
                              }
    
                              leaf ipv4-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv4'" {
                                  description
                                    "../AddressType = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                xr:event-telemetry "Subscribe Telemetry Event";
                                when
                                  "../address-type = 'ipv6'" {
                                  description
                                    "../AddressType = 'IPv6'";
                                }
                                type In6-addr;
                                description
                                  "IPv6 address";
                              }
                            }  // container address
    
                            leaf ma-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "MA sub type";
                            }
    
                            leaf if-num {
                              type uint32;
                              description
                                "Interface num";
                            }
                          }  // list lldp-addr-entry
                        }  // container network-addresses
    
                        leaf peer-mac-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type yang:mac-address;
                          description
                            "Peer Mac Address";
                        }
    
                        leaf port-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Port Description";
                        }
    
                        leaf system-name {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Name";
                        }
    
                        leaf system-description {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Description";
                        }
    
                        leaf time-remaining {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Time remaining";
                        }
    
                        leaf system-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "System Capabilities";
                        }
    
                        leaf enabled-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Enabled Capabilities";
                        }
    
                        leaf auto-negotiation {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Auto Negotiation";
                        }
    
                        leaf physical-media-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type string;
                          description
                            "Physical media capabilities";
                        }
    
                        leaf media-attachment-unit-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Media Attachment Unit type";
                        }
    
                        leaf port-vlan-id {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description "Vlan ID";
                        }
                      }  // container detail
    
                      container mib {
                        description
                          "MIB nieghbor info";
                        container unknown-tlv-list {
                          description
                            "Unknown TLV list";
                          list lldp-unknown-tlv-entry {
                            description
                              "Next unknown TLV entry in list";
                            leaf tlv-type {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Unknown TLV type";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Unknown TLV payload";
                            }
                          }  // list lldp-unknown-tlv-entry
                        }  // container unknown-tlv-list
    
                        container org-def-tlv-list {
                          description
                            "Org Def TLV list";
                          list lldp-org-def-tlv-entry {
                            description
                              "Next Org Def TLV entry in list";
                            leaf oui {
                              type uint32;
                              description
                                "Organizationally Unique Identifier";
                            }
    
                            leaf tlv-subtype {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint8;
                              description
                                "Org Def TLV subtype";
                            }
    
                            leaf tlv-info-indes {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type uint32;
                              description
                                "lldpRemOrgDefInfoIndex";
                            }
    
                            leaf tlv-value {
                              xr:event-telemetry "Subscribe Telemetry Event";
                              type yang:hex-string;
                              description
                                "Org Def TLV payload";
                            }
                          }  // list lldp-org-def-tlv-entry
                        }  // container org-def-tlv-list
    
                        leaf rem-time-mark {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "TimeFilter";
                        }
    
                        leaf rem-local-port-num {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "LldpPortNumber";
                        }
    
                        leaf rem-index {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "lldpRemIndex";
                        }
    
                        leaf chassis-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Chassis ID sub type";
                        }
    
                        leaf chassis-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Chassis ID length";
                        }
    
                        leaf port-id-sub-type {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint8;
                          description
                            "Port ID sub type";
                        }
    
                        leaf port-id-len {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint16;
                          description
                            "Port ID length";
                        }
    
                        leaf combined-capabilities {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          type uint32;
                          description
                            "Supported and combined cpabilities";
                        }
                      }  // container mib
    
                      leaf receiving-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Interface the neighbor entry was received on ";
                      }
    
                      leaf receiving-parent-interface-name {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type xr:Interface-name;
                        description
                          "Parent Interface the neighbor entry was
    received on ";
                      }
    
                      leaf device-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Device identifier";
                      }
    
                      leaf chassis-id {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description "Chassis id";
                      }
    
                      leaf port-id-detail {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Outgoing port identifier";
                      }
    
                      leaf header-version {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "Version number";
                      }
    
                      leaf hold-time {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint16;
                        description
                          "Remaining hold time";
                      }
    
                      leaf enabled-capabilities {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Enabled Capabilities";
                      }
    
                      leaf platform {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type string;
                        description
                          "Platform type";
                      }
                    }  // list lldp-neighbor
                  }  // list summary
                }  // container summaries
              }  // container neighbors
    
              container interfaces {
                description
                  "The table of interfaces on which LLDP is
    running on this node";
                list interface {
                  key "interface-name";
                  description
                    "Operational data for an interface on which
    LLDP is running";
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "The interface name";
                  }
    
                  container local-network-addresses {
                    description
                      "Local Management Addresses";
                    list lldp-addr-entry {
                      description
                        "Next address entry in list";
                      container address {
                        description
                          "Network layer address";
                        leaf address-type {
                          type Lldp-l3-addr-protocol;
                          description
                            "AddressType";
                        }
    
                        leaf ipv4-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          when
                            "../address-type = 'ipv4'" {
                            description
                              "../AddressType = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 address";
                        }
    
                        leaf ipv6-address {
                          xr:event-telemetry "Subscribe Telemetry Event";
                          when
                            "../address-type = 'ipv6'" {
                            description
                              "../AddressType = 'IPv6'";
                          }
                          type In6-addr;
                          description
                            "IPv6 address";
                        }
                      }  // container address
    
                      leaf ma-subtype {
                        xr:event-telemetry "Subscribe Telemetry Event";
                        type uint8;
                        description
                          "MA sub type";
                      }
    
                      leaf if-num {
                        type uint32;
                        description
                          "Interface num";
                      }
                    }  // list lldp-addr-entry
                  }  // container local-network-addresses
    
                  leaf interface-name-xr {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf tx-enabled {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description "TX Enabled";
                  }
    
                  leaf rx-enabled {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description "RX Enabled";
                  }
    
                  leaf tx-state {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description "TX State";
                  }
    
                  leaf rx-state {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description "RX State";
                  }
    
                  leaf if-index {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint32;
                    description "ifIndex";
                  }
    
                  leaf port-id {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description
                      "Outgoing port identifier";
                  }
    
                  leaf port-id-sub-type {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type uint8;
                    description
                      "Port ID sub type";
                  }
    
                  leaf port-description {
                    xr:event-telemetry "Subscribe Telemetry Event";
                    type string;
                    description
                      "Port Description";
                  }
                }  // list interface
              }  // container interfaces
    
              container statistics {
                description
                  "The LLDP traffic statistics for this node";
                leaf transmitted-packets {
                  type uint32;
                  description
                    "Transmitted packets";
                }
    
                leaf aged-out-entries {
                  type uint32;
                  description "Aged out entries";
                }
    
                leaf discarded-packets {
                  type uint32;
                  description
                    "Discarded packets";
                }
    
                leaf bad-packets {
                  type uint32;
                  description
                    "Bad packet received and dropped";
                }
    
                leaf received-packets {
                  type uint32;
                  description "Received packets";
                }
    
                leaf discarded-tl-vs {
                  type uint32;
                  description "Discarded TLVs";
                }
    
                leaf unrecognized-tl-vs {
                  type uint32;
                  description
                    "Unrecognized TLVs";
                }
    
                leaf out-of-memory-errors {
                  type uint32;
                  description
                    "Out-of-memory conditions";
                }
    
                leaf encapsulation-errors {
                  type uint32;
                  description
                    "Transmission errors";
                }
    
                leaf queue-overflow-errors {
                  type uint32;
                  description "Queue overflows";
                }
    
                leaf table-overflow-errors {
                  type uint32;
                  description "Table overflows";
                }
              }  // container statistics
    
              leaf node-name {
                type xr:Node-id;
                description
                  "The identifier for the node";
              }
            }  // list node
          }  // container nodes
        }  // container lldp
      }  // module Cisco-IOS-XR-ethernet-lldp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.