Cisco-IOS-XR-ethernet-cfm-oper

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

  • Version: 2020-10-07

    Cisco-IOS-XR-ethernet-cfm-oper@2020-10-07


    
      module Cisco-IOS-XR-ethernet-cfm-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper";
    
        prefix ethernet-cfm-oper;
    
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ethernet-cfm-datatypes {
          prefix dt1;
        }
        import Cisco-IOS-XR-infra-sla-oper {
          prefix a1;
        }
    
        include Cisco-IOS-XR-ethernet-cfm-oper-sub4 {
          revision-date "2020-10-07";
        }
        include Cisco-IOS-XR-ethernet-cfm-oper-sub3 {
          revision-date "2020-10-07";
        }
        include Cisco-IOS-XR-ethernet-cfm-oper-sub2 {
          revision-date "2020-10-07";
        }
        include Cisco-IOS-XR-ethernet-cfm-oper-sub1 {
          revision-date "2020-10-07";
        }
    
        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-cfm package operational data.
    
    This module contains definitions
    for the following management objects:
      cfm: CFM operational data
    
    This YANG module augments the
      Cisco-IOS-XR-infra-sla-oper
    module with state data.
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-10-07" {
          description
            "Added the Link Loss Forwarding feature.";
        }
    
        revision "2020-07-07" {
          description
            "Added SLA summary information.";
        }
    
        revision "2019-10-02" {
          description
            "Bandwidth notification addition";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-12-20" {
          description
            "Bandwidth notification class and type name update.";
        }
    
        revision "2017-10-06" {
          description
            "Traceroute transaction ID changed from int to uint.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.3.0";
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Cfm-ais-dir {
          type enumeration {
            enum "up" {
              value 0;
              description "Packets sent inward";
            }
            enum "down" {
              value 1;
              description "Packets sent outward";
            }
          }
          description "Cfm ais dir";
        }
    
        container cfm {
          config false;
          description "CFM operational data";
          container nodes {
            description
              "Node table for node-specific operational data";
            list node {
              key "node";
              description
                "Node-specific data for a particular node";
              container interface-aises {
                description
                  "Interface AIS table";
                list interface-ais {
                  key "interface direction";
                  description
                    "AIS statistics for a particular interface";
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf direction {
                    type Cfm-ais-dir;
                    description "AIS Direction";
                  }
    
                  container statistics {
                    description "AIS statistics";
                    container defects {
                      description
                        "Defects detected";
                      container remote-meps-defects {
                        description
                          "Defects detected from remote MEPs";
                        leaf loss-threshold-exceeded {
                          type boolean;
                          description
                            "Timed out (loss threshold exceeded)";
                        }
    
                        leaf invalid-level {
                          type boolean;
                          description
                            "Invalid level";
                        }
    
                        leaf invalid-maid {
                          type boolean;
                          description
                            "Invalid MAID";
                        }
    
                        leaf invalid-ccm-interval {
                          type boolean;
                          description
                            "Invalid CCM interval";
                        }
    
                        leaf received-our-mac {
                          type boolean;
                          description
                            "Loop detected (our MAC address received)";
                        }
    
                        leaf received-our-mep-id {
                          type boolean;
                          description
                            "Configuration Error (our MEP ID received)";
                        }
    
                        leaf received-rdi {
                          type boolean;
                          description
                            "Remote defection indication received";
                        }
                      }  // container remote-meps-defects
    
                      leaf ais-received {
                        type boolean;
                        description
                          "AIS or LCK received";
                      }
    
                      leaf peer-meps-that-timed-out {
                        type uint32;
                        description
                          "Number of peer MEPs that have timed out";
                      }
    
                      leaf missing {
                        type uint32;
                        description
                          "Number of missing peer MEPs";
                      }
    
                      leaf auto-missing {
                        type uint32;
                        description
                          "Number of missing auto cross-check MEPs";
                      }
    
                      leaf unexpected {
                        type uint32;
                        description
                          "Number of unexpected peer MEPs";
                      }
    
                      leaf local-port-status {
                        type boolean;
                        description
                          "The local port or interface is down";
                      }
    
                      leaf peer-port-status {
                        type boolean;
                        description
                          "A peer port or interface is down";
                      }
                    }  // container defects
    
                    container last-started {
                      description
                        "Time elapsed since sending last started";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description "Seconds";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds";
                      }
                    }  // container last-started
    
                    leaf direction {
                      type Cfm-bag-direction;
                      description
                        "Direction of AIS packets";
                    }
    
                    leaf lowest-level {
                      type Cfm-bag-md-level;
                      description
                        "Level of the lowest MEP transmitting AIS";
                    }
    
                    leaf transmission-level {
                      type Cfm-bag-md-level;
                      description
                        "Level that AIS packets are transmitted on";
                    }
    
                    leaf transmission-interval {
                      type Cfm-bag-ais-interval;
                      description
                        "Interval at which AIS packets are transmitted";
                    }
    
                    leaf sent-packets {
                      type uint32;
                      description
                        "Total number of packets sent by the transmitting
    MEP";
                    }
    
                    leaf-list via-level {
                      type Cfm-bag-md-level;
                      description
                        "Levels of other MEPs receiving AIS";
                    }
                  }  // container statistics
    
                  leaf interface-xr {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "IM Interface state";
                  }
    
                  leaf interworking-state {
                    type Cfm-bag-iw-state;
                    description
                      "Interface interworking state";
                  }
    
                  leaf stp-state {
                    type Cfm-bag-stp-state;
                    description "STP state";
                  }
                }  // list interface-ais
              }  // container interface-aises
    
              container bandwidth-notifications {
                description
                  "Bandwidth Notifications Table";
                list bandwidth-notification {
                  key "interface md-level mep-direction port-id mac-address";
                  description
                    "Bandwidth Notification";
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf md-level {
                    type uint32;
                    description "MDLevel";
                  }
    
                  leaf mep-direction {
                    type dt1:Cfm-mep-dir;
                    description "MepDirection";
                  }
    
                  leaf port-id {
                    type uint32;
                    description "PortID";
                  }
    
                  leaf mac-address {
                    type yang:mac-address;
                    description "MAC Address";
                  }
    
                  container bnm-enabled-link {
                    description
                      "BNM Enabled Link";
                    container time-in-state {
                      description
                        "Elapsed time in this state";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description "Seconds";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds";
                      }
                    }  // container time-in-state
    
                    container last-bnm-received {
                      description
                        "Last BNM received";
                      container time-received {
                        description
                          "Time elapsed since BNM received";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description "Seconds";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds";
                        }
                      }  // container time-received
    
                      leaf nominal-bandwidth {
                        type uint32;
                        description
                          "Nominal bandwidth";
                      }
    
                      leaf current-bandwidth {
                        type uint32;
                        description
                          "Current bandwidth";
                      }
    
                      leaf interval {
                        type Cfm-bag-bnm-interval;
                        description "Interval";
                      }
    
                      leaf packet-type {
                        type Cfm-pm-bnm-packet;
                        description
                          "Packet type";
                      }
                    }  // container last-bnm-received
    
                    leaf port-id {
                      type uint32;
                      description "Port ID";
                    }
    
                    leaf mac-address {
                      type Mac-address;
                      description "MAC address";
                    }
    
                    leaf bnm-link-state {
                      type Cfm-pm-bnm-link-state;
                      description
                        "State of the BNM Enabled Link state machine";
                    }
    
                    leaf nominal-bandwidth {
                      type uint32;
                      description
                        "Nominal Bandwidth";
                    }
    
                    leaf reported-bandwidth {
                      type uint32;
                      description
                        "Reported Bandwidth";
                    }
    
                    leaf transitions-to-degraded {
                      type uint32;
                      description
                        "Number of transitions into degraded state";
                    }
    
                    leaf holdoff-remaining {
                      type uint32;
                      description
                        "Time remaining on hold-off timer";
                    }
    
                    leaf wait-to-restore-remaining {
                      type uint32;
                      description
                        "Time remaining on wait-to-restore timer";
                    }
    
                    leaf bn-ms-received {
                      type uint32;
                      description
                        "Number of BNMs received";
                    }
                  }  // container bnm-enabled-link
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description
                      "Maintenance level";
                  }
    
                  leaf interface-xr {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf mep-direction-xr {
                    type Cfm-bag-direction;
                    description
                      "MEP facing direction";
                  }
                }  // list bandwidth-notification
              }  // container bandwidth-notifications
    
              container interface-statistics {
                description
                  "Interface Statistics table";
                list interface-statistic {
                  key "interface";
                  description
                    "Counters for a particular interface";
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  container statistics {
                    description "EFP statistics";
                    leaf malformed-packets {
                      type uint64;
                      description
                        "Number of malformed packets received at this EFP";
                    }
    
                    leaf dropped-packets {
                      type uint64;
                      description
                        "Number of packets dropped at this EFP";
                    }
    
                    leaf last-malformed-opcode {
                      type Cfm-bag-opcode;
                      description
                        "Opcode for last malformed packet";
                    }
    
                    leaf last-malformed-reason {
                      type Cfm-pm-pkt-action;
                      description
                        "Reason last malformed packet was malformed";
                    }
                  }  // container statistics
    
                  leaf interface-xr {
                    type xr:Interface-name;
                    description "Interface";
                  }
                }  // list interface-statistic
              }  // container interface-statistics
    
              container interface-llfs {
                description
                  "Interface LLF table";
                list interface-llf {
                  key "interface";
                  description
                    "LLF statistics for a particular interface";
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf interface-xr {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "IM Interface state";
                  }
    
                  leaf interworking-state {
                    type Cfm-bag-iw-state;
                    description
                      "Interface interworking state";
                  }
    
                  leaf stp-state {
                    type Cfm-bag-stp-state;
                    description "STP state";
                  }
    
                  list meps {
                    description
                      "List of MEPs on interface";
                    container defects {
                      description
                        "Defects detected";
                      container remote-meps-defects {
                        description
                          "Defects detected from remote MEPs";
                        leaf loss-threshold-exceeded {
                          type boolean;
                          description
                            "Timed out (loss threshold exceeded)";
                        }
    
                        leaf invalid-level {
                          type boolean;
                          description
                            "Invalid level";
                        }
    
                        leaf invalid-maid {
                          type boolean;
                          description
                            "Invalid MAID";
                        }
    
                        leaf invalid-ccm-interval {
                          type boolean;
                          description
                            "Invalid CCM interval";
                        }
    
                        leaf received-our-mac {
                          type boolean;
                          description
                            "Loop detected (our MAC address received)";
                        }
    
                        leaf received-our-mep-id {
                          type boolean;
                          description
                            "Configuration Error (our MEP ID received)";
                        }
    
                        leaf received-rdi {
                          type boolean;
                          description
                            "Remote defection indication received";
                        }
                      }  // container remote-meps-defects
    
                      leaf ais-received {
                        type boolean;
                        description
                          "AIS or LCK received";
                      }
    
                      leaf peer-meps-that-timed-out {
                        type uint32;
                        description
                          "Number of peer MEPs that have timed out";
                      }
    
                      leaf missing {
                        type uint32;
                        description
                          "Number of missing peer MEPs";
                      }
    
                      leaf auto-missing {
                        type uint32;
                        description
                          "Number of missing auto cross-check MEPs";
                      }
    
                      leaf unexpected {
                        type uint32;
                        description
                          "Number of unexpected peer MEPs";
                      }
    
                      leaf local-port-status {
                        type boolean;
                        description
                          "The local port or interface is down";
                      }
    
                      leaf peer-port-status {
                        type boolean;
                        description
                          "A peer port or interface is down";
                      }
                    }  // container defects
    
                    leaf mep-id {
                      type uint16;
                      description "MEP ID";
                    }
    
                    leaf restore-timer {
                      type uint32;
                      description
                        "Restore timer";
                    }
                  }  // list meps
                }  // list interface-llf
              }  // container interface-llfs
    
              container malformed-packets-table {
                description
                  "Malformed Packets Table";
                container malformed-packets-interfaces {
                  description
                    "Table of interfaces which have received
    malformed packets";
                  list malformed-packets-interface {
                    key "interface";
                    description
                      "Malformed packets received on a specific
    interface";
                    leaf interface {
                      type xr:Interface-name;
                      description "Interface";
                    }
    
                    list malformed-packet-array {
                      description
                        "Malformed Packet Array";
                      leaf reason {
                        type Cfm-pm-pkt-action;
                        description
                          "Reason for being malformed";
                      }
    
                      leaf direction {
                        type Cfm-bag-pkt-direction;
                        description
                          "Direction the packet was travelling in";
                      }
    
                      leaf source-mac-address {
                        type Mac-address;
                        description
                          "Source MAC address";
                      }
    
                      leaf dest-mac-address {
                        type Mac-address;
                        description
                          "Destination MAC address";
                      }
    
                      leaf timestamp {
                        type uint32;
                        units "second";
                        description
                          "Timestamp for the packet in seconds";
                      }
    
                      leaf timestamp-msec {
                        type uint32;
                        description
                          "Millisecond resolution for the timestamp";
                      }
    
                      leaf interface-handle {
                        type xr:Interface-name;
                        description
                          "Interface handle";
                      }
    
                      leaf packet-content {
                        type yang:hex-string;
                        description
                          "Raw packet content";
                      }
                    }  // list malformed-packet-array
                  }  // list malformed-packets-interface
                }  // container malformed-packets-interfaces
    
                container malformed-packets-unknown-interface {
                  description
                    "Malformed packets received on unknown
    interfaces";
                  list malformed-packet-array {
                    description
                      "Malformed Packet Array";
                    leaf reason {
                      type Cfm-pm-pkt-action;
                      description
                        "Reason for being malformed";
                    }
    
                    leaf direction {
                      type Cfm-bag-pkt-direction;
                      description
                        "Direction the packet was travelling in";
                    }
    
                    leaf source-mac-address {
                      type Mac-address;
                      description
                        "Source MAC address";
                    }
    
                    leaf dest-mac-address {
                      type Mac-address;
                      description
                        "Destination MAC address";
                    }
    
                    leaf timestamp {
                      type uint32;
                      units "second";
                      description
                        "Timestamp for the packet in seconds";
                    }
    
                    leaf timestamp-msec {
                      type uint32;
                      description
                        "Millisecond resolution for the timestamp";
                    }
    
                    leaf interface-handle {
                      type xr:Interface-name;
                      description
                        "Interface handle";
                    }
    
                    leaf packet-content {
                      type yang:hex-string;
                      description
                        "Raw packet content";
                    }
                  }  // list malformed-packet-array
                }  // container malformed-packets-unknown-interface
              }  // container malformed-packets-table
    
              container summary {
                description
                  "Summary CFM information on MEPs, traceroute,
    and more";
                leaf domains {
                  type uint32;
                  description
                    "The number of domains in the CFM database.";
                }
    
                leaf services {
                  type uint32;
                  description
                    "The number of services in the CFM database.";
                }
    
                leaf ccm-rate {
                  type uint32;
                  description
                    "The combined rate of CCMs on this card.";
                }
    
                leaf local-meps {
                  type uint32;
                  description
                    "The number of local MEPs in the CFM database.";
                }
    
                leaf operational-local-meps {
                  type uint32;
                  description
                    "The number of operational local MEPs.";
                }
    
                leaf down-meps {
                  type uint32;
                  description
                    "The number of down-MEPs.";
                }
    
                leaf up-meps {
                  type uint32;
                  description
                    "The number of up-MEPs.";
                }
    
                leaf offloaded {
                  type uint32;
                  description
                    "The number of MEPs for which CCM processing has
    been offloaded.";
                }
    
                leaf offloaded-at3-3ms {
                  type uint32;
                  description
                    "The number of MEPs offloaded with CCMs at 3.3ms
    intervals.";
                }
    
                leaf offloaded-at10ms {
                  type uint32;
                  description
                    "The number of MEPs offloaded with CCMs at 10ms
    intervals.";
                }
    
                leaf disabled-misconfigured {
                  type uint32;
                  description
                    "The number of local MEPs disabled due to
    configuration errors.";
                }
    
                leaf disabled-out-of-resources {
                  type uint32;
                  description
                    "The number of local MEPs disabled due to lack of
    resources.";
                }
    
                leaf disabled-operational-error {
                  type uint32;
                  description
                    "The number of local MEPs disabled due to
    operational errors.";
                }
    
                leaf peer-meps {
                  type uint32;
                  description
                    "The number of peer MEPs.";
                }
    
                leaf operational-peer-meps {
                  type uint32;
                  description
                    "The number of operational peer MEPs recorded in
    the CFM database.";
                }
    
                leaf peer-meps-with-defects {
                  type uint32;
                  description
                    "The number of peer MEPs with defects.";
                }
    
                leaf peer-meps-without-defects {
                  type uint32;
                  description
                    "The number of peer MEPs without defects.";
                }
    
                leaf peer-meps-timed-out {
                  type uint32;
                  description
                    "The number of peer MEPs that have timed out.";
                }
    
                leaf mips {
                  type uint32;
                  description
                    "The number of MIPs";
                }
    
                leaf interfaces {
                  type uint32;
                  description
                    "The number of interfaces running CFM.";
                }
    
                leaf bridge-domains-and-xconnects {
                  type uint32;
                  description
                    "Number or bridge domains and crossconnects.";
                }
    
                leaf traceroute-cache-entries {
                  type uint32;
                  description
                    "Number of traceroute cache entries.";
                }
    
                leaf traceroute-cache-replies {
                  type uint32;
                  description
                    "Number of traceroute cache replies.";
                }
    
                leaf ccm-learning-db-entries {
                  type uint32;
                  description
                    "Number of entries in the CCM learning database.";
                }
    
                leaf issu-role {
                  type Cfm-bag-issu-role;
                  description
                    "ISSU Role of CFM-D, if any.";
                }
    
                leaf bnm-enabled-links {
                  type uint32;
                  description
                    "Number of BNM Enabled Links";
                }
              }  // container summary
    
              container ccm-learning-databases {
                description
                  "CCMLearningDatabase table";
                list ccm-learning-database {
                  key "domain service mac-address";
                  description
                    "CCM Learning Database entry";
                  leaf domain {
                    type string {
                      length "1..127";
                    }
                    description
                      "Maintenance Domain";
                  }
    
                  leaf service {
                    type string {
                      length "1..127";
                    }
                    description
                      "Service (Maintenance Association)";
                  }
    
                  leaf mac-address {
                    type yang:mac-address;
                    description "MAC Address";
                  }
    
                  leaf domain-xr {
                    type string;
                    description
                      "Maintenance domain name";
                  }
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description
                      "Maintenance level";
                  }
    
                  leaf service-xr {
                    type string;
                    description
                      "Maintenance association name";
                  }
    
                  leaf source-mac-address {
                    type Mac-address;
                    description
                      "Source MAC address";
                  }
    
                  leaf ingress-interface {
                    type uint32;
                    description
                      "The XID of the ingress interface for the CCM";
                  }
    
                  leaf stale {
                    type boolean;
                    description
                      "The XID is stale and may have been reused for a
    different interface";
                  }
    
                  leaf ingress-interface-string {
                    type string;
                    description
                      "String representation of the Bridge Domain or
    Cross-Connect associated with the ingress XID";
                  }
                }  // list ccm-learning-database
              }  // container ccm-learning-databases
    
              leaf node {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
    
          container global {
            description
              "Global operational data";
            container incomplete-traceroutes {
              description
                "Incomplete Traceroute table";
              list incomplete-traceroute {
                key "domain service mep-id interface transaction-id";
                description
                  "Information about a traceroute operation that
    has not yet timed out";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf mep-id {
                  type dt1:Cfm-mep-id;
                  description "MEP ID";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                leaf transaction-id {
                  type uint32;
                  description "Transaction ID";
                }
    
                container traceroute-information {
                  description
                    "Information about the traceroute operation";
                  container options {
                    description
                      "Options affecting traceroute behavior";
                    container basic-options {
                      when
                        "../mode = 'cfm-pm-lt-mode-basic'" {
                        description
                          "../Mode = 'CFM_PM_LT_MODE_BASIC'";
                      }
                      description
                        "Options for a basic IEEE 802.1ag Linktrace";
                      leaf is-auto {
                        type boolean;
                        description
                          "Traceroute was initiated automatically";
                      }
    
                      leaf fdb-only {
                        type boolean;
                        description
                          "Only use the Filtering Database for forwarding
    lookups";
                      }
                    }  // container basic-options
    
                    container exploratory-options {
                      when
                        "../mode = 'cfm-pm-lt-mode-exploratory'" {
                        description
                          "../Mode = 'CFM_PM_LT_MODE_EXPLORATORY'";
                      }
                      description
                        "Options for an Exploratory Linktrace";
                      leaf delay-model {
                        type Cfm-pm-elt-delay-model;
                        description
                          "Delay model for delay calculations";
                      }
    
                      leaf delay-constant-factor {
                        type uint32;
                        description
                          "Constant Factor for delay calculations";
                      }
    
                      leaf reply-filter {
                        type Cfm-pm-elm-reply-filter;
                        description
                          "Reply Filtering mode used by responders";
                      }
                    }  // container exploratory-options
    
                    leaf mode {
                      type Cfm-pm-lt-mode;
                      description "Mode";
                    }
                  }  // container options
    
                  leaf domain {
                    type string;
                    description
                      "Maintenance domain name";
                  }
    
                  leaf service {
                    type string;
                    description "Service name";
                  }
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description
                      "Maintenance level";
                  }
    
                  leaf source-mep-id {
                    type uint16;
                    description "Source MEP ID";
                  }
    
                  leaf source-interface {
                    type xr:Interface-name;
                    description
                      "Source interface";
                  }
    
                  leaf source-mac-address {
                    type Mac-address;
                    description
                      "Source MAC address";
                  }
    
                  leaf target-mac-address {
                    type Mac-address;
                    description
                      "Target MAC address";
                  }
    
                  leaf directed-mac-address {
                    type Mac-address;
                    description
                      "Directed MAC address";
                  }
    
                  leaf target-mep-id {
                    type uint16;
                    description "Target MEP ID";
                  }
    
                  leaf timestamp {
                    type uint64;
                    units "second";
                    description
                      "Timestamp of initiation time (seconds)";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time to live";
                  }
    
                  leaf transaction-id {
                    type uint32;
                    description "Transaction ID";
                  }
                }  // container traceroute-information
    
                leaf time-left {
                  type uint64;
                  units "second";
                  description
                    "Time (in seconds) before the traceroute
    completes";
                }
              }  // list incomplete-traceroute
            }  // container incomplete-traceroutes
    
            container maintenance-points {
              description
                "Maintenance Points table";
              list maintenance-point {
                key "domain service interface";
                description
                  "Information about a particular Maintenance
    Point";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                container maintenance-point {
                  description
                    "Maintenance Point";
                  leaf domain-name {
                    type string;
                    description "Domain name";
                  }
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description "Domain level";
                  }
    
                  leaf service-name {
                    type string;
                    description "Service name";
                  }
    
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf maintenance-point-type {
                    type Cfm-ma-mp-variety;
                    description
                      "Type of Maintenance Point";
                  }
    
                  leaf mep-id {
                    type uint16;
                    description "MEP ID";
                  }
                }  // container maintenance-point
    
                leaf mep-has-error {
                  type boolean;
                  description "MEP error flag";
                }
    
                leaf mac-address {
                  type Mac-address;
                  description "MAC Address";
                }
              }  // list maintenance-point
            }  // container maintenance-points
    
            container global-configuration-errors {
              description
                "CFM Global Manager Configuration Error
    Information";
              list global-configuration-error {
                key "domain service";
                description
                  "Information about a particular configuration
    error";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                container bridge-domain-id {
                  description
                    "BD/XC ID, or Service name if the Service is
    'down-only'";
                  leaf bridge-domain-id-format {
                    type Cfm-bag-bdid-fmt;
                    description
                      "Bridge domain identifier format";
                  }
    
                  leaf group {
                    type string;
                    description
                      "Name of the Bridge/XConnect Group";
                  }
    
                  leaf name {
                    type string;
                    description
                      "Name of the Bridge Domain/XConnect";
                  }
    
                  leaf ce-id {
                    type uint16;
                    description
                      "Local Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf remote-ce-id {
                    type uint16;
                    description
                      "Remote Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf evi {
                    type uint32;
                    description
                      "EVPN ID for VLAN-aware flexible cross-connects";
                  }
                }  // container bridge-domain-id
    
                leaf domain-name {
                  type string;
                  description "Domain name";
                }
    
                leaf level {
                  type Cfm-bag-md-level;
                  description "Level";
                }
    
                leaf service-name {
                  type string;
                  description "Service name";
                }
    
                leaf bridge-domain-is-configured {
                  type boolean;
                  description
                    "The BD/XC is configured globally";
                }
    
                leaf l2-fib-download-error {
                  type boolean;
                  description
                    "The BD/XC could not be downloaded to L2FIB";
                }
              }  // list global-configuration-error
            }  // container global-configuration-errors
    
            container mep-configuration-errors {
              description
                "MEP configuration errors table";
              list mep-configuration-error {
                key "domain service interface";
                description
                  "Information about a particular configuration
    error";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                container mep {
                  description
                    "The MEP that has errors";
                  leaf domain-name {
                    type string;
                    description "Domain name";
                  }
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description "Domain level";
                  }
    
                  leaf service-name {
                    type string;
                    description "Service name";
                  }
    
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf maintenance-point-type {
                    type Cfm-ma-mp-variety;
                    description
                      "Type of Maintenance Point";
                  }
    
                  leaf mep-id {
                    type uint16;
                    description "MEP ID";
                  }
                }  // container mep
    
                container service-bridge-domain {
                  description
                    "BD/XC ID for the MEP's Service, or Service name
    if the Service is 'down-only'";
                  leaf bridge-domain-id-format {
                    type Cfm-bag-bdid-fmt;
                    description
                      "Bridge domain identifier format";
                  }
    
                  leaf group {
                    type string;
                    description
                      "Name of the Bridge/XConnect Group";
                  }
    
                  leaf name {
                    type string;
                    description
                      "Name of the Bridge Domain/XConnect";
                  }
    
                  leaf ce-id {
                    type uint16;
                    description
                      "Local Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf remote-ce-id {
                    type uint16;
                    description
                      "Remote Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf evi {
                    type uint32;
                    description
                      "EVPN ID for VLAN-aware flexible cross-connects";
                  }
                }  // container service-bridge-domain
    
                container interface-bridge-domain {
                  description
                    "ID of the BD/XC that the MEP's EFP is in, if any";
                  leaf bridge-domain-id-format {
                    type Cfm-bag-bdid-fmt;
                    description
                      "Bridge domain identifier format";
                  }
    
                  leaf group {
                    type string;
                    description
                      "Name of the Bridge/XConnect Group";
                  }
    
                  leaf name {
                    type string;
                    description
                      "Name of the Bridge Domain/XConnect";
                  }
    
                  leaf ce-id {
                    type uint16;
                    description
                      "Local Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf remote-ce-id {
                    type uint16;
                    description
                      "Remote Customer Edge Identifier (CE-ID)";
                  }
    
                  leaf evi {
                    type uint32;
                    description
                      "EVPN ID for VLAN-aware flexible cross-connects";
                  }
                }  // container interface-bridge-domain
    
                container satellite-capabilities {
                  description
                    "Satellite Capabilities";
                  container loopback {
                    description "Loopback";
                    leaf responder {
                      type boolean;
                      description "Responder";
                    }
    
                    leaf controller {
                      type boolean;
                      description "Controller";
                    }
                  }  // container loopback
    
                  container delay-measurement {
                    description
                      "Delay Measurement";
                    leaf responder {
                      type boolean;
                      description "Responder";
                    }
    
                    leaf controller {
                      type boolean;
                      description "Controller";
                    }
                  }  // container delay-measurement
    
                  container synthetic-loss-measurement {
                    description
                      "Synthetic Loss Measurement";
                    leaf responder {
                      type boolean;
                      description "Responder";
                    }
    
                    leaf controller {
                      type boolean;
                      description "Controller";
                    }
                  }  // container synthetic-loss-measurement
                }  // container satellite-capabilities
    
                leaf ccm-interval {
                  type Cfm-bag-ccm-interval;
                  description
                    "Interval between CCMs sent on this MEP.";
                }
    
                leaf no-domain {
                  type boolean;
                  description
                    "The MEP's Domain is not configured";
                }
    
                leaf no-service {
                  type boolean;
                  description
                    "The MEP's Service is not configured";
                }
    
                leaf bridge-domain-mismatch {
                  type boolean;
                  description
                    "The MEP's EFP is not in the Service's Bridge
    Domain";
                }
    
                leaf level-conflict {
                  type boolean;
                  description
                    "Another MEP facing in the same direction is at
    the same Maintenance Level";
                }
    
                leaf ccm-interval-not-supported {
                  type boolean;
                  description
                    "CCM Interval is less than minimum interval
    supported by hardware";
                }
    
                leaf offload-out-of-resources {
                  type boolean;
                  description
                    "Offload resource limits have been exceeded";
                }
    
                leaf offload-multiple-local-mep {
                  type boolean;
                  description
                    "Multiple offloaded MEPs on the same interface
    are not supported.";
                }
    
                leaf offload-no-cross-check {
                  type boolean;
                  description
                    "The MEP should be offloaded but crosscheck has
    not been configured.";
                }
    
                leaf offload-multiple-peer-meps {
                  type boolean;
                  description
                    "The MEP should be offloaded but multiple
    crosscheck MEPs have been configured, and this
    is not supported.";
                }
    
                leaf offload-mep-direction-not-supported {
                  type boolean;
                  description
                    "The MEP direction does not support offload.";
                }
    
                leaf ais-configured {
                  type boolean;
                  description
                    "AIS is configured on the same interface as the
    down MEP";
                }
    
                leaf bundle-level0 {
                  type boolean;
                  description
                    "The MEP is configured in a domain at level 0, on
    a bundle interface or sub-interface.  This is
    not supported";
                }
    
                leaf bridge-domain-not-in-bd-infra {
                  type boolean;
                  description
                    "A BD/XC specified in the MEG config, but it does
    not exist globally.";
                }
    
                leaf maid-format-not-supported {
                  type boolean;
                  description
                    "The configured MAID format is not supported for
    hardware offload.";
                }
    
                leaf sman-format-not-supported {
                  type boolean;
                  description
                    "The configured SMAN format is not supported for
    hardware offload.";
                }
    
                leaf mdid-format-not-supported {
                  type boolean;
                  description
                    "The configured MDID format is not supported for
    hardware offload.";
                }
    
                leaf fatal-offload-error {
                  type boolean;
                  description
                    "The platform returned a fatal error when passed
    the offload session.";
                }
    
                leaf satellite-limitation {
                  type boolean;
                  description
                    "A satellite limitation is preventing MEP being
    offloaded to satellite.";
                }
    
                leaf sla-loopback-operations-disabled {
                  type boolean;
                  description
                    "In-progress Ethernet SLA loopback operations are
    disabled due to satellite having loopback
    responder-only capabilities.";
                }
    
                leaf sla-synthetic-loss-operations-disabled {
                  type boolean;
                  description
                    "In-progress Ethernet SLA synthetic loss
    measurement operations are disabled due to
    satellite having synthetic loss measurement
    responder-only capabilities.";
                }
    
                leaf sla-delay-measurement-operations-disabled {
                  type boolean;
                  description
                    "In-progress Ethernet SLA delay measurement
    operations are disabled due to satellite having
    delay measurement responder-only capabilities.";
                }
    
                leaf sla-threshold-efd-invalid {
                  type boolean;
                  description
                    "One or more SLA thresholds with the EFD action
    are configured on a MEP that does not support
    EFD";
                }
    
                leaf sla-threshold-efd-disabled {
                  type boolean;
                  description
                    "One or more SLA thresholds with the EFD action
    are configured on a MEP that does not have EFD
    enabled";
                }
    
                leaf no-valid-mac-address {
                  type boolean;
                  description
                    "The EFP doesn't have a valid MAC address yet.
    This will also get set if the MAC address we
    have is a multicast address.";
                }
    
                leaf no-interface-type {
                  type boolean;
                  description
                    "We haven't yet been able to look up the
    interface type to find whether the interface is
    a bundle.";
                }
    
                leaf not-in-im {
                  type boolean;
                  description
                    "The EFP has been deleted from IM.";
                }
    
                leaf no-mlacp {
                  type boolean;
                  description
                    "The EFP is a bundle and the mLACP mode is not
    yet known.";
                }
    
                leaf satellite-error-string {
                  type string;
                  description
                    "Error string returned from satellite";
                }
    
                leaf satellite-id {
                  type uint16;
                  description
                    "ID of the satellite";
                }
    
                leaf llf-on-down-mep {
                  type boolean;
                  description
                    "LLF configured on a down MEP";
                }
              }  // list mep-configuration-error
            }  // container mep-configuration-errors
    
            container traceroute-caches {
              description
                "Traceroute Cache table";
              list traceroute-cache {
                key "domain service mep-id interface transaction-id";
                description
                  "Information about a particular traceroute
    operation";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf mep-id {
                  type dt1:Cfm-mep-id;
                  description "MEP ID";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                leaf transaction-id {
                  type uint32;
                  description "Transaction ID";
                }
    
                container traceroute-information {
                  description
                    "Information about the traceroute operation";
                  container options {
                    description
                      "Options affecting traceroute behavior";
                    container basic-options {
                      when
                        "../mode = 'cfm-pm-lt-mode-basic'" {
                        description
                          "../Mode = 'CFM_PM_LT_MODE_BASIC'";
                      }
                      description
                        "Options for a basic IEEE 802.1ag Linktrace";
                      leaf is-auto {
                        type boolean;
                        description
                          "Traceroute was initiated automatically";
                      }
    
                      leaf fdb-only {
                        type boolean;
                        description
                          "Only use the Filtering Database for forwarding
    lookups";
                      }
                    }  // container basic-options
    
                    container exploratory-options {
                      when
                        "../mode = 'cfm-pm-lt-mode-exploratory'" {
                        description
                          "../Mode = 'CFM_PM_LT_MODE_EXPLORATORY'";
                      }
                      description
                        "Options for an Exploratory Linktrace";
                      leaf delay-model {
                        type Cfm-pm-elt-delay-model;
                        description
                          "Delay model for delay calculations";
                      }
    
                      leaf delay-constant-factor {
                        type uint32;
                        description
                          "Constant Factor for delay calculations";
                      }
    
                      leaf reply-filter {
                        type Cfm-pm-elm-reply-filter;
                        description
                          "Reply Filtering mode used by responders";
                      }
                    }  // container exploratory-options
    
                    leaf mode {
                      type Cfm-pm-lt-mode;
                      description "Mode";
                    }
                  }  // container options
    
                  leaf domain {
                    type string;
                    description
                      "Maintenance domain name";
                  }
    
                  leaf service {
                    type string;
                    description "Service name";
                  }
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description
                      "Maintenance level";
                  }
    
                  leaf source-mep-id {
                    type uint16;
                    description "Source MEP ID";
                  }
    
                  leaf source-interface {
                    type xr:Interface-name;
                    description
                      "Source interface";
                  }
    
                  leaf source-mac-address {
                    type Mac-address;
                    description
                      "Source MAC address";
                  }
    
                  leaf target-mac-address {
                    type Mac-address;
                    description
                      "Target MAC address";
                  }
    
                  leaf directed-mac-address {
                    type Mac-address;
                    description
                      "Directed MAC address";
                  }
    
                  leaf target-mep-id {
                    type uint16;
                    description "Target MEP ID";
                  }
    
                  leaf timestamp {
                    type uint64;
                    units "second";
                    description
                      "Timestamp of initiation time (seconds)";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time to live";
                  }
    
                  leaf transaction-id {
                    type uint32;
                    description "Transaction ID";
                  }
                }  // container traceroute-information
    
                leaf replies-dropped {
                  type uint32;
                  description
                    "Count of ignored replies for this request";
                }
    
                list linktrace-reply {
                  description
                    "Received linktrace replies";
                  container header {
                    description "Frame header";
                    leaf level {
                      type Cfm-bag-md-level;
                      description "MD level";
                    }
    
                    leaf version {
                      type uint8;
                      description "Version";
                    }
    
                    leaf use-fdb-only {
                      type boolean;
                      description
                        "Use filtering DB only";
                    }
    
                    leaf forwarded {
                      type boolean;
                      description
                        "LTR was forwarded";
                    }
    
                    leaf terminal-mep {
                      type boolean;
                      description
                        "Terminal MEP reached";
                    }
    
                    leaf transaction-id {
                      type uint32;
                      description
                        "Transaction ID";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "TTL";
                    }
    
                    leaf relay-action {
                      type Cfm-pm-relay-action;
                      description "Relay action";
                    }
                  }  // container header
    
                  container sender-id {
                    description "Sender ID TLV";
                    container chassis-id {
                      description "Chassis ID";
                      container chassis-id-value {
                        description
                          "Chassis ID (Current)";
                        leaf chassis-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "ChassisIDFormat";
                        }
    
                        leaf chassis-id-string {
                          when
                            "../chassis-id-format = 'id-format-is-string'" {
                            description
                              "../ChassisIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Chassis ID String";
                        }
    
                        leaf chassis-id-mac {
                          when
                            "../chassis-id-format = 'id-format-is-mac-address'" {
                            description
                              "../ChassisIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Chassis ID MAC Address";
                        }
    
                        leaf chassis-id-raw {
                          when
                            "../chassis-id-format != 'id-format-is-string' and ../chassis-id-format != 'id-format-is-mac-address'" {
                            description
                              "../ChassisIDFormat != 'IDFormatIsString' and .
    ./ChassisIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Chassis ID";
                        }
                      }  // container chassis-id-value
    
                      leaf chassis-id-type {
                        type Cfm-pm-chassis-id-fmt;
                        description
                          "Chassis ID Type";
                      }
    
                      leaf chassis-id-type-value {
                        type uint8;
                        description
                          "Chassis ID Type";
                      }
    
                      leaf chassis-id {
                        type yang:hex-string;
                        description
                          "Chassis ID (Deprecated)";
                      }
                    }  // container chassis-id
    
                    leaf management-address-domain {
                      type yang:hex-string;
                      description
                        "Management address domain";
                    }
    
                    leaf management-address {
                      type yang:hex-string;
                      description
                        "Management address";
                    }
                  }  // container sender-id
    
                  container egress-id {
                    description "Egress ID TLV";
                    container last-egress-id {
                      description
                        "Last egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container last-egress-id
    
                    container next-egress-id {
                      description
                        "Next egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container next-egress-id
                  }  // container egress-id
    
                  container reply-ingress {
                    description
                      "Reply ingress TLV";
                    container port-id {
                      description "Port ID";
                      container port-id-value {
                        description
                          "Port ID (Current)";
                        leaf port-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "PortIDFormat";
                        }
    
                        leaf port-id-string {
                          when
                            "../port-id-format = 'id-format-is-string'" {
                            description
                              "../PortIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Port ID String";
                        }
    
                        leaf port-id-mac {
                          when
                            "../port-id-format = 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Port ID MAC Address";
                        }
    
                        leaf port-id-raw {
                          when
                            "../port-id-format != 'id-format-is-string' and ../port-id-format != 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat != 'IDFormatIsString' and .
    ./PortIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Port ID";
                        }
                      }  // container port-id-value
    
                      leaf port-id-type {
                        type Cfm-pm-port-id-fmt;
                        description
                          "Port ID type";
                      }
    
                      leaf port-id-type-value {
                        type uint8;
                        description
                          "Port ID type value";
                      }
    
                      leaf port-id {
                        type yang:hex-string;
                        description
                          "Port ID (Deprecated)";
                      }
                    }  // container port-id
    
                    leaf action {
                      type Cfm-pm-ingress-action;
                      description
                        "Reply ingress action";
                    }
    
                    leaf mac-address {
                      type Mac-address;
                      description "MAC address";
                    }
                  }  // container reply-ingress
    
                  container reply-egress {
                    description
                      "Reply egress TLV";
                    container port-id {
                      description "Port ID";
                      container port-id-value {
                        description
                          "Port ID (Current)";
                        leaf port-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "PortIDFormat";
                        }
    
                        leaf port-id-string {
                          when
                            "../port-id-format = 'id-format-is-string'" {
                            description
                              "../PortIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Port ID String";
                        }
    
                        leaf port-id-mac {
                          when
                            "../port-id-format = 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Port ID MAC Address";
                        }
    
                        leaf port-id-raw {
                          when
                            "../port-id-format != 'id-format-is-string' and ../port-id-format != 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat != 'IDFormatIsString' and .
    ./PortIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Port ID";
                        }
                      }  // container port-id-value
    
                      leaf port-id-type {
                        type Cfm-pm-port-id-fmt;
                        description
                          "Port ID type";
                      }
    
                      leaf port-id-type-value {
                        type uint8;
                        description
                          "Port ID type value";
                      }
    
                      leaf port-id {
                        type yang:hex-string;
                        description
                          "Port ID (Deprecated)";
                      }
                    }  // container port-id
    
                    leaf action {
                      type Cfm-pm-egress-action;
                      description
                        "Reply egress action";
                    }
    
                    leaf mac-address {
                      type Mac-address;
                      description "MAC address";
                    }
                  }  // container reply-egress
    
                  container last-hop {
                    description "Last hop ID";
                    container egress-id {
                      when
                        "../last-hop-format = 'last-hop-egress-id'" {
                        description
                          "../LastHopFormat = 'LastHopEgressID'";
                      }
                      description "Egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container egress-id
    
                    leaf last-hop-format {
                      type Cfm-pm-last-hop-fmt;
                      description
                        "LastHopFormat";
                    }
    
                    leaf host-name {
                      when
                        "../last-hop-format = 'last-hop-host-name'" {
                        description
                          "../LastHopFormat = 'LastHopHostname'";
                      }
                      type Cfm-bag-optional-string;
                      description "Hostname";
                    }
                  }  // container last-hop
    
                  leaf raw-data {
                    type yang:hex-string;
                    description
                      "Undecoded frame";
                  }
    
                  list organization-specific-tlv {
                    description
                      "Organizational-specific TLVs";
                    leaf oui {
                      type yang:hex-string;
                      description
                        "Organizationally-unique ID";
                    }
    
                    leaf subtype {
                      type uint8;
                      description
                        "Subtype of TLV";
                    }
    
                    leaf value {
                      type yang:hex-string;
                      description
                        "Binary data in TLV";
                    }
                  }  // list organization-specific-tlv
    
                  list unknown-tlv {
                    description "Unknown TLVs";
                    leaf typecode {
                      type uint8;
                      description
                        "Type code of TLV";
                    }
    
                    leaf value {
                      type yang:hex-string;
                      description
                        "Binary data in TLV";
                    }
                  }  // list unknown-tlv
                }  // list linktrace-reply
    
                list exploratory-linktrace-reply {
                  description
                    "Received exploratory linktrace replies";
                  container header {
                    description "Frame header";
                    leaf level {
                      type Cfm-bag-md-level;
                      description "MD level";
                    }
    
                    leaf version {
                      type uint8;
                      description "Version";
                    }
    
                    leaf forwarded {
                      type boolean;
                      description
                        "ELR was forwarded";
                    }
    
                    leaf terminal-mep {
                      type boolean;
                      description
                        "Terminal MEP reached";
                    }
    
                    leaf reply-filter-unknown {
                      type boolean;
                      description
                        "Reply Filter unrecognized";
                    }
    
                    leaf transaction-id {
                      type uint32;
                      description
                        "Transaction ID";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "TTL";
                    }
    
                    leaf relay-action {
                      type Cfm-pm-elr-relay-action;
                      description "Relay action";
                    }
    
                    leaf next-hop-timeout {
                      type uint32;
                      units "second";
                      description
                        "Next Hop Timeout, in seconds";
                    }
    
                    leaf delay-model {
                      type Cfm-pm-elt-delay-model;
                      description "Delay Model";
                    }
                  }  // container header
    
                  container sender-id {
                    description "Sender ID TLV";
                    container chassis-id {
                      description "Chassis ID";
                      container chassis-id-value {
                        description
                          "Chassis ID (Current)";
                        leaf chassis-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "ChassisIDFormat";
                        }
    
                        leaf chassis-id-string {
                          when
                            "../chassis-id-format = 'id-format-is-string'" {
                            description
                              "../ChassisIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Chassis ID String";
                        }
    
                        leaf chassis-id-mac {
                          when
                            "../chassis-id-format = 'id-format-is-mac-address'" {
                            description
                              "../ChassisIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Chassis ID MAC Address";
                        }
    
                        leaf chassis-id-raw {
                          when
                            "../chassis-id-format != 'id-format-is-string' and ../chassis-id-format != 'id-format-is-mac-address'" {
                            description
                              "../ChassisIDFormat != 'IDFormatIsString' and .
    ./ChassisIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Chassis ID";
                        }
                      }  // container chassis-id-value
    
                      leaf chassis-id-type {
                        type Cfm-pm-chassis-id-fmt;
                        description
                          "Chassis ID Type";
                      }
    
                      leaf chassis-id-type-value {
                        type uint8;
                        description
                          "Chassis ID Type";
                      }
    
                      leaf chassis-id {
                        type yang:hex-string;
                        description
                          "Chassis ID (Deprecated)";
                      }
                    }  // container chassis-id
    
                    leaf management-address-domain {
                      type yang:hex-string;
                      description
                        "Management address domain";
                    }
    
                    leaf management-address {
                      type yang:hex-string;
                      description
                        "Management address";
                    }
                  }  // container sender-id
    
                  container reply-ingress {
                    description
                      "Reply ingress TLV";
                    container last-egress-id {
                      description
                        "Last egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container last-egress-id
    
                    container next-egress-id {
                      description
                        "Next egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container next-egress-id
    
                    container port-id {
                      description "Port ID";
                      container port-id-value {
                        description
                          "Port ID (Current)";
                        leaf port-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "PortIDFormat";
                        }
    
                        leaf port-id-string {
                          when
                            "../port-id-format = 'id-format-is-string'" {
                            description
                              "../PortIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Port ID String";
                        }
    
                        leaf port-id-mac {
                          when
                            "../port-id-format = 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Port ID MAC Address";
                        }
    
                        leaf port-id-raw {
                          when
                            "../port-id-format != 'id-format-is-string' and ../port-id-format != 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat != 'IDFormatIsString' and .
    ./PortIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Port ID";
                        }
                      }  // container port-id-value
    
                      leaf port-id-type {
                        type Cfm-pm-port-id-fmt;
                        description
                          "Port ID type";
                      }
    
                      leaf port-id-type-value {
                        type uint8;
                        description
                          "Port ID type value";
                      }
    
                      leaf port-id {
                        type yang:hex-string;
                        description
                          "Port ID (Deprecated)";
                      }
                    }  // container port-id
    
                    leaf action {
                      type Cfm-pm-elr-ingress-action;
                      description
                        "ELR Reply ingress action";
                    }
    
                    leaf mac-address {
                      type Mac-address;
                      description "MAC address";
                    }
                  }  // container reply-ingress
    
                  container reply-egress {
                    description
                      "Reply egress TLV";
                    container last-egress-id {
                      description
                        "Last Egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container last-egress-id
    
                    container next-egress-id {
                      description
                        "Next Egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container next-egress-id
    
                    container port-id {
                      description "Port ID";
                      container port-id-value {
                        description
                          "Port ID (Current)";
                        leaf port-id-format {
                          type Cfm-pm-id-fmt;
                          description
                            "PortIDFormat";
                        }
    
                        leaf port-id-string {
                          when
                            "../port-id-format = 'id-format-is-string'" {
                            description
                              "../PortIDFormat = 'IDFormatIsString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "Port ID String";
                        }
    
                        leaf port-id-mac {
                          when
                            "../port-id-format = 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat = 'IDFormatIsMACAddress'";
                          }
                          type Mac-address;
                          description
                            "Port ID MAC Address";
                        }
    
                        leaf port-id-raw {
                          when
                            "../port-id-format != 'id-format-is-string' and ../port-id-format != 'id-format-is-mac-address'" {
                            description
                              "../PortIDFormat != 'IDFormatIsString' and .
    ./PortIDFormat != 'IDFormatIsMACAddress'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description
                            "Raw Port ID";
                        }
                      }  // container port-id-value
    
                      leaf port-id-type {
                        type Cfm-pm-port-id-fmt;
                        description
                          "Port ID type";
                      }
    
                      leaf port-id-type-value {
                        type uint8;
                        description
                          "Port ID type value";
                      }
    
                      leaf port-id {
                        type yang:hex-string;
                        description
                          "Port ID (Deprecated)";
                      }
                    }  // container port-id
    
                    leaf action {
                      type Cfm-pm-elr-egress-action;
                      description
                        "Reply egress action";
                    }
    
                    leaf mac-address {
                      type Mac-address;
                      description
                        "MAC address of egress interface";
                    }
                  }  // container reply-egress
    
                  container last-hop {
                    description "Last hop ID";
                    container egress-id {
                      when
                        "../last-hop-format = 'last-hop-egress-id'" {
                        description
                          "../LastHopFormat = 'LastHopEgressID'";
                      }
                      description "Egress ID";
                      leaf unique-id {
                        type uint16;
                        description "Unique ID";
                      }
    
                      leaf mac-address {
                        type Mac-address;
                        description
                          "MAC address";
                      }
                    }  // container egress-id
    
                    leaf last-hop-format {
                      type Cfm-pm-last-hop-fmt;
                      description
                        "LastHopFormat";
                    }
    
                    leaf host-name {
                      when
                        "../last-hop-format = 'last-hop-host-name'" {
                        description
                          "../LastHopFormat = 'LastHopHostname'";
                      }
                      type Cfm-bag-optional-string;
                      description "Hostname";
                    }
                  }  // container last-hop
    
                  leaf raw-data {
                    type yang:hex-string;
                    description
                      "Undecoded frame";
                  }
    
                  list organization-specific-tlv {
                    description
                      "Organizational-specific TLVs";
                    leaf oui {
                      type yang:hex-string;
                      description
                        "Organizationally-unique ID";
                    }
    
                    leaf subtype {
                      type uint8;
                      description
                        "Subtype of TLV";
                    }
    
                    leaf value {
                      type yang:hex-string;
                      description
                        "Binary data in TLV";
                    }
                  }  // list organization-specific-tlv
    
                  list unknown-tlv {
                    description "Unknown TLVs";
                    leaf typecode {
                      type uint8;
                      description
                        "Type code of TLV";
                    }
    
                    leaf value {
                      type yang:hex-string;
                      description
                        "Binary data in TLV";
                    }
                  }  // list unknown-tlv
                }  // list exploratory-linktrace-reply
              }  // list traceroute-cache
            }  // container traceroute-caches
    
            container local-meps {
              description "Local MEPs table";
              list local-mep {
                key "domain service mep-id interface";
                description
                  "Information about a particular local MEP";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf mep-id {
                  type dt1:Cfm-mep-id;
                  description "MEP ID";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                container statistics {
                  description "MEP statistics";
                  leaf ccms-sent {
                    type uint64;
                    description
                      "Number of CCMs sent";
                  }
    
                  leaf ccms-received {
                    type uint64;
                    description
                      "Number of CCMs received";
                  }
    
                  leaf ccms-out-of-sequence {
                    type uint64;
                    description
                      "Number of CCMs received out-of-sequence";
                  }
    
                  leaf ccms-discarded {
                    type uint64;
                    description
                      "Number of CCMs discarded because maximum MEPs
    limit was reached";
                  }
    
                  leaf lb-ms-sent {
                    type uint64;
                    description
                      "Number of LBMs sent";
                  }
    
                  leaf lb-rs-sent {
                    type uint64;
                    description
                      "Number of LBRs sent";
                  }
    
                  leaf lb-rs-received {
                    type uint64;
                    description
                      "Number of LBRs received";
                  }
    
                  leaf lb-rs-out-of-sequence {
                    type uint64;
                    description
                      "Number of LBRs received out-of-sequence";
                  }
    
                  leaf lb-rs-bad-data {
                    type uint64;
                    description
                      "Number of LBRs received with non-matching
    user-specified data";
                  }
    
                  leaf lb-ms-received {
                    type uint64;
                    description
                      "Number of LBMs received";
                  }
    
                  leaf lt-rs-received-unexpected {
                    type uint64;
                    description
                      "Number of unexpected LTRs received";
                  }
    
                  leaf ai-ss-sent {
                    type uint64;
                    description
                      "Number of AIS messages sent";
                  }
    
                  leaf ai-ss-received {
                    type uint64;
                    description
                      "Number of AIS messages received";
                  }
    
                  leaf lc-ks-received {
                    type uint64;
                    description
                      "Number of LCK messages received";
                  }
    
                  leaf dm-ms-sent {
                    type uint64;
                    description
                      "Number of DMM messages sent";
                  }
    
                  leaf dm-ms-received {
                    type uint64;
                    description
                      "Number of DMM messages received";
                  }
    
                  leaf dm-rs-sent {
                    type uint64;
                    description
                      "Number of DMR messages sent";
                  }
    
                  leaf dm-rs-received {
                    type uint64;
                    description
                      "Number of DMR messages received";
                  }
    
                  leaf sl-ms-sent {
                    type uint64;
                    description
                      "Number of SLM messages sent";
                  }
    
                  leaf sl-ms-received {
                    type uint64;
                    description
                      "Number of SLM messages received";
                  }
    
                  leaf sl-rs-sent {
                    type uint64;
                    description
                      "Number of SLR messages sent";
                  }
    
                  leaf sl-rs-received {
                    type uint64;
                    description
                      "Number of SLR messages received";
                  }
    
                  leaf lm-ms-sent {
                    type uint64;
                    description
                      "Number of LMM messages sent";
                  }
    
                  leaf lm-ms-received {
                    type uint64;
                    description
                      "Number of LMM messages received";
                  }
    
                  leaf lm-rs-sent {
                    type uint64;
                    description
                      "Number of LMR messages sent";
                  }
    
                  leaf lm-rs-received {
                    type uint64;
                    description
                      "Number of LMR messages received";
                  }
    
                  leaf bn-ms-received {
                    type uint64;
                    description
                      "Number of BNM messages received";
                  }
    
                  leaf bn-ms-discarded {
                    type uint64;
                    description
                      "Number of BNM messages discarded";
                  }
    
                  leaf ll-ms-sent {
                    type uint64;
                    description
                      "Number of LLM messages sent";
                  }
    
                  leaf ll-ms-received {
                    type uint64;
                    description
                      "Number of LLM messages received";
                  }
    
                  leaf ll-rs-sent {
                    type uint64;
                    description
                      "Number of LLR messages sent";
                  }
    
                  leaf ll-rs-received {
                    type uint64;
                    description
                      "Number of LLR messages received";
                  }
                }  // container statistics
    
                container ais-statistics {
                  description
                    "MEP AIS statistics";
                  container sending-start {
                    description
                      "Time elapsed since AIS sending started";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description "Seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description "Nanoseconds";
                    }
                  }  // container sending-start
    
                  container receiving-start {
                    description
                      "Time elapsed since AIS receiving started";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description "Seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description "Nanoseconds";
                    }
                  }  // container receiving-start
    
                  leaf level {
                    type Cfm-bag-md-level;
                    description
                      "AIS transmission level";
                  }
    
                  leaf interval {
                    type Cfm-bag-ais-interval;
                    description
                      "AIS transmission interval";
                  }
    
                  leaf sending-ais {
                    type Cfm-pm-ais-transmit;
                    description
                      "Details of how AIS is being transmitted";
                  }
    
                  leaf receiving-ais {
                    type Cfm-pm-ais-receive;
                    description
                      "Details of how the signal is being received";
                  }
    
                  leaf last-interval {
                    type Cfm-bag-ais-interval;
                    description
                      "The interval of the last received AIS packet";
                  }
    
                  leaf last-mac-address {
                    type Mac-address;
                    description
                      "Source MAC address of the last received AIS
    packet";
                  }
                }  // container ais-statistics
    
                container defects {
                  description
                    "Defects detected from peer MEPs";
                  container remote-meps-defects {
                    description
                      "Defects detected from remote MEPs";
                    leaf loss-threshold-exceeded {
                      type boolean;
                      description
                        "Timed out (loss threshold exceeded)";
                    }
    
                    leaf invalid-level {
                      type boolean;
                      description
                        "Invalid level";
                    }
    
                    leaf invalid-maid {
                      type boolean;
                      description "Invalid MAID";
                    }
    
                    leaf invalid-ccm-interval {
                      type boolean;
                      description
                        "Invalid CCM interval";
                    }
    
                    leaf received-our-mac {
                      type boolean;
                      description
                        "Loop detected (our MAC address received)";
                    }
    
                    leaf received-our-mep-id {
                      type boolean;
                      description
                        "Configuration Error (our MEP ID received)";
                    }
    
                    leaf received-rdi {
                      type boolean;
                      description
                        "Remote defection indication received";
                    }
                  }  // container remote-meps-defects
    
                  leaf ais-received {
                    type boolean;
                    description
                      "AIS or LCK received";
                  }
    
                  leaf peer-meps-that-timed-out {
                    type uint32;
                    description
                      "Number of peer MEPs that have timed out";
                  }
    
                  leaf missing {
                    type uint32;
                    description
                      "Number of missing peer MEPs";
                  }
    
                  leaf auto-missing {
                    type uint32;
                    description
                      "Number of missing auto cross-check MEPs";
                  }
    
                  leaf unexpected {
                    type uint32;
                    description
                      "Number of unexpected peer MEPs";
                  }
    
                  leaf local-port-status {
                    type boolean;
                    description
                      "The local port or interface is down";
                  }
    
                  leaf peer-port-status {
                    type boolean;
                    description
                      "A peer port or interface is down";
                  }
                }  // container defects
    
                leaf domain-xr {
                  type string;
                  description
                    "Maintenance domain name";
                }
    
                leaf service-xr {
                  type string;
                  description "Service name";
                }
    
                leaf level {
                  type Cfm-bag-md-level;
                  description
                    "Maintenance level";
                }
    
                leaf mep-id-xr {
                  type uint16;
                  description "MEP ID";
                }
    
                leaf interface-xr {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                leaf interface-state {
                  type string;
                  description
                    "IM Interface state";
                }
    
                leaf interworking-state {
                  type Cfm-bag-iw-state;
                  description
                    "Interface interworking state";
                }
    
                leaf stp-state {
                  type Cfm-bag-stp-state;
                  description "STP state";
                }
    
                leaf mep-direction {
                  type Cfm-bag-direction;
                  description
                    "MEP facing direction";
                }
    
                leaf mac-address {
                  type Mac-address;
                  description "MAC address";
                }
    
                leaf peer-meps-detected {
                  type uint32;
                  description
                    "Number of peer MEPs detected";
                }
    
                leaf peer-meps-with-errors-detected {
                  type uint32;
                  description
                    "Number of peer MEPs detected with errors";
                }
    
                leaf remote-defect {
                  type boolean;
                  description
                    "Remote defect indicated";
                }
    
                leaf fault-notification-state {
                  type Cfm-pm-mep-fng-state;
                  description
                    "Fault Notification Generation state";
                }
    
                leaf ccm-generation-enabled {
                  type boolean;
                  description
                    "CCM generation enabled";
                }
    
                leaf ccm-interval {
                  type Cfm-bag-ccm-interval;
                  description
                    "The interval between CCMs";
                }
    
                leaf ccm-offload {
                  type Cfm-bag-ccm-offload;
                  description
                    "Offload status of CCM processing";
                }
    
                leaf highest-defect {
                  type Cfm-pm-mep-defect;
                  description
                    "Highest-priority defect present since last FNG
    reset";
                }
    
                leaf rdi-defect {
                  type boolean;
                  description
                    "A peer MEP RDI defect has been reported";
                }
    
                leaf mac-status-defect {
                  type boolean;
                  description
                    "A peer MEP port or interface status error has
    been reported";
                }
    
                leaf peer-mep-ccm-defect {
                  type boolean;
                  description
                    "A peer MEP CCM error has been reported";
                }
    
                leaf error-ccm-defect {
                  type boolean;
                  description
                    "A CCM error has been reported";
                }
    
                leaf cross-connect-ccm-defect {
                  type boolean;
                  description
                    "A cross-connect CCM error has been reported";
                }
    
                leaf next-lbm-id {
                  type uint32;
                  description
                    "Next Transaction ID to be sent in a Loopback
    Message";
                }
    
                leaf next-ltm-id {
                  type uint32;
                  description
                    "Next Transaction ID to be sent in a Linktrace
    Message";
                }
    
                leaf cos {
                  type uint8;
                  description
                    "CoS bits the MEP will use for sent packets, if
    configured";
                }
    
                leaf efd-triggered {
                  type boolean;
                  description
                    "EFD triggered on the interface";
                }
    
                leaf standby {
                  type boolean;
                  description
                    "The local MEP is on an interface in standby mode";
                }
    
                leaf hairpin {
                  type boolean;
                  description
                    "MEP is on a sub-interface in the same
    bridge-domain and on the same trunk interface as
    another sub-interface";
                }
    
                leaf defects-ignored {
                  type boolean;
                  description
                    "Defects present but ignored due to 'report
    defects' configuration";
                }
    
                leaf tx-disable-triggered {
                  type boolean;
                  description
                    "TX disable triggered";
                }
    
                leaf restore-timer {
                  type uint32;
                  description "Restore timer";
                }
    
                leaf receiving-csf {
                  type boolean;
                  description "Receiving CSF";
                }
    
                leaf sending-csf {
                  type boolean;
                  description "Sending CSF";
                }
    
                leaf csf-interval {
                  type uint32;
                  description
                    "CSF packet interval";
                }
    
                leaf cos-bits {
                  type uint32;
                  description "CoS bits";
                }
    
                leaf csf-started {
                  type uint32;
                  description
                    "Time when CSF packets were first sent";
                }
    
                leaf received-csf-interval {
                  type Cfm-bag-ccm-interval;
                  description
                    "Time at which we are receiving CSF packets";
                }
    
                leaf csf-received {
                  type uint32;
                  description
                    "Time when CSF packets were first received";
                }
              }  // list local-mep
            }  // container local-meps
    
            container peer-me-pv2s {
              description
                "Peer MEPs table Version 2";
              list peer-me-pv2 {
                key "domain service local-mep-id interface peer-mep-id peer-mac-address";
                description
                  "Information about a peer MEP for a particular
    local MEP";
                leaf domain {
                  type string {
                    length "1..127";
                  }
                  description
                    "Maintenance Domain";
                }
    
                leaf service {
                  type string {
                    length "1..127";
                  }
                  description
                    "Service (Maintenance Association)";
                }
    
                leaf local-mep-id {
                  type dt1:Cfm-mep-id;
                  description
                    "MEP ID of Local MEP";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                leaf peer-mep-id {
                  type dt1:Cfm-mep-id;
                  description
                    "MEP ID of Peer MEP";
                }
    
                leaf peer-mac-address {
                  type yang:mac-address;
                  description "Peer MAC address";
                }
    
                container peer-mep {
                  description "Peer MEP";
                  container error-state {
                    description "Error state";
                    leaf loss-threshold-exceeded {
                      type boolean;
                      description
                        "Timed out (loss threshold exceeded)";
                    }
    
                    leaf invalid-level {
                      type boolean;
                      description
                        "Invalid level";
                    }
    
                    leaf invalid-maid {
                      type boolean;
                      description "Invalid MAID";
                    }
    
                    leaf invalid-ccm-interval {
                      type boolean;
                      description
                        "Invalid CCM interval";
                    }
    
                    leaf received-our-mac {
                      type boolean;
                      description
                        "Loop detected (our MAC address received)";
                    }
    
                    leaf received-our-mep-id {
                      type boolean;
                      description
                        "Configuration Error (our MEP ID received)";
                    }
    
                    leaf received-rdi {
                      type boolean;
                      description
                        "Remote defection indication received";
                    }
                  }  // container error-state
    
                  container last-up-down-time {
                    description
                      "Elapsed time since peer MEP became active or
    timed out";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description "Seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description "Nanoseconds";
                    }
                  }  // container last-up-down-time
    
                  container last-ccm-received {
                    description
                      "Last CCM received from the peer MEP";
                    container header {
                      description "Frame header";
                      container mdid {
                        description "MDID";
                        container mac-name {
                          when
                            "../mdid-format-value = 'mdid-mac-address'" {
                            description
                              "../MDIDFormatValue = 'MDID_MACAddress'";
                          }
                          description
                            "MAC address name";
                          leaf mac-address {
                            type Mac-address;
                            description
                              "MAC address";
                          }
    
                          leaf integer {
                            type uint16;
                            description
                              "Integer";
                          }
                        }  // container mac-name
    
                        leaf mdid-format-value {
                          type Cfm-bag-mdid-fmt;
                          description
                            "MDIDFormatValue";
                        }
    
                        leaf dns-like-name {
                          when
                            "../mdid-format-value = 'mdid-dns-like'" {
                            description
                              "../MDIDFormatValue = 'MDID_DNSLike'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "DNS-like name";
                        }
    
                        leaf string-name {
                          when
                            "../mdid-format-value = 'mdid-string'" {
                            description
                              "../MDIDFormatValue = 'MDIDString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "String name";
                        }
    
                        leaf mdid-data {
                          when
                            "../mdid-format-value = 'mdid-unknown'" {
                            description
                              "../MDIDFormatValue = 'MDIDUnknown'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description "Hex data";
                        }
                      }  // container mdid
    
                      container short-ma-name {
                        description
                          "Short MA Name";
                        container vpn-id-name {
                          when
                            "../short-ma-name-format-value = 'sman-vpn-id'" {
                            description
                              "../ShortMANameFormatValue = 'SMAN_VPN_ID'";
                          }
                          description
                            "VPN ID name";
                          leaf oui {
                            type uint32;
                            description
                              "VPN authority organizationally-unique ID";
                          }
    
                          leaf index {
                            type uint32;
                            description
                              "VPN index";
                          }
                        }  // container vpn-id-name
    
                        leaf short-ma-name-format-value {
                          type Cfm-bag-sman-fmt;
                          description
                            "ShortMANameFormatValue";
                        }
    
                        leaf vlan-id-name {
                          when
                            "../short-ma-name-format-value = 'sman-vlan-id'" {
                            description
                              "../ShortMANameFormatValue = 'SMAN_VLAN_ID'";
                          }
                          type uint16;
                          description
                            "VLAN ID name";
                        }
    
                        leaf string-name {
                          when
                            "../short-ma-name-format-value = 'sman-string'" {
                            description
                              "../ShortMANameFormatValue = 'SMANString'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "String name";
                        }
    
                        leaf integer-name {
                          when
                            "../short-ma-name-format-value = 'sman-uint16'" {
                            description
                              "../ShortMANameFormatValue = 'SMAN_UINT16'";
                          }
                          type uint16;
                          description
                            "Unsigned integer name";
                        }
    
                        leaf icc-based {
                          when
                            "../short-ma-name-format-value = 'sman-icc'" {
                            description
                              "../ShortMANameFormatValue = 'SMAN_ICC'";
                          }
                          type Cfm-bag-optional-string;
                          description
                            "ICC-based format";
                        }
    
                        leaf short-ma-name-data {
                          when
                            "../short-ma-name-format-value = 'sman-unknown'" {
                            description
                              "../ShortMANameFormatValue = 'SMANUnknown'";
                          }
                          type Cfm-bag-optional-hex-data;
                          description "Hex data";
                        }
                      }  // container short-ma-name
    
                      leaf level {
                        type Cfm-bag-md-level;
                        description "MD level";
                      }
    
                      leaf version {
                        type uint8;
                        description "Version";
                      }
    
                      leaf interval {
                        type Cfm-bag-ccm-interval;
                        description
                          "CCM interval";
                      }
    
                      leaf rdi {
                        type boolean;
                        description
                          "Remote defect indicated";
                      }
    
                      leaf sequence-number {
                        type uint32;
                        description
                          "CCM sequence number";
                      }
    
                      leaf mep-id {
                        type uint16;
                        description "MEP ID";
                      }
    
                      leaf mdid-format {
                        type uint8;
                        description
                          "MDID Format";
                      }
    
                      leaf short-ma-name-format {
                        type uint8;
                        description
                          "Short MA Name format";
                      }
                    }  // container header
    
                    container sender-id {
                      description
                        "Sender ID TLV";
                      container chassis-id {
                        description "Chassis ID";
                        container chassis-id-value {
                          description
                            "Chassis ID (Current)";
                          leaf chassis-id-format {
                            type Cfm-pm-id-fmt;
                            description
                              "ChassisIDFormat";
                          }
    
                          leaf chassis-id-string {
                            when
                              "../chassis-id-format = 'id-format-is-string'" {
                              description
                                "../ChassisIDFormat = 'IDFormatIsString'";
                            }
                            type Cfm-bag-optional-string;
                            description
                              "Chassis ID String";
                          }
    
                          leaf chassis-id-mac {
                            when
                              "../chassis-id-format = 'id-format-is-mac-address'" {
                              description
                                "../ChassisIDFormat = 'IDFormatIsMACAddress'";
                            }
                            type Mac-address;
                            description
                              "Chassis ID MAC Address";
                          }
    
                          leaf chassis-id-raw {
                            when
                              "../chassis-id-format != 'id-format-is-string' and ../chassis-id-format != 'id-format-is-mac-address'" {
                              description
                                "../ChassisIDFormat != 'IDFormatIsString' and .
    ./ChassisIDFormat != 'IDFormatIsMACAddress'";
                            }
                            type Cfm-bag-optional-hex-data;
                            description
                              "Raw Chassis ID";
                          }
                        }  // container chassis-id-value
    
                        leaf chassis-id-type {
                          type Cfm-pm-chassis-id-fmt;
                          description
                            "Chassis ID Type";
                        }
    
                        leaf chassis-id-type-value {
                          type uint8;
                          description
                            "Chassis ID Type";
                        }
    
                        leaf chassis-id {
                          type yang:hex-string;
                          description
                            "Chassis ID (Deprecated)";
                        }
                      }  // container chassis-id
    
                      leaf management-address-domain {
                        type yang:hex-string;
                        description
                          "Management address domain";
                      }
    
                      leaf management-address {
                        type yang:hex-string;
                        description
                          "Management address";
                      }
                    }  // container sender-id
    
                    container mep-name {
                      description "MEP name";
                      leaf name {
                        type string;
                        description "MEP name";
                      }
                    }  // container mep-name
    
                    leaf port-status {
                      type Cfm-pm-port-status;
                      description "Port status";
                    }
    
                    leaf interface-status {
                      type Cfm-pm-intf-status;
                      description
                        "Interface status";
                    }
    
                    leaf additional-interface-status {
                      type Cfm-pm-addl-intf-status;
                      description
                        "Additional interface status";
                    }
    
                    leaf raw-data {
                      type yang:hex-string;
                      description
                        "Undecoded frame";
                    }
    
                    list organization-specific-tlv {
                      description
                        "Organizational-specific TLVs";
                      leaf oui {
                        type yang:hex-string;
                        description
                          "Organizationally-unique ID";
                      }
    
                      leaf subtype {
                        type uint8;
                        description
                          "Subtype of TLV";
                      }
    
                      leaf value {
                        type yang:hex-string;
                        description
                          "Binary data in TLV";
                      }
                    }  // list organization-specific-tlv
    
                    list unknown-tlv {
                      description "Unknown TLVs";
                      leaf typecode {
                        type uint8;
                        description
                          "Type code of TLV";
                      }
    
                      leaf value {
                        type yang:hex-string;
                        description
                          "Binary data in TLV";
                      }
                    }  // list unknown-tlv
                  }  // container last-ccm-received
    
                  container statistics {
                    description
                      "Peer MEP statistics";
                    container last-ccm-received-time {
                      description
                        "Elapsed time since last CCM received";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description "Seconds";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds";
                      }
                    }  // container last-ccm-received-time
    
                    leaf ccms-received {
                      type uint64;
                      description
                        "Number of CCMs received";
                    }
    
                    leaf ccms-wrong-level {
                      type uint64;
                      description
                        "Number of CCMs received with an invalid level";
                    }
    
                    leaf ccms-invalid-maid {
                      type uint64;
                      description
                        "Number of CCMs received with an invalid MAID";
                    }
    
                    leaf ccms-invalid-interval {
                      type uint64;
                      description
                        "Number of CCMs received with an invalid interval";
                    }
    
                    leaf ccms-invalid-source-mac-address {
                      type uint64;
                      description
                        "Number of CCMs received with an invalid source
    MAC address";
                    }
    
                    leaf ccms-our-mep-id {
                      type uint64;
                      description
                        "Number of CCMs received with our MEP ID";
                    }
    
                    leaf ccms-rdi {
                      type uint64;
                      description
                        "Number of CCMs received with the Remote Defect
    Indication bit set";
                    }
    
                    leaf ccms-out-of-sequence {
                      type uint64;
                      description
                        "Number of CCMs received out-of-sequence";
                    }
    
                    leaf last-ccm-sequence-number {
                      type uint32;
                      description
                        "Sequence number of last CCM received";
                    }
                  }  // container statistics
    
                  leaf mep-id {
                    type uint16;
                    description "MEP ID";
                  }
    
                  leaf mac-address {
                    type Mac-address;
                    description "MAC address";
                  }
    
                  leaf cross-check-state {
                    type Cfm-pm-rmep-xc-state;
                    description
                      "Cross-check state";
                  }
    
                  leaf peer-mep-state {
                    type Cfm-pm-rmep-state;
                    description
                      "State of the peer MEP state machine";
                  }
    
                  leaf ccm-offload {
                    type Cfm-bag-ccm-offload;
                    description
                      "Offload status of received CCM handling";
                  }
                }  // container peer-mep
    
                leaf domain-xr {
                  type string;
                  description
                    "Maintenance domain name";
                }
    
                leaf service-xr {
                  type string;
                  description "Service name";
                }
    
                leaf level {
                  type Cfm-bag-md-level;
                  description
                    "Maintenance level";
                }
    
                leaf mep-id {
                  type uint16;
                  description "MEP ID";
                }
    
                leaf interface-xr {
                  type xr:Interface-name;
                  description "Interface";
                }
    
                leaf mep-direction {
                  type Cfm-bag-direction;
                  description
                    "MEP facing direction";
                }
    
                leaf standby {
                  type boolean;
                  description
                    "The local MEP is on an interface in standby mode";
                }
              }  // list peer-me-pv2
            }  // container peer-me-pv2s
          }  // container global
        }  // container cfm
      }  // module Cisco-IOS-XR-ethernet-cfm-oper
    

© 2023 YumaWorks, Inc. All rights reserved.