Cisco-IOS-XR-ethernet-link-oam-oper

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

  • Version: 2019-04-05

    Cisco-IOS-XR-ethernet-link-oam-oper@2019-04-05


    
      module Cisco-IOS-XR-ethernet-link-oam-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper";
    
        prefix ethernet-link-oam-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ethernet-link-oam-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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-link-oam package operational data.
         
         This module contains definitions
         for the following management objects:
           ether-link-oam: Ethernet Link OAM operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container ether-link-oam {
          config false;
          description
            "Ethernet Link OAM operational data";
          container discovery-info-interfaces {
            description
              "Table of Ethernet Link OAM enabled interfaces
             within Discovery Info container";
            list discovery-info-interface {
              key "member-interface";
              description
                "Ethernet Link OAM interface to get Discovery
               Info for";
              leaf member-interface {
                type xr:Interface-name;
                description "Member Interface";
              }
    
              leaf name {
                type string;
                description "Interface Name";
              }
    
              leaf operational-status {
                type Operational-state;
                description "Operational status";
              }
    
              leaf loopback-mode {
                type Loopback-status;
                description
                  "The loopback mode the interface is in";
              }
    
              leaf local-mode {
                type Mode;
                description
                  "Local Mode (passive/active)";
              }
    
              leaf miswired {
                type boolean;
                description
                  "Has the interface mis-wired?";
              }
    
              leaf local-mwd-key {
                type uint32;
                description
                  "Local Mis-wiring Detection key";
              }
    
              leaf local-function-unidirectional {
                type boolean;
                description
                  "Local Unidirectional support";
              }
    
              leaf local-function-loopback {
                type boolean;
                description
                  "Local loopback support";
              }
    
              leaf local-function-event {
                type boolean;
                description
                  "Local event support";
              }
    
              leaf local-functionvariable {
                type boolean;
                description
                  "Local variable retreival support";
              }
    
              leaf local-revision {
                type uint32;
                description "Local revision";
              }
    
              leaf local-mtu {
                type uint32;
                description "Local MTU";
              }
    
              leaf local-operational {
                type boolean;
                description
                  "Is the local OAM session operational?";
              }
    
              leaf local-evaluating {
                type boolean;
                description
                  "Is the local OAM session evaluating?";
              }
    
              leaf remote-mode {
                type Mode;
                description
                  "Remote Mode (passive/active)";
              }
    
              leaf remote-unidirectional {
                type boolean;
                description
                  "Remote unidirectional support";
              }
    
              leaf remote-loopback {
                type boolean;
                description
                  "Remote loopback support";
              }
    
              leaf remote-event {
                type boolean;
                description
                  "Remote event support";
              }
    
              leaf remote-variable {
                type boolean;
                description
                  "Remote variable retreival support";
              }
    
              leaf remote-mtu {
                type uint32;
                description "Remote MTU";
              }
    
              leaf remote-mac-address {
                type yang:mac-address;
                description "Remote MAC address";
              }
    
              leaf remote-vendor-oui {
                type yang:hex-string;
                description "Remote vendor OUI";
              }
    
              leaf remote-revision {
                type uint16;
                description "Remote revision";
              }
    
              leaf remote-vendor-info {
                type uint32;
                description "Remote vendor info";
              }
    
              leaf remote-mwd-key {
                type uint32;
                description
                  "Remote Mis-wiring Detection key";
              }
    
              leaf operational-status-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf loopback-mode-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-mode-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf miswired-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-mwd-key-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-function-unidirectional-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-function-loopback-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-function-event-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-functionvariable-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-revisionvalid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf local-mtu-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-mode-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-unidirectional-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-loopback-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-event-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-variable-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-mtu-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-mac-address-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-vendor-oui-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-revisionvalid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-vendor-info-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf remote-mwd-key-valid {
                type boolean;
                description
                  "Has this value been received successfully?";
              }
    
              leaf received-at-risk-notification-timestamp {
                type uint64;
                units "second";
                description
                  "Timestamp of when the last At Risk notification
    was received (in seconds since the UNIX epoch),
    or 0 if the peer is not currently at risk";
              }
    
              leaf received-at-risk-notification-time-remaining {
                type uint16;
                units "second";
                description
                  "Number of seconds remaining that the peer has
    indicated it will be At Risk";
              }
            }  // list discovery-info-interface
          }  // container discovery-info-interfaces
    
          container interface-state-interfaces {
            description
              "Table of Ethernet Link OAM enabled interfaces
             within Interface State container";
            list interface-state-interface {
              key "member-interface";
              description
                "Ethernet Link OAM interface to get Interface
               State for";
              leaf member-interface {
                type xr:Interface-name;
                description "Member Interface";
              }
    
              container errors {
                description
                  "The errors that have occurred on this interface";
                leaf pfi-reason {
                  type string;
                  description
                    "Reason for the Interface Management error (if
    applicable)";
                }
    
                leaf pfi-error-code {
                  type uint32;
                  description
                    "The Interface Management error/success code";
                }
    
                leaf platform-reason {
                  type string;
                  description
                    "Reason for the platform error (if applicable)";
                }
    
                leaf platform-error-code {
                  type uint32;
                  description
                    "The platform error/success code";
                }
    
                leaf spio-reason {
                  type string;
                  description
                    "Reason for the Packet I/O error (if applicable)";
                }
    
                leaf spio-error-code {
                  type uint32;
                  description
                    "The Packet I/O error/success code";
                }
    
                leaf epi-reason {
                  type string;
                  description
                    "Reason for the Packet error (if applicable)";
                }
    
                leaf epi-error-code {
                  type uint32;
                  description
                    "The Packet error/success code";
                }
    
                leaf caps-add-reason {
                  type string;
                  description
                    "Reason for the caps add error (if applicable)";
                }
    
                leaf caps-add-error-code {
                  type uint32;
                  description
                    "The caps add error/success code";
                }
              }  // container errors
    
              container efd-triggers {
                description
                  "Any present EFD triggers";
                leaf link-fault-received {
                  type boolean;
                  description
                    "Link-fault messages being received";
                }
    
                leaf discovery-timed-out {
                  type boolean;
                  description
                    "The discovery process has timed out";
                }
    
                leaf capabilities-conflict {
                  type boolean;
                  description
                    "A capabilities conflict has been detected";
                }
    
                leaf wiring-conflict {
                  type boolean;
                  description
                    "A wiring conflict has been detected";
                }
    
                leaf session-down {
                  type boolean;
                  description
                    "The 802.3 OAM session is down";
                }
              }  // container efd-triggers
    
              leaf protocol-code {
                type Protocol-state;
                description
                  "The state the protocol is in";
              }
    
              leaf rx-fault {
                type boolean;
                description
                  "Has a uni-directional link-fault been detected?";
              }
    
              leaf local-mwd-key {
                type uint32;
                description "The local MWD key";
              }
    
              leaf remote-mwd-key-present {
                type boolean;
                description
                  "Does the remote side have an MWD key?";
              }
    
              leaf remote-mwd-key {
                type uint32;
                description "The remote MWD key";
              }
            }  // list interface-state-interface
          }  // container interface-state-interfaces
    
          container running-config-interfaces {
            description
              "Table of Ethernet Link OAM enabled interfaces
             within Running Config container";
            list running-config-interface {
              key "member-interface";
              description
                "Ethernet Link OAM interface to get Running
               Config for";
              leaf member-interface {
                type xr:Interface-name;
                description "Member Interface";
              }
    
              leaf fast-hello-interval-enabled {
                type boolean;
                description
                  "Is 100ms hello interval time enabled?";
              }
    
              leaf link-monitor-enabled {
                type boolean;
                description
                  "Is link monitoring enabled?";
              }
    
              leaf remote-loopback-enabled {
                type boolean;
                description
                  "Is remote loopback enabled?";
              }
    
              leaf mib-retrieval-enabled {
                type boolean;
                description
                  "Is MIB retrieval enabled?";
              }
    
              leaf udlf-enabled {
                type boolean;
                description
                  "Is uni-directional link-fault detection enabled?";
              }
    
              leaf mode {
                type Mode;
                description "Configured mode";
              }
    
              leaf connection-timeout {
                type uint8;
                description "Connection timeout";
              }
    
              leaf symbol-period-window {
                type uint32;
                description
                  "Symbol period event window size";
              }
    
              leaf symbol-period-window-units {
                type uint8;
                description
                  "Symbol period event window units";
              }
    
              leaf symbol-period-window-multiplier {
                type uint8;
                description
                  "Symbol period event window multiplier";
              }
    
              leaf symbol-period-threshold-low {
                type uint64;
                description
                  "Symbol period event low threshold";
              }
    
              leaf symbol-period-threshold-high {
                type uint64;
                description
                  "Symbol period event high threshold";
              }
    
              leaf symbol-period-threshold-units {
                type uint8;
                description
                  "Symbol period event threshold units";
              }
    
              leaf symbol-period-threshold-low-multiplier {
                type uint8;
                description
                  "Symbol period event threshold low multiplier";
              }
    
              leaf symbol-period-threshold-high-multiplier {
                type uint8;
                description
                  "Symbol period event threshold high multiplier";
              }
    
              leaf frame-window {
                type uint32;
                description
                  "Frame event window size";
              }
    
              leaf frame-threshold-low {
                type uint64;
                description
                  "Frame event low threshold";
              }
    
              leaf frame-threshold-high {
                type uint64;
                description
                  "Frame event high threshold";
              }
    
              leaf frame-threshold-low-multiplier {
                type uint8;
                description
                  "Frame period event threshold low multiplier";
              }
    
              leaf frame-threshold-high-multiplier {
                type uint8;
                description
                  "Frame event threshold high multiplier";
              }
    
              leaf frame-period-window {
                type uint32;
                description
                  "Frame period event window size";
              }
    
              leaf frame-period-window-units {
                type uint8;
                description
                  "Frame period event window units";
              }
    
              leaf frame-period-window-multiplier {
                type uint8;
                description
                  "Frame period event window multiplier";
              }
    
              leaf frame-period-threshold-low {
                type uint64;
                description
                  "Frame period event low threshold";
              }
    
              leaf frame-period-threshold-high {
                type uint64;
                description
                  "Frame period event high threshold";
              }
    
              leaf frame-period-threshold-units {
                type uint8;
                description
                  "Frame period event threshold units";
              }
    
              leaf frame-period-threshold-low-multiplier {
                type uint8;
                description
                  "Frame period event threshold low multiplier";
              }
    
              leaf frame-period-threshold-high-multiplier {
                type uint8;
                description
                  "Frame period event threshold high multiplier";
              }
    
              leaf frame-seconds-window {
                type uint32;
                units "second";
                description
                  "Frame seconds event high threshold";
              }
    
              leaf frame-seconds-threshold-low {
                type uint64;
                units "second";
                description
                  "Frame seconds event high threshold";
              }
    
              leaf frame-seconds-threshold-high {
                type uint64;
                units "second";
                description
                  "Frame seconds event high threshold";
              }
    
              leaf high-threshold-action {
                type Action;
                description
                  "Action to perform when a high threshold is
    breached";
              }
    
              leaf link-fault-action {
                type Action;
                description
                  "Action to perform when a link fault occurs";
              }
    
              leaf dying-gasp-action {
                type Action;
                description
                  "Action to perform when a dying gasp occurs";
              }
    
              leaf critical-event-action {
                type Action;
                description
                  "Action to perform when a critical event occurs";
              }
    
              leaf discovery-timeout-action {
                type Action;
                description
                  "Action to perform when a discovery timeout
    occurs";
              }
    
              leaf capabilities-conflict-action {
                type Action;
                description
                  "Action to perform when a capabilities conflict
    occurs";
              }
    
              leaf wiring-conflict-action {
                type Action;
                description
                  "Action to perform when a wiring conflict occurs";
              }
    
              leaf session-up-action {
                type Action;
                description
                  "Action to perform when a session comes up";
              }
    
              leaf session-down-action {
                type Action;
                description
                  "Action to perform when a session comes down";
              }
    
              leaf remote-loopback-action {
                type Action;
                description
                  "Action to perform when a session enters or exits
    remote loopback";
              }
    
              leaf require-remote-mode {
                type Mode;
                description
                  "The mode that is required of the remote peer";
              }
    
              leaf require-remote-mib-retrieval {
                type boolean;
                description
                  "Require the remote peer to support MIB retrieval";
              }
    
              leaf require-loopback {
                type boolean;
                description
                  "Require the remote peer to support loopback mode";
              }
    
              leaf require-link-monitoring {
                type boolean;
                description
                  "Require the remote peer to support link
    monitoring";
              }
    
              leaf fast-hello-interval-enabled-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf link-monitoring-enabled-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf remote-loopback-enabled-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf mib-retrieval-enabled-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf udlf-enabled-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf mode-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf connection-timeout-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf symbol-period-window-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf symbol-period-threshold-low-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf symbol-period-threshold-high-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-window-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-threshold-low-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-threshold-high-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-period-window-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-period-threshold-low-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-period-threshold-high-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-seconds-window-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-seconds-threshold-low-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf frame-seconds-threshold-high-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf high-threshold-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf link-fault-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf dying-gasp-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf critical-event-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf discovery-timeout-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf capabilities-conflict-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf wiring-conflict-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf session-down-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf session-up-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf remote-loopback-action-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf require-mode-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf require-mib-retrieval-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf require-loopback-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
    
              leaf require-link-monitoring-overridden {
                type boolean;
                description
                  "Is this configuration information an interface
    override?";
              }
            }  // list running-config-interface
          }  // container running-config-interfaces
    
          container nodes {
            description
              "Node table for node-specific operational data";
            list node {
              key "node-name";
              description
                "Node-specific data for a particular node";
              container summary {
                description
                  "Ethernet Link OAM Summary information for the
                 entire node";
                leaf interfaces {
                  type uint32;
                  description
                    "The number of interfaces with 802.3 OAM
    configured";
                }
    
                leaf port-down {
                  type uint32;
                  description
                    "The number of interfaces in 'Port Down' state";
                }
    
                leaf passive-wait {
                  type uint32;
                  description
                    "The number of interfaces in 'Passive Wait' state";
                }
    
                leaf active-send {
                  type uint32;
                  description
                    "The number of interfaces in 'Active Send' state";
                }
    
                leaf evaluating {
                  type uint32;
                  description
                    "The number of interfaces in 'Evaluating' state";
                }
    
                leaf local-accept {
                  type uint32;
                  description
                    "The number of interfaces in 'Local Accept' state";
                }
    
                leaf local-reject {
                  type uint32;
                  description
                    "The number of interfaces in 'Local Reject' state";
                }
    
                leaf remote-reject {
                  type uint32;
                  description
                    "The number of interfaces in 'Remote Reject'
    state";
                }
    
                leaf operational {
                  type uint32;
                  description
                    "The number of interfaces in 'Operational' state";
                }
    
                leaf loopback-mode {
                  type uint32;
                  description
                    "The number of interfaces in loopback mode";
                }
    
                leaf miswired-connections {
                  type uint32;
                  description
                    "The number of miswired connections";
                }
    
                leaf events {
                  type uint64;
                  description
                    "The number of events recorded";
                }
    
                leaf local-events {
                  type uint64;
                  description
                    "The number of local events recorded";
                }
    
                leaf local-symbol-period {
                  type uint64;
                  description
                    "The number of local symbol period events
    recorded";
                }
    
                leaf local-frame {
                  type uint64;
                  description
                    "The mumber of local frame error events recorded";
                }
    
                leaf local-frame-period {
                  type uint64;
                  description
                    "The number of local frame period events recorded";
                }
    
                leaf local-frame-seconds {
                  type uint64;
                  description
                    "The number of local frame second events recorded";
                }
    
                leaf remote-events {
                  type uint64;
                  description
                    "The number of remote events recorded";
                }
    
                leaf remote-symbol-period {
                  type uint64;
                  description
                    "The number of remote symbol period events
    recorded";
                }
    
                leaf remote-frame {
                  type uint64;
                  description
                    "The mumber of remote frame error events recorded";
                }
    
                leaf remote-frame-period {
                  type uint64;
                  description
                    "The number of remote frame period events
    recorded";
                }
    
                leaf remote-frame-seconds {
                  type uint64;
                  description
                    "The number of remote frame second events
    recorded";
                }
              }  // container summary
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
    
          container event-log-entry-interfaces {
            description
              "Table of Ethernet Link OAM enabled interfaces
             within Event Log Entry container";
            list event-log-entry-interface {
              key "member-interface";
              description
                "Ethernet Link OAM enabled interface to get
               Event Log Entry for";
              container event-log-entry-indexes {
                description
                  "Table of Ethernet Link OAM Event Log entries
                 on the interface";
                list event-log-entry-index {
                  key "event-log-entry-index";
                  description
                    "Ethernet Link OAM Event Log Entry Index to
                   get data for";
                  leaf event-log-entry-index {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Event Log Entry index";
                  }
    
                  leaf index {
                    type uint32;
                    description
                      "Index in the log entries table";
                  }
    
                  leaf handle {
                    type xr:Interface-name;
                    description
                      "Interface handle for this log entry";
                  }
    
                  leaf oui {
                    type yang:hex-string;
                    description
                      "OUI for the log entry";
                  }
    
                  leaf timestamp {
                    type uint64;
                    description
                      "Timestamp in hundredths of a second since unix
    epoch for when the event occurred";
                  }
    
                  leaf type {
                    type Log;
                    description
                      "Type of event that this entry describes";
                  }
    
                  leaf location {
                    type Log-location;
                    description
                      "Where the event occurred";
                  }
    
                  leaf event-total {
                    type uint32;
                    description
                      "Total number of times event has occurred";
                  }
    
                  leaf action-taken {
                    type Action;
                    description
                      "Local action taken (If applicable)";
                  }
    
                  leaf window {
                    type uint64;
                    description
                      "Size of the window (If applicable)";
                  }
    
                  leaf threshold {
                    type uint64;
                    description
                      "Size of the threshold (If applicable)";
                  }
    
                  leaf local-high-threshold {
                    type uint64;
                    description
                      "Size of the local high threshold (If applicable)
    . For remote threshold events this is scaled for
    comparison with the Breaching Value. This is to
    account for different local and remote window
    sizes.";
                  }
    
                  leaf value {
                    type uint64;
                    description
                      "Breaching value (If applicable)";
                  }
    
                  leaf running-total {
                    type uint64;
                    description
                      "The running total number of errors seen since
    OAM was enabled on the interface(If applicable)";
                  }
    
                  leaf window-config-units {
                    type uint64;
                    description
                      "The window in the units that are currently
    configured";
                  }
    
                  leaf window-units {
                    type uint8;
                    description
                      "The units in which the window size is configured
    .";
                  }
    
                  leaf threshold-config-units {
                    type uint64;
                    description
                      "The threshold in the units that are currently
    configured";
                  }
    
                  leaf threshold-units {
                    type uint8;
                    description
                      "The units in which the threshold size is
    configured.";
                  }
    
                  leaf local-high-threshold-config-units {
                    type uint64;
                    description
                      "The local high threshold in the units that are
    currently configured";
                  }
    
                  leaf value-config-units {
                    type uint64;
                    description
                      "The breaching value in the units that are
    currently configured";
                  }
                }  // list event-log-entry-index
              }  // container event-log-entry-indexes
    
              leaf member-interface {
                type xr:Interface-name;
                description "Member Interface";
              }
            }  // list event-log-entry-interface
          }  // container event-log-entry-interfaces
    
          container stats-interfaces {
            description
              "Table of Ethernet Link OAM enabled interfaces
             within Stats container";
            list stats-interface {
              key "member-interface";
              description
                "Ethernet Link OAM interface to get Stats for";
              leaf member-interface {
                type xr:Interface-name;
                description "Member Interface";
              }
    
              leaf information-tx {
                type uint32;
                description
                  "Number of information OAMPDUs transmitted";
              }
    
              leaf information-rx {
                type uint32;
                description
                  "Number of information OAMPDUs received";
              }
    
              leaf unique-event-notification-tx {
                type uint32;
                description
                  "Number of unique event notification OAMPDUs
    transmitted";
              }
    
              leaf unique-event-notification-rx {
                type uint32;
                description
                  "Number of unique event notification OAMPDUs
    received";
              }
    
              leaf duplicate-event-notification-tx {
                type uint32;
                description
                  "Number of duplicate event notification OAMPDUs
    transmitted";
              }
    
              leaf duplicate-event-notification-rx {
                type uint32;
                description
                  "Number of duplicate event notification OAMPDUs
    received";
              }
    
              leaf loopback-control-tx {
                type uint32;
                description
                  "Number of loopback control OAMPDUs transmitted";
              }
    
              leaf loopback-control-rx {
                type uint32;
                description
                  "Number of loopback control OAMPDUs received";
              }
    
              leaf variable-request-tx {
                type uint32;
                description
                  "Number of variable request OAMPDUs transmitted";
              }
    
              leaf variable-request-rx {
                type uint32;
                description
                  "Number of variable request OAMPDUs received";
              }
    
              leaf variable-response-tx {
                type uint32;
                description
                  "Number of variable response OAMPDUs transmitted";
              }
    
              leaf variable-response-rx {
                type uint32;
                description
                  "Number of variable response OAMPDUs received";
              }
    
              leaf org-specific-tx {
                type uint32;
                description
                  "Number of organization specific OAMPDUs
    transmitted";
              }
    
              leaf org-specific-rx {
                type uint32;
                description
                  "Number of organization specific OAMPDUs received";
              }
    
              leaf unsupported-codes-tx {
                type uint32;
                description
                  "Number of OAMPDUs with unsupported codes
    transmitted";
              }
    
              leaf unsupported-codes-rx {
                type uint32;
                description
                  "Number of OAMPDUs with unsupported codes
    received";
              }
    
              leaf frames-lost-due-to-oam {
                type uint32;
                description
                  "Number of frames lost due to OAM";
              }
    
              leaf fixed-frames-rx {
                type uint32;
                description
                  "Number of RX frames 'fixed' by OAM";
              }
    
              leaf local-error-symbol-period-records {
                type uint32;
                description
                  "Number of local error symbol period records";
              }
    
              leaf local-error-frame-records {
                type uint32;
                description
                  "Number of local error frame records";
              }
    
              leaf local-error-frame-period-records {
                type uint32;
                description
                  "Number of local error frame period records";
              }
    
              leaf local-error-frame-second-records {
                type uint32;
                description
                  "Number of local error frame second records";
              }
    
              leaf remote-error-symbol-period-records {
                type uint32;
                description
                  "Number of remote error symbol period records";
              }
    
              leaf remote-error-frame-records {
                type uint32;
                description
                  "Number of remote error frame records";
              }
    
              leaf remote-error-frame-period-records {
                type uint32;
                description
                  "Number of remote error frame period records";
              }
    
              leaf remote-error-frame-second-records {
                type uint32;
                description
                  "Number of remote error frame second records";
              }
            }  // list stats-interface
          }  // container stats-interfaces
        }  // container ether-link-oam
      }  // module Cisco-IOS-XR-ethernet-link-oam-oper
    

© 2023 YumaWorks, Inc. All rights reserved.