Cisco-IOS-XR-controller-optics-oper

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

  • Version: 2021-04-14

    Cisco-IOS-XR-controller-optics-oper@2021-04-14


    
      module Cisco-IOS-XR-controller-optics-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper";
    
        prefix controller-optics-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-controller-optics-oper-sub1 {
          revision-date "2021-04-14";
        }
    
        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 controller-optics package operational data.
    
    This module contains definitions
    for the following management objects:
      optics-oper: Optics operational data
    
    Copyright (c) 2013-2021 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-04-14" {
          description
            "New Enums added for Multirate Optics Phy type
    2021-03-22
      New Enums added for Optics Phy type
    2021-02-23
      enum added for new Optics Phy Type for 400G LR4 module
    2021-02-19
      enum added for 1 new Optics Phy Type and new value added to enum EthernetPmdType
    2021-02-17
      New OPTICS_ETH_100GBASE_DR_S added to enum EthernetPmdType
    2021-01-18
      Added 2 enums for New FEC Type.
    2020-12-23
      New value added to enum EthernetPmdType
    2020-11-24
      Enum value in optics_modulation_type is changed from MODE_16QAM_32QAM to MOD_16QAM_32QAM
    2020-11-10
      enum added for 1 new Optics Phy Type for 100G DR-S optics module
    2020-09-10
      removed optics_edm_fastpoll_info and added new bag optics_edm_fastpoll_data
    2020-08-02
      New values added to enum FiberConnectorType
    2020-07-24
      New value added in optics yang for FastPollInfo
    2020-07-14
      New value added to enum EthernetPmdType";
        }
    
        revision "2020-04-26" {
          description
            "New value added to enum EthernetPmdType
    2020-02-24
    enum added for OTN Application code.
    2020-02-19
    enum added for 1 new Optics Phy Type
    2020-01-31
    enum added for 1 new Optics Phy Type
    2020-01-27
    Added new parameters in optics bag to display parameters which are not configurable
    2019-12-05
    enum added for 2 new OTN Application codes.
    2019-11-30
    Back Reflection data field is added in bag.
    2019-09-30
    chan_num data field is added to support L-Band frequency range.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "4.0.0";
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
    
        container optics-oper {
          config false;
          description "Optics operational data";
          container optics-ports {
            description
              "All Optics Port operational data";
            list optics-port {
              key "name";
              description
                "Optics operational data";
              container optics-dwdm-carrier-channel-map {
                description
                  "Optics operational data";
                leaf dwdm-carrier-band {
                  type Optics-wave-band;
                  description
                    "DWDM carrier band";
                }
    
                leaf dwdm-carrier-min {
                  type uint32;
                  description
                    "Lowest DWDM carrier supported";
                }
    
                leaf dwdm-carrier-max {
                  type uint32;
                  description
                    "Highest DWDM carrier supported";
                }
    
                list dwdm-carrier-map-info {
                  description
                    "DWDM carrier mapping info";
                  leaf itu-chan-num {
                    type uint32;
                    description
                      "ITU channel number";
                  }
    
                  leaf chan-index {
                    type uint32;
                    description "channel Index";
                  }
    
                  leaf g694-chan-num {
                    type int32;
                    description
                      "G694 channel number";
                  }
    
                  leaf frequency {
                    type string {
                      length "0..32";
                    }
                    description "Frequency";
                  }
    
                  leaf wavelength {
                    type string {
                      length "0..32";
                    }
                    description "Wavelength";
                  }
                }  // list dwdm-carrier-map-info
              }  // container optics-dwdm-carrier-channel-map
    
              container ots-spectrum-info {
                description
                  "Ots Spectrum Operational data";
                container spectrum-info {
                  description
                    "OTS Spectrum information";
                  leaf total-spectrum-slice-count {
                    type uint32;
                    description
                      "Total number of slices in Spectrum";
                  }
    
                  leaf spectrum-slice-spacing {
                    type uint32;
                    description
                      "Spacing between spectrum slices";
                  }
    
                  leaf first-slice-wavelength {
                    type string {
                      length "0..32";
                    }
                    description
                      "Wavelength of first slice";
                  }
    
                  list spectrum-slice-power-info {
                    description
                      "Power information of spectrum slice info";
                    leaf slice-num {
                      type uint32;
                      description
                        "spectrum slice number";
                    }
    
                    leaf lower-frequency {
                      type uint64;
                      description
                        "Lower frequency of the specified PSD";
                    }
    
                    leaf upper-frequency {
                      type uint64;
                      description
                        "Upper frequency of the specified PSD";
                    }
    
                    leaf rx-power {
                      type int32;
                      description
                        "Received Power in dBm multiplied by 100";
                    }
    
                    leaf tx-power {
                      type int32;
                      description
                        "Transmit Power in dBm multiplied by 100";
                    }
    
                    leaf rx-psd {
                      type string {
                        length "0..16";
                      }
                      description
                        "Received Power spectral density in microwatts
    per megahertz, uW/MHz";
                    }
    
                    leaf tx-psd {
                      type string {
                        length "0..16";
                      }
                      description
                        "Transmit Power spectral density in microwatts
    per megahertz, uW/MHz";
                    }
                  }  // list spectrum-slice-power-info
                }  // container spectrum-info
              }  // container ots-spectrum-info
    
              container optics-dwdm-carrier-channel-map-flexi {
                description
                  "Optics operational data";
                leaf dwdm-carrier-band {
                  type Optics-wave-band;
                  description
                    "DWDM carrier band";
                }
    
                leaf dwdm-carrier-min {
                  type uint32;
                  description
                    "Lowest DWDM carrier supported";
                }
    
                leaf dwdm-carrier-max {
                  type uint32;
                  description
                    "Highest DWDM carrier supported";
                }
    
                list dwdm-carrier-map-info {
                  description
                    "DWDM carrier mapping info";
                  leaf itu-chan-num {
                    type uint32;
                    description
                      "ITU channel number";
                  }
    
                  leaf chan-index {
                    type uint32;
                    description "channel Index";
                  }
    
                  leaf g694-chan-num {
                    type int32;
                    description
                      "G694 channel number";
                  }
    
                  leaf frequency {
                    type string {
                      length "0..32";
                    }
                    description "Frequency";
                  }
    
                  leaf wavelength {
                    type string {
                      length "0..32";
                    }
                    description "Wavelength";
                  }
                }  // list dwdm-carrier-map-info
              }  // container optics-dwdm-carrier-channel-map-flexi
    
              container optics-info {
                description
                  "Optics operational data";
                container network-srlg-info {
                  description
                    "Network SRLG information";
                  list network-srlg-array {
                    description
                      "Network Srlg Array";
                    leaf set-number {
                      type uint32;
                      description
                        "Array to maintain set number";
                    }
    
                    leaf-list network-srlg {
                      type uint32;
                      description "Network Srlg";
                    }
                  }  // list network-srlg-array
                }  // container network-srlg-info
    
                container optics-alarm-info {
                  description
                    "Optics Alarm Information";
                  container high-rx-power {
                    description
                      "High Rx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx-power
    
                  container low-rx-power {
                    description
                      "Low Rx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx-power
    
                  container high-tx-power {
                    description
                      "High Tx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx-power
    
                  container low-tx-power {
                    description
                      "Low Tx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx-power
    
                  container high-lbc {
                    description
                      "High laser bias current in units of percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-lbc
    
                  container low-temperature {
                    description
                      "Low Temperature alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-temperature
    
                  container high-temperature {
                    description
                      "High Temperature alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-temperature
    
                  container low-voltage {
                    description
                      "Low Voltage alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-voltage
    
                  container high-voltage {
                    description
                      "High Voltage alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-voltage
    
                  container high-rx1-power {
                    description
                      "High Rx1 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx1-power
    
                  container high-rx2-power {
                    description
                      "High Rx2 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx2-power
    
                  container high-rx3-power {
                    description
                      "High Rx3 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx3-power
    
                  container high-rx4-power {
                    description
                      "High Rx4 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx4-power
    
                  container high-rx5-power {
                    description
                      "High Rx5 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx5-power
    
                  container high-rx6-power {
                    description
                      "High Rx6 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx6-power
    
                  container high-rx7-power {
                    description
                      "High Rx7 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx7-power
    
                  container high-rx8-power {
                    description
                      "High Rx8 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-rx8-power
    
                  container low-rx1-power {
                    description
                      "Low Rx1 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx1-power
    
                  container low-rx2-power {
                    description
                      "Low Rx2 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx2-power
    
                  container low-rx3-power {
                    description
                      "Low Rx3 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx3-power
    
                  container low-rx4-power {
                    description
                      "Low Rx4 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx4-power
    
                  container low-rx5-power {
                    description
                      "Low Rx5 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx5-power
    
                  container low-rx6-power {
                    description
                      "Low Rx6 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx6-power
    
                  container low-rx7-power {
                    description
                      "Low Rx7 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx7-power
    
                  container low-rx8-power {
                    description
                      "Low Rx8 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx8-power
    
                  container high-tx1-power {
                    description
                      "High Tx1 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx1-power
    
                  container high-tx2-power {
                    description
                      "High Tx2 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx2-power
    
                  container high-tx3-power {
                    description
                      "High Tx3 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx3-power
    
                  container high-tx4-power {
                    description
                      "High Tx4 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx4-power
    
                  container high-tx5-power {
                    description
                      "High Tx5 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx5-power
    
                  container high-tx6-power {
                    description
                      "High Tx6 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx6-power
    
                  container high-tx7-power {
                    description
                      "High Tx7 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx7-power
    
                  container high-tx8-power {
                    description
                      "High Tx8 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx8-power
    
                  container low-tx1-power {
                    description
                      "Low Tx1 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx1-power
    
                  container low-tx2-power {
                    description
                      "Low Tx2 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx2-power
    
                  container low-tx3-power {
                    description
                      "Low Tx3 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx3-power
    
                  container low-tx4-power {
                    description
                      "Low Tx4 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx4-power
    
                  container low-tx5-power {
                    description
                      "Low Tx5 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx5-power
    
                  container low-tx6-power {
                    description
                      "Low Tx6 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx6-power
    
                  container low-tx7-power {
                    description
                      "Low Tx7 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx7-power
    
                  container low-tx8-power {
                    description
                      "Low Tx8 Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx8-power
    
                  container high-tx1lbc {
                    description
                      "High Tx1 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx1lbc
    
                  container high-tx2lbc {
                    description
                      "High Tx2 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx2lbc
    
                  container high-tx3lbc {
                    description
                      "High Tx3 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx3lbc
    
                  container high-tx4lbc {
                    description
                      "High Tx4 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx4lbc
    
                  container high-tx5lbc {
                    description
                      "High Tx5 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx5lbc
    
                  container high-tx6lbc {
                    description
                      "High Tx6 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx6lbc
    
                  container high-tx7lbc {
                    description
                      "High Tx7 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx7lbc
    
                  container high-tx8lbc {
                    description
                      "High Tx8 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container high-tx8lbc
    
                  container low-tx1lbc {
                    description
                      "Low Tx1 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx1lbc
    
                  container low-tx2lbc {
                    description
                      "Low Tx2 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx2lbc
    
                  container low-tx3lbc {
                    description
                      "Low Tx3 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx3lbc
    
                  container low-tx4lbc {
                    description
                      "Low Tx4 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx4lbc
    
                  container low-tx5lbc {
                    description
                      "Low Tx5 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx5lbc
    
                  container low-tx6lbc {
                    description
                      "Low Tx6 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx6lbc
    
                  container low-tx7lbc {
                    description
                      "Low Tx7 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx7lbc
    
                  container low-tx8lbc {
                    description
                      "Low Tx8 laser bias current in units of
    percentage";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx8lbc
    
                  container rx-los {
                    description "RX LOS";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container rx-los
    
                  container tx-los {
                    description "TX LOS";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container tx-los
    
                  container rx-lol {
                    description "RX LOL";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container rx-lol
    
                  container tx-lol {
                    description "TX LOL";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container tx-lol
    
                  container tx-fault {
                    description "TX Fault";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container tx-fault
    
                  container hidgd {
                    description "HI DGD";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hidgd
    
                  container oorcd {
                    description "OOR CD";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container oorcd
    
                  container osnr {
                    description "OSNR";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container osnr
    
                  container wvlool {
                    description "WVL OOL";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container wvlool
    
                  container mea {
                    description "MEA";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container mea
    
                  container imp-removal {
                    description "IMPROPER REM";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container imp-removal
    
                  container rx-loc {
                    description "Rx LOC";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container rx-loc
    
                  container amp-gain-deg-low {
                    description
                      "Ampli Gain Deg Low";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container amp-gain-deg-low
    
                  container amp-gain-deg-high {
                    description
                      "Ampli Gain Deg High";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container amp-gain-deg-high
    
                  container txpwr-mismatch {
                    description
                      "TX POWER PROV MISMATCH";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container txpwr-mismatch
    
                  container ingress-amp-gain-deg-low {
                    description
                      "Ingress Ampli Gain Deg Low";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container ingress-amp-gain-deg-low
    
                  container ingress-amp-gain-deg-high {
                    description
                      "Ingress Ampli Gain Deg High";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container ingress-amp-gain-deg-high
    
                  container egress-amp-gain-deg-low {
                    description
                      "egress Ampli Gain Deg Low";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container egress-amp-gain-deg-low
    
                  container egress-amp-gain-deg-high {
                    description
                      "egress Ampli Gain Deg High";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container egress-amp-gain-deg-high
                }  // container optics-alarm-info
    
                container ots-alarm-info {
                  description
                    "Ots Alarm Information";
                  container low-tx-power {
                    description
                      "Low Tx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-tx-power
    
                  container low-rx-power {
                    description
                      "Low Rx Power in units of 0.1 dBm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container low-rx-power
    
                  container rx-los-p {
                    description "Rx LOS_P";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container rx-los-p
    
                  container rx-loc {
                    description "Rx LOC";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container rx-loc
    
                  container amp-gain-deg-low {
                    description
                      "Ampli Gain Deg Low";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container amp-gain-deg-low
    
                  container amp-gain-deg-high {
                    description
                      "Ampli Gain Deg High";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container amp-gain-deg-high
    
                  container auto-laser-shut {
                    description
                      "Auto Laser Shut";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container auto-laser-shut
    
                  container auto-power-red {
                    description "Auto Power Red";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container auto-power-red
    
                  container auto-ampli-ctrl-disabled {
                    description
                      "Auto Ampli Ctrl Disabled";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container auto-ampli-ctrl-disabled
    
                  container auto-ampli-ctrl-config-mismatch {
                    description
                      "Auto Ampli Ctrl Config Mismatch";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container auto-ampli-ctrl-config-mismatch
    
                  container switch-to-protect {
                    description
                      "Switch To Protect";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container switch-to-protect
    
                  container auto-ampli-ctrl-running {
                    description
                      "Auto Ampli Ctrl Running";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container auto-ampli-ctrl-running
                }  // container ots-alarm-info
    
                container transceiver-info {
                  description
                    "Transceiver Vendor Details";
                  leaf vendor-info {
                    type string;
                    description
                      "Vendor Information";
                  }
    
                  leaf adapter-vendor-info {
                    type string;
                    description
                      "Adapter Vendor Information";
                  }
    
                  leaf date {
                    type string;
                    description
                      "Date in Transceiver";
                  }
    
                  leaf optics-vendor-rev {
                    type string;
                    description
                      "Transceiver vendors revision number";
                  }
    
                  leaf optics-serial-no {
                    type string;
                    description
                      "Transceiver serial number";
                  }
    
                  leaf optics-vendor-part {
                    type string;
                    description
                      "Transceiver vendors part number";
                  }
    
                  leaf optics-type {
                    type string;
                    description
                      "Transceiver optics type";
                  }
    
                  leaf vendor-name {
                    type string;
                    description
                      "Transceiver optics vendor name";
                  }
    
                  leaf oui-no {
                    type string;
                    description
                      "Transceiver optics type";
                  }
    
                  leaf optics-pid {
                    type string;
                    description
                      "Transceiver optics pid";
                  }
    
                  leaf optics-vid {
                    type string;
                    description
                      "Transceiver optics vid";
                  }
    
                  leaf connector-type {
                    type Fiber-connector;
                    description "Connector type";
                  }
    
                  leaf otn-application-code {
                    type Otn-application-code;
                    description
                      "Otn Application Code";
                  }
    
                  leaf sonet-application-code {
                    type Sonet-application-code;
                    description
                      "Sonet Application Code";
                  }
    
                  leaf ethernet-compliance-code {
                    type Ethernet-pmd;
                    description
                      "Ethernet Compliance Code";
                  }
    
                  leaf internal-temperature {
                    type int32;
                    description
                      "Internal Temperature in units of C";
                  }
                }  // container transceiver-info
    
                container raman-tx-power-config {
                  description "Raman Tx Power";
                  list count {
                    description
                      "raman transmit power count";
                    leaf raman-tx-power-instance {
                      type uint32;
                      description
                        "Raman Transmit Power Intance";
                    }
    
                    leaf raman-tx-power-value {
                      type string;
                      description
                        "Raman Transmit Power Value in units of 0.01mW";
                    }
    
                    leaf raman-tx-wavelength {
                      type string;
                      description
                        "Raman Transmit Wavelength in units of nm";
                    }
                  }  // list count
                }  // container raman-tx-power-config
    
                container ext-param-val {
                  description
                    "Extended optics parameters";
                  leaf snr-lane1 {
                    type int32;
                    description
                      "Signal to Noise Ratio on Lane 1";
                  }
    
                  leaf snr-lane2 {
                    type int32;
                    description
                      "Signal to Noise Ratio on Lane 2";
                  }
    
                  leaf isi-correction-lane1 {
                    type int32;
                    description
                      "Inter symbol Interference correction on Lane 1";
                  }
    
                  leaf isi-correction-lane2 {
                    type int32;
                    description
                      "Inter symbol Interference correction on Lane 2";
                  }
    
                  leaf pam-rate-lane1 {
                    type int32;
                    description
                      "PAM Histogram parameter on Lane 1";
                  }
    
                  leaf pam-rate-lane2 {
                    type int32;
                    description
                      "PAM Histogram parameter on Lane 2";
                  }
    
                  leaf pre-fec-ber {
                    type int64;
                    description
                      "Pre FEC BER since last counter reset";
                  }
    
                  leaf uncorrected-ber {
                    type int64;
                    description
                      "Uncorrected BER since last counter reset";
                  }
    
                  leaf tec-current-lane1 {
                    type int32;
                    description
                      "Current flowing to the TEC of a cooled laser on
    Lane 1";
                  }
    
                  leaf tec-current-lane2 {
                    type int32;
                    description
                      "Current flowing to the TEC of a cooled laser on
    Lane 2";
                  }
    
                  leaf laser-diff-frequency-lane1 {
                    type int32;
                    description
                      "Difference between target and actual center
    frequency on Lane 1";
                  }
    
                  leaf laser-diff-frequency-lane2 {
                    type int32;
                    description
                      "Difference between target and actual center
    frequency on Lane 2";
                  }
    
                  leaf laser-diff-temperature-lane1 {
                    type int32;
                    description
                      "Difference between target and actual temperature
    on Lane 1";
                  }
    
                  leaf laser-diff-temperature-lane2 {
                    type int32;
                    description
                      "Difference between target and actual temperature
    on Lane 2";
                  }
    
                  leaf pre-fec-ber-latched-min {
                    type int64;
                    description
                      "Latched minimum Pre FEC BER value since last
    read, line ingress";
                  }
    
                  leaf pre-fec-ber-latched-max {
                    type int64;
                    description
                      "Latched maximum Pre FEC BER value since last
    read, line ingress";
                  }
    
                  leaf pre-fec-ber-accumulated {
                    type int64;
                    description
                      "Pre FEC BER value prior accumulation period,
    line ingress";
                  }
    
                  leaf pre-fec-ber-instantaneous {
                    type int64;
                    description
                      "Pre FEC BER value instantaneous line ingress";
                  }
    
                  leaf uncorrected-ber-latched-min {
                    type int64;
                    description
                      "Latched minimum Uncorrected BER value since last
    read, line ingress";
                  }
    
                  leaf uncorrected-ber-latched-max {
                    type int64;
                    description
                      "Latched maximum Uncorrected BER value since last
    read, line ingress";
                  }
    
                  leaf uncorrected-ber-accumulated {
                    type int64;
                    description
                      "Uncorrected BER value prior accumulation period,
    line ingress";
                  }
    
                  leaf uncorrected-ber-instantaneous {
                    type int64;
                    description
                      "Uncorrected BER value instantaneous line line
    ingress";
                  }
                }  // container ext-param-val
    
                container ext-param-threshold-val {
                  description
                    "Extended optics parameters threshold values";
                  leaf snr-alarm-high-threshold {
                    type int32;
                    description
                      "High threshold alarm for SNR";
                  }
    
                  leaf snr-alarm-low-threshold {
                    type int32;
                    description
                      "Low threshold alarm for SNR";
                  }
    
                  leaf snr-warn-high-threshold {
                    type int32;
                    description
                      "High threshold warning for SNR";
                  }
    
                  leaf snr-warn-low-threshold {
                    type int32;
                    description
                      "Low threshold warning for SNR";
                  }
    
                  leaf isi-correction-alarm-high-threshold {
                    type int32;
                    description
                      "High threshold alarm for ISI Correction";
                  }
    
                  leaf isi-correction-alarm-low-threshold {
                    type int32;
                    description
                      "Low threshold alarm for ISI Correction";
                  }
    
                  leaf isi-correction-warn-high-threshold {
                    type int32;
                    description
                      "High threshold warning for ISI Correction";
                  }
    
                  leaf isi-correction-warn-low-threshold {
                    type int32;
                    description
                      "Low threshold warning for ISI Correction";
                  }
    
                  leaf pam-rate-alarm-high-threshold {
                    type int32;
                    description
                      "High threshold alarm for PAM Rate";
                  }
    
                  leaf pam-rate-alarm-low-threshold {
                    type int32;
                    description
                      "Low threshold alarm for PAM Rate";
                  }
    
                  leaf pam-rate-warn-high-threshold {
                    type int32;
                    description
                      "High threshold warning for PAM Rate";
                  }
    
                  leaf pam-rate-warn-low-threshold {
                    type int32;
                    description
                      "Low threshold warning for PAM Rate";
                  }
    
                  leaf pre-fec-ber-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Pre FEC BER";
                  }
    
                  leaf uncorrected-ber-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Uncorrected BER";
                  }
    
                  leaf tec-current-alarm-high-threshold {
                    type int32;
                    description
                      "High threshold alarm for TEC Current";
                  }
    
                  leaf tec-current-alarm-low-threshold {
                    type int32;
                    description
                      "Low threshold alarm for TEC Current";
                  }
    
                  leaf tec-current-warn-high-threshold {
                    type int32;
                    description
                      "High threshold warning for TEC Current";
                  }
    
                  leaf tec-current-warn-low-threshold {
                    type int32;
                    description
                      "Low threshold warning for TEC Current";
                  }
    
                  leaf laser-diff-frequency-alarm-high-threshold {
                    type int32;
                    description
                      "High Threshold Alarm for Differential Laser
    Frequency";
                  }
    
                  leaf laser-diff-frequency-alarm-low-threshold {
                    type int32;
                    description
                      "Low Threshold Alarm for Differential Laser
    Frequency";
                  }
    
                  leaf laser-diff-frequency-warn-high-threshold {
                    type int32;
                    description
                      "High Threshold Warning for Differential Laser
    Frequency";
                  }
    
                  leaf laser-diff-frequency-warn-low-threshold {
                    type int32;
                    description
                      "Low Threshold Warning for Differential Laser
    Frequency";
                  }
    
                  leaf laser-diff-temperature-alarm-high-threshold {
                    type int32;
                    description
                      "High Threshold Alarm for Differential Laser
    Temperature";
                  }
    
                  leaf laser-diff-temperature-alarm-low-threshold {
                    type int32;
                    description
                      "Low Threshold Alarm for Differential Laser
    Temperature";
                  }
    
                  leaf laser-diff-temperature-warn-high-threshold {
                    type int32;
                    description
                      "High Threshold Warning for Differential Laser
    Temperature";
                  }
    
                  leaf laser-diff-temperature-warn-low-threshold {
                    type int32;
                    description
                      "Low Threshold Warning for Differential Laser
    Temperature";
                  }
    
                  leaf pre-fec-ber-latched-min-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Latched Min Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-latched-min-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Latched Min Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-latched-min-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Latched Min Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-latched-min-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Latched Min Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-latched-max-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Latched Max Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-latched-max-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Latched Max Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-latched-max-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Latched Max Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-latched-max-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Latched Max Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-accumulated-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Accumulated Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-accumulated-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Accumulated Pre FEC BER";
                  }
    
                  leaf pre-fec-ber-accumulated-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Accumulated Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-accumulated-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Accumulated Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-instantaneous-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Instantaneous Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-instantaneous-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Instantaneous Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-instantaneous-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Instantaneous Pre FEC
    BER";
                  }
    
                  leaf pre-fec-ber-instantaneous-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Instantaneous Pre FEC
    BER";
                  }
    
                  leaf uncorrected-ber-latched-min-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for  Latched Min
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-latched-min-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for  Latched Min Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-latched-min-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for  Latched Min
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-latched-min-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Latched Min Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-latched-max-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Latched_Max Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-latched-max-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Latched_Max Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-latched-max-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning Latched_Max for
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-latched-max-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning Latched_Max for
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-accumulated-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Accumulated Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-accumulated-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Accumulated Uncorrected
    BER";
                  }
    
                  leaf uncorrected-ber-accumulated-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Accumulated
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-accumulated-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Accumulated
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-instantaneous-alarm-high-threshold {
                    type int64;
                    description
                      "High threshold alarm for Instantaneous
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-instantaneous-alarm-low-threshold {
                    type int64;
                    description
                      "Low threshold alarm for Instantaneous
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-instantaneous-warn-high-threshold {
                    type int64;
                    description
                      "High threshold warning for Instantaneous
    Uncorrected BER";
                  }
    
                  leaf uncorrected-ber-instantaneous-warn-low-threshold {
                    type int64;
                    description
                      "Low threshold warning for Instantaneous
    Uncorrected BER";
                  }
                }  // container ext-param-threshold-val
    
                container extended-alarm-alarm-info {
                  description
                    "Extended DOM alarm Information";
                  container lo-snr {
                    description
                      "Low SNR Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-snr
    
                  container hi-snr1 {
                    description
                      "High SNR Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-snr1
    
                  container lo-snr1 {
                    description
                      "Low SNR Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-snr1
    
                  container hi-snr2 {
                    description
                      "High SNR Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-snr2
    
                  container lo-isi1 {
                    description
                      "Low ISI Correction Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-isi1
    
                  container hi-isi1 {
                    description
                      "High ISI Correction Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-isi1
    
                  container lo-isi2 {
                    description
                      "Low ISI Correction Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-isi2
    
                  container hi-isi2 {
                    description
                      "High ISI Correction Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-isi2
    
                  container lo-pam1 {
                    description
                      "Low PAM Rate Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-pam1
    
                  container hi-pam1 {
                    description
                      "High PAM Rate Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pam1
    
                  container lo-pam2 {
                    description
                      "Low PAM Rate Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-pam2
    
                  container hi-pam2 {
                    description
                      "High PAM Rate Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pam2
    
                  container lo-tec1 {
                    description
                      "Low TEC Current Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-tec1
    
                  container hi-tec1 {
                    description
                      "High TEC Current Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-tec1
    
                  container lo-tec2 {
                    description
                      "Low TEC Current Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-tec2
    
                  container hi-tec2 {
                    description
                      "High TEC Current Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-tec2
    
                  container lo-laser-freq1 {
                    description
                      "Low Laser Differential Frequency Alarm for Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-laser-freq1
    
                  container hi-laser-freq1 {
                    description
                      "High Laser Differential Frequency Alarm for
    Lane1";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-laser-freq1
    
                  container lo-laser-freq2 {
                    description
                      "Low Laser Differential Frequency Alarm for Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container lo-laser-freq2
    
                  container hi-laser-freq2 {
                    description
                      "High Laser Differential Frequency Alarm for
    Lane2";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-laser-freq2
    
                  container hi-pre-fecber-cur-acc {
                    description
                      "High Pre FEC BER Current Accumulated Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pre-fecber-cur-acc
    
                  container hi-pre-fecber-min {
                    description
                      "High Pre FEC BER Min Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pre-fecber-min
    
                  container hi-pre-fecber-max {
                    description
                      "High Pre FEC BER Max Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pre-fecber-max
    
                  container hi-pre-fecber-prior-acc {
                    description
                      "High Pre FEC BER Prior Accumulated Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pre-fecber-prior-acc
    
                  container hi-pre-fecber-cur {
                    description
                      "High Pre FEC BER Current Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-pre-fecber-cur
    
                  container hi-uncorrected-ber-cur-acc {
                    description
                      "High Uncorrected BER Current Accumulated Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-uncorrected-ber-cur-acc
    
                  container hi-uncorrected-ber-min {
                    description
                      "High Uncorrected BER Min Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-uncorrected-ber-min
    
                  container hi-uncorrected-ber-max {
                    description
                      "High Uncorrected BER Max Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-uncorrected-ber-max
    
                  container hi-uncorrected-ber-prior-acc {
                    description
                      "High Uncorrected BER Prior Accumulated Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-uncorrected-ber-prior-acc
    
                  container hi-uncorrected-ber-cur {
                    description
                      "High Uncorrected BER Current Alarm";
                    leaf is-detected {
                      type boolean;
                      description
                        "Is defect detected?";
                    }
    
                    leaf counter {
                      type uint32;
                      description
                        "Alarm counter";
                    }
                  }  // container hi-uncorrected-ber-cur
                }  // container extended-alarm-alarm-info
    
                container ains-info {
                  description "AINS information";
                  leaf ains-state {
                    type Optics-ains-state-et;
                    description "AINS State";
                  }
    
                  leaf ains-timer-minutes {
                    type uint32;
                    units "minute";
                    description
                      "AINS Timer in Minutes";
                  }
    
                  leaf ains-remaining-secs {
                    type uint32;
                    units "second";
                    description
                      "AINS Remaining Seconds";
                  }
                }  // container ains-info
    
                container submarine-info {
                  description
                    "Submarine information";
                  container prop-submarine-params {
                    description
                      "Proprietary Submarine Parameters";
                    list count {
                      description
                        "submarine count";
                      leaf type {
                        type uint32;
                        description
                          "Proprietary Parameter Type";
                      }
    
                      leaf value {
                        type uint32;
                        description
                          "Proprietary Parameter Value";
                      }
                    }  // list count
                  }  // container prop-submarine-params
    
                  leaf filter-roll-off-factor {
                    type string;
                    description
                      "RRC Filter Roll-Off factor";
                  }
    
                  leaf rx-voa-target-power {
                    type string;
                    description
                      "Receive Target Power";
                  }
    
                  leaf rx-voa-fixed-ratio {
                    type string;
                    description
                      "Receive Ratio of Optical Attenuation";
                  }
    
                  leaf enh-colorless-mode {
                    type uint32;
                    description
                      "Enhanced Colorless Mode";
                  }
    
                  leaf enhsop-tolerance-mode {
                    type uint32;
                    description
                      "Enhanced SOP Tolerance Mode";
                  }
    
                  leaf nleq-compensation {
                    type uint32;
                    description
                      "Non Linear Effect Compenstation";
                  }
    
                  leaf cross-pol-gain-mode {
                    type uint32;
                    description
                      "Carrier Phase Recovery Cross Polarization Gain
    Mode";
                  }
    
                  leaf cross-pol-weight-mode {
                    type uint32;
                    description
                      "Carrier Phase Recovery Cross Polarization Weight
    Mode";
                  }
    
                  leaf cpr-win-mode {
                    type uint32;
                    description
                      "Carrier Phase Recovery Window Mode";
                  }
    
                  leaf cpr-ext-win-mode {
                    type uint32;
                    description
                      "Carrier Phase Recovery Extended Window Mode";
                  }
                }  // container submarine-info
    
                container raman-tx-power {
                  description "Raman Tx Power";
                  list count {
                    description
                      "raman transmit power count";
                    leaf raman-tx-power-instance {
                      type uint32;
                      description
                        "Raman Transmit Power Intance";
                    }
    
                    leaf raman-tx-power-value {
                      type string;
                      description
                        "Raman Transmit Power Value in units of 0.01mW";
                    }
    
                    leaf raman-tx-wavelength {
                      type string;
                      description
                        "Raman Transmit Wavelength in units of nm";
                    }
                  }  // list count
                }  // container raman-tx-power
    
                container transmit-n-power {
                  description
                    "Transmit N Power in the unit of 0.01dBm";
                  list count {
                    description
                      "Transmit Power count";
                    leaf instance {
                      type uint32;
                      description
                        "Transmit Power Parameter Type";
                    }
    
                    leaf value {
                      type string;
                      description
                        "Transmit Power Parameter Value";
                    }
                  }  // list count
                }  // container transmit-n-power
    
                container receive-n-power {
                  description
                    "Receive N Power in the unit of 0.01dBm";
                  list count {
                    description
                      "Receive Power count";
                    leaf instance {
                      type uint32;
                      description
                        "Transmit Power Parameter Type";
                    }
    
                    leaf value {
                      type string;
                      description
                        "Transmit Power Parameter Value";
                    }
                  }  // list count
                }  // container receive-n-power
    
                leaf transport-admin-state {
                  xr:event-telemetry "Subscribe Telemetry Event";
                  type Optics-tas;
                  description
                    "Transport Admin State";
                }
    
                leaf optics-present {
                  type boolean;
                  description
                    "Is Optics Present?";
                }
    
                leaf optics-type {
                  type Optics;
                  description
                    "Old Optics type name, Use Derived Optics type";
                }
    
                leaf derived-optics-type {
                  type string;
                  description
                    "Derived Optics type name";
                }
    
                leaf optics-module {
                  type string;
                  description
                    "Optics module name";
                }
    
                leaf dwdm-carrier-band {
                  type Optics-wave-band;
                  description
                    "DWDM Carrier Band information";
                }
    
                leaf dwdm-carrier-channel {
                  type string;
                  description
                    "Current ITU DWDM Carrier channel number";
                }
    
                leaf dwdm-carrier-frequency {
                  type string;
                  description
                    "DWDM Carrier frequency read from hw in the units
    of  1THz";
                }
    
                leaf dwdm-carrier-wavelength {
                  type string;
                  description
                    "Wavelength of color optics 0.001nm";
                }
    
                leaf grey-wavelength {
                  type uint32;
                  description
                    "Wavelength of grey optics 0.01nm";
                }
    
                leaf rx-low-threshold {
                  type int32;
                  description
                    "Rx Low threshold value in units of 0.1dBm";
                }
    
                leaf rx-high-threshold {
                  type int32;
                  description
                    "Rx High threshold value in units of 0.1dBm";
                }
    
                leaf lbc-high-threshold {
                  type int32;
                  units "percentage";
                  description
                    "LBC High threshold value in units of percentage";
                }
    
                leaf tx-low-threshold {
                  type int32;
                  description
                    "Tx Low threshold value in units of 0.1dBm";
                }
    
                leaf tx-high-threshold {
                  type int32;
                  description
                    "Tx High threshold value in units of 0.1dBm";
                }
    
                leaf lbc-th-high-default {
                  type int32;
                  description
                    "LBC high threshold default value in units of 0
    .001mA";
                }
    
                leaf lbc-th-low-default {
                  type int32;
                  description
                    "LBC low threshold default value in units of 0
    .001mA";
                }
    
                leaf temp-low-threshold {
                  type int32;
                  description
                    "Temp Low threshold value in the units 0.01C";
                }
    
                leaf temp-high-threshold {
                  type int32;
                  description
                    "Temp High threshold value in the units of 0.01C";
                }
    
                leaf volt-low-threshold {
                  type int32;
                  description
                    "Volt Low threshold value in the units of 0.01V";
                }
    
                leaf volt-high-threshold {
                  type int32;
                  description
                    "Volt High threshold value in the units of 0.01V";
                }
    
                leaf cd {
                  type int32;
                  description
                    "Chromatic Dispersion ps/nm";
                }
    
                leaf cd-min {
                  type int32;
                  description
                    "Chromatic Dispersion Min ps/nm";
                }
    
                leaf cd-max {
                  type int32;
                  description
                    "Chromatic Dispersion Max ps/nm";
                }
    
                leaf cd-low-threshold {
                  type int32;
                  description
                    "Chromatic Dispersion low threshold ps/nm";
                }
    
                leaf cd-high-threshold {
                  type int32;
                  description
                    "Chromatic Dispersion high threshold ps/nm";
                }
    
                leaf osnr-low-threshold {
                  type string;
                  description
                    "OSNR low threshold in 0.01 dB";
                }
    
                leaf dgd-high-threshold {
                  type string;
                  description
                    "DGD high threshold in 0.1 ps";
                }
    
                leaf polarization-mode-dispersion {
                  type string;
                  description
                    "Polarization Mode Dispersion 0.1ps";
                }
    
                leaf second-order-polarization-mode-dispersion {
                  type string;
                  description
                    "Second Order Polarization Mode Dispersion 0
    .1ps^2";
                }
    
                leaf optical-signal-to-noise-ratio {
                  type string;
                  description
                    "Optical Signal to Noise Ratio dB";
                }
    
                leaf polarization-dependent-loss {
                  type string;
                  description
                    "Polarization Dependent Loss dB";
                }
    
                leaf polarization-change-rate {
                  type string;
                  description
                    "Polarization Change Rate rad/s";
                }
    
                leaf differential-group-delay {
                  type string;
                  description
                    "Differential Group Delay ps";
                }
    
                leaf phase-noise {
                  type string;
                  description "Phase Noise dB";
                }
    
                leaf pm-enable {
                  type uint32;
                  description
                    "PmEable or Disable";
                }
    
                leaf laser-state {
                  type Optics-laser-state;
                  description
                    "Showing laser state.Either ON or OFF or unknown";
                }
    
                leaf modulation-type {
                  type Optics-modulation;
                  description
                    "Available Modulation Types";
                }
    
                leaf led-state {
                  type Optics-led-state;
                  description
                    "Showing Current Colour of led state";
                }
    
                leaf controller-state {
                  xr:event-telemetry "Subscribe Telemetry Event";
                  type Optics-controller-state;
                  description
                    "Optics controller state: Up, Down or
    Administratively Down";
                }
    
                leaf form-factor {
                  type Optics-form-factor;
                  description
                    "Optics form factor";
                }
    
                leaf phy-type {
                  type Optics-phy;
                  description
                    "Optics physical type";
                }
    
                leaf cfg-tx-power {
                  type int32;
                  description
                    "Configured Tx power value in units of 0.1dB";
                }
    
                leaf cfg-tx-power-configurable {
                  type boolean;
                  description
                    "TX Power Configuration is supported or not";
                }
    
                leaf temperature {
                  type int32;
                  description
                    "Temperature value in units of 0.01 C";
                }
    
                leaf voltage {
                  type int32;
                  description
                    "Voltage value in units of 0.01V";
                }
    
                leaf display-volt-temp {
                  type boolean;
                  description
                    "Display Volt/Temp ?";
                }
    
                leaf cd-configurable {
                  type boolean;
                  description
                    "CD Configurable is supported or not";
                }
    
                leaf optics-fec {
                  type Optics-fec;
                  description "Optics FEC";
                }
    
                leaf skip-snmp-pm-table {
                  type int32;
                  description
                    "PM enabled or not";
                }
    
                leaf port-type {
                  type Optics-port;
                  description
                    "Showing port type";
                }
    
                leaf port-status {
                  type Optics-port-status;
                  description
                    "Showing port status";
                }
    
                leaf rx-voa-attenuation {
                  type int32;
                  description
                    "Rx Voa Attenuation in the units of 0.01dBm";
                }
    
                leaf tx-voa-attenuation {
                  type int32;
                  description
                    "Tx Voa Attenuation in the units of 0.01dBm";
                }
    
                leaf ampli-gain {
                  type int32;
                  description
                    "Ampli Gain in the units of 0.01dBm";
                }
    
                leaf ampli-tilt {
                  type int32;
                  description
                    "Ampli Tilt in the units of 0.01dBm";
                }
    
                leaf rx-power-th-configurable {
                  type boolean;
                  description
                    "rx power th configurable";
                }
    
                leaf tx-power-th-configurable {
                  type boolean;
                  description
                    "tx power th configurable";
                }
    
                leaf rx-voa-attenuation-config-val {
                  type int32;
                  description
                    "RX VOA attenuation configured value in units of
    0.01dBm";
                }
    
                leaf tx-voa-attenuation-config-val {
                  type int32;
                  description
                    "TX VOA attenuation configured value in units of
    0.01dBm";
                }
    
                leaf ampli-control-mode-config-val {
                  type Optics-amplifier-control-mode;
                  description
                    "ampli control mode config val";
                }
    
                leaf ampli-gain-range-config-val {
                  type Optics-amplifier-gain-range;
                  description
                    "ampli gain range config val";
                }
    
                leaf ampli-gain-config-val {
                  type int32;
                  description
                    "Ampli gain configured value in units of 0.1dB";
                }
    
                leaf ampli-tilt-config-val {
                  type int32;
                  description
                    "Ampli tilt configured value in units of 0.1dB";
                }
    
                leaf ampli-channel-power-config-val {
                  type int32;
                  description
                    "Ampli channel power configured value in units of
    0.1dBm";
                }
    
                leaf channel-power-max-delta-config-val {
                  type int32;
                  description
                    "Channel power max delta configured value in
    units of 0.1 dBm";
                }
    
                leaf ampli-gain-thr-deg-low-config-val {
                  type int32;
                  description
                    "Ampli gain low degrade threshold configured
    value in units of 0.1dBm";
                }
    
                leaf ampli-gain-thr-deg-high-config-val {
                  type int32;
                  description
                    "Ampli gain high degrade threshold configured
    value in units of 0.1dBm";
                }
    
                leaf ampli-channel-psd-config-val {
                  type int32;
                  description
                    "Ampli channel psd configured value in units of 0
    .001 nW/MHz";
                }
    
                leaf rx-low-th-psd-config-val {
                  type int32;
                  description
                    "Rx Low threshold psd value in units of 0.001
    nW/MHz";
                }
    
                leaf osri-config-val {
                  type boolean;
                  description "osri config val";
                }
    
                leaf tx-config-val {
                  type boolean;
                  description "tx config val";
                }
    
                leaf rx-config-val {
                  type boolean;
                  description "rx config val";
                }
    
                leaf rx-thr-fail-low-delta-val {
                  type int32;
                  description
                    "rx thr fail low delta val";
                }
    
                leaf safety-control-mode-config-val {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "safety control mode config val";
                }
    
                leaf total-rx-power {
                  type int32;
                  description
                    "Total Receive Power for Multi-Lane Optics in
    units of 0.01 dBm";
                }
    
                leaf total-tx-power {
                  type int32;
                  description
                    "Total Transmit Power for Multi-Lane Optics in
    units of 0.01 dBm";
                }
    
                leaf is-bo-configured {
                  type boolean;
                  description
                    "Is BO configured ?";
                }
    
                leaf ingress-ampli-gain-range-config-val {
                  type Optics-amplifier-gain-range;
                  description
                    "ingress ampli gain range config val";
                }
    
                leaf ingress-ampli-gain-config {
                  type string;
                  description
                    "Ingress Ampli gain configured value in units of
    0.01dB";
                }
    
                leaf ingress-ampli-tilt-config {
                  type string;
                  description
                    "Ingress Ampli tilt configured value in units of
    0.01dB";
                }
    
                leaf ingress-ampli-thr-deg-low-config {
                  type string;
                  description
                    "Ingress Ampli gain low degrade threshold
    configured value in units of 0.01dB";
                }
    
                leaf ingress-ampli-thr-deg-high-config {
                  type string;
                  description
                    "Ingress Ampli gain high degrade threshold
    configured value in units of 0.01dB";
                }
    
                leaf egress-ampli-gain-range-config-val {
                  type Optics-amplifier-gain-range;
                  description
                    "egress ampli gain range config val";
                }
    
                leaf egress-ampli-gain-config {
                  type string;
                  description
                    "Egress Ampli gain configured value in units of 0
    .01dB";
                }
    
                leaf egress-ampli-tilt-config {
                  type string;
                  description
                    "Egress Ampli tilt configured value in units of 0
    .01dB";
                }
    
                leaf egress-ampli-gain-thr-deg-low-config {
                  type string;
                  description
                    "Egress Ampli gain low degrade threshold
    configured value in units of 0.01dB";
                }
    
                leaf egress-ampli-gain-thr-deg-high-config {
                  type string;
                  description
                    "Egress Ampli gain high degrade threshold
    configured value in units of 0.01dB";
                }
    
                leaf is-ext-param-valid {
                  type boolean;
                  description
                    "Are the Extended Parameters Valid ?";
                }
    
                leaf alarm-detected {
                  type boolean;
                  description
                    "Are there any alarms ?";
                }
    
                leaf rx-low-warning-threshold {
                  type int32;
                  description
                    "Rx Low Warning threshold value in units of 0
    .1dBm";
                }
    
                leaf rx-high-warning-threshold {
                  type int32;
                  description
                    "Rx High Warning threshold value in units of 0
    .1dBm";
                }
    
                leaf tx-low-warning-threshold {
                  type int32;
                  description
                    "Tx Low Warning threshold value in units of 0
    .1dBm";
                }
    
                leaf tx-high-warning-threshold {
                  type int32;
                  description
                    "Tx High Warning threshold value in units of 0
    .1dBm";
                }
    
                leaf lbc-th-high-warning-default {
                  type int32;
                  description
                    "LBC high Warning threshold default value in
    units of 0.001mA";
                }
    
                leaf lbc-th-low-warning-default {
                  type int32;
                  description
                    "LBC low warning threshold default value in units
    of 0.001mA";
                }
    
                leaf temp-low-warning-threshold {
                  type int32;
                  description
                    "Temp Low warning threshold value in the units 0
    .01C";
                }
    
                leaf temp-high-warning-threshold {
                  type int32;
                  description
                    "Temp High warning threshold value in the units
    of 0.01C";
                }
    
                leaf volt-low-warning-threshold {
                  type int32;
                  description
                    "Volt Low warning threshold value in the units of
    0.01V";
                }
    
                leaf volt-high-warning-threshold {
                  type int32;
                  description
                    "Volt High warning threshold value in the units
    of 0.01V";
                }
    
                leaf description {
                  type string;
                  description
                    "Controller description string";
                }
    
                leaf ampli-gain-range {
                  type Optics-amplifier-gain-range;
                  description "Ampli gain range";
                }
    
                leaf safety-control-mode {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Safety control mode";
                }
    
                leaf osri {
                  type boolean;
                  description "OSRI";
                }
    
                leaf tx-enable {
                  type boolean;
                  description "TX Enable";
                }
    
                leaf rx-enable {
                  type boolean;
                  description "RX Enable";
                }
    
                leaf is-optics-type-string-valid {
                  type boolean;
                  description
                    "Is the Optics type string valid ?";
                }
    
                leaf optics-type-str {
                  type string;
                  description
                    "optics type String";
                }
    
                leaf rx-low-threshold-current {
                  type int32;
                  description
                    "Rx Low threshold actual value in units of 0.1dBm";
                }
    
                leaf rx-span-loss {
                  type int32;
                  description
                    "RX Span Loss in units of 0.01 dB";
                }
    
                leaf tx-span-loss {
                  type int32;
                  description
                    "TX Span Loss in units of 0.01 dB";
                }
    
                leaf baud-rate {
                  type string;
                  description "Baud Rate in GBd";
                }
    
                leaf bits-per-symbol {
                  type string;
                  description "Bits per Symbol";
                }
    
                leaf rx-low-threshold-delta {
                  type int32;
                  description
                    "Rx Low threshold delta value in units of 0.1dB";
                }
    
                leaf wait-to-restore {
                  type uint32;
                  units "second";
                  description
                    "elapse time to trigger psm revert in units of
    seconds";
                }
    
                leaf channel-width {
                  type uint32;
                  description "Channel Width";
                }
    
                leaf channel-central-freq {
                  type uint64;
                  description
                    "Channel Central Frequency";
                }
    
                leaf rx-psd {
                  type string {
                    length "0..16";
                  }
                  description
                    "Received Power spectral density in microwatts
    per megahertz, uW/MHz";
                }
    
                leaf tx-psd {
                  type string {
                    length "0..16";
                  }
                  description
                    "Transmit Power spectral density in microwatts
    per megahertz, uW/MHz";
                }
    
                leaf snr {
                  type string;
                  description
                    "Signal to Noise Ratio dB";
                }
    
                leaf back-reflection {
                  type int32;
                  description
                    "Back Reflected Transmit Power in units of 0.1dBm";
                }
    
                leaf cd-display {
                  type boolean;
                  description
                    "CD param to be displayed only";
                }
    
                leaf cfg-tx-power-display {
                  type boolean;
                  description
                    "Config Tx power to be displayed only";
                }
    
                leaf add-drop-channel {
                  type string;
                  description
                    "Add Drop Channel R/S/I/P/ch";
                }
    
                leaf line-channel {
                  type string;
                  description
                    "Line Channel R/S/I/P/ch";
                }
    
                leaf ingress-ampli-gain {
                  type string;
                  description
                    "Ingress Ampli Gain in the unit of 0.01dB";
                }
    
                leaf ingress-ampli-tilt {
                  type string;
                  description
                    "Ingress Ampli Tilt in the unit of 0.01dB";
                }
    
                leaf ingress-amp-gain-deg-low {
                  type string;
                  description
                    "IngressAmpli Gain Deg Low in the unit of 0.01dB";
                }
    
                leaf ingress-amp-gain-deg-high {
                  type string;
                  description
                    "Ingress Ampli Gain Deg High in the unit of 0
    .01dB";
                }
    
                leaf ingress-ampli-gain-range {
                  type Optics-amplifier-gain-range;
                  description
                    "Ingress Ampli gain range";
                }
    
                leaf egress-ampli-gain {
                  type string;
                  description
                    "Egress Ampli Gain in the unit of 0.01dB";
                }
    
                leaf egress-ampli-tilt {
                  type string;
                  description
                    "Egress Ampli Tilt in the unit of 0.01dB";
                }
    
                leaf egress-amp-gain-deg-low {
                  type string;
                  description
                    "EgressAmpli Gain Deg Low in the unit of 0.01dB";
                }
    
                leaf egress-amp-gain-deg-high {
                  type string;
                  description
                    "Egress Ampli Gain Deg High in the unit of 0.01dB";
                }
    
                leaf egress-ampli-gain-range {
                  type Optics-amplifier-gain-range;
                  description
                    "Egress Ampli gain range";
                }
    
                leaf composite-raman-power {
                  type string;
                  description
                    "Composite Raman Power";
                }
    
                leaf central-frequncy {
                  type string;
                  description
                    "frequency read from hw in the units of THz";
                }
    
                leaf wavelength {
                  type string;
                  description
                    "Wavelength in unit of dB";
                }
    
                leaf total-cl-tx-power {
                  type string;
                  description
                    "Total (L+C)-transmit Power in the unit of 0
    .01dBm";
                }
    
                leaf total-cl-rx-power {
                  type string;
                  description
                    "Total (L+C)-receive Power in the unit of 0.01dBm";
                }
    
                leaf ingress-ampli-osri {
                  type boolean;
                  description
                    "Ingress Ampli Osri";
                }
    
                leaf egress-ampli-osri {
                  type boolean;
                  description
                    "Egress Ampli Osri";
                }
    
                leaf ingress-ampli-force-apr {
                  type boolean;
                  description
                    "Ingress Ampli Force Apr";
                }
    
                leaf egress-ampli-force-apr {
                  type boolean;
                  description
                    "Egress Ampli Force Apr";
                }
    
                leaf egress-ampli-br {
                  type Ots-back-reflection-state;
                  description "Egress Ampli Br";
                }
    
                leaf ingress-ampli-safety-control-mode {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Ingress Ampli Safety control mode";
                }
    
                leaf egress-ampli-safety-control-mode {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Egress Ampli Safety control mode";
                }
    
                leaf ingress-ampli-safety-control-mode-configured {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Ingress Ampli Safety Control Mode Configured";
                }
    
                leaf egress-ampli-safety-control-mode-configured {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Egress Ampli Safety Control Mode Configured";
                }
    
                leaf egress-br-high-threshold {
                  type int32;
                  description
                    "Egress Br High Threshold in units of 0.1 dBm";
                }
    
                leaf ingress-ampli-osri-configured {
                  type boolean;
                  description
                    "Ingress Ampli Osri Configured";
                }
    
                leaf egress-ampli-osri-configured {
                  type boolean;
                  description
                    "Egress Ampli Osri Configured";
                }
    
                leaf ingress-ampli-force-apr-configured {
                  type boolean;
                  description
                    "Ingress Ampli Force Apr Configured";
                }
    
                leaf egress-ampli-force-apr-configured {
                  type boolean;
                  description
                    "Egress Ampli Force Apr Configured";
                }
    
                leaf egress-ampli-br-configured {
                  type Ots-back-reflection-state;
                  description
                    "Egress Ampli Br Configured";
                }
    
                leaf raman-safety-control-mode {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Raman Safety control mode";
                }
    
                leaf raman-safety-control-mode-configured {
                  type Optics-amplifier-safety-control-mode;
                  description
                    "Raman Safety control mode Configured";
                }
    
                leaf raman-osri {
                  type boolean;
                  description "Raman Osri";
                }
    
                leaf raman-force-apr {
                  type boolean;
                  description "Raman Force Apr";
                }
    
                leaf raman-br {
                  type Ots-back-reflection-state;
                  description "Raman Br";
                }
    
                leaf raman-br-high-threshold {
                  type int32;
                  description
                    "Raman Br High Threshold in units of 0.1 dBm";
                }
    
                leaf raman-osri-configured {
                  type boolean;
                  description
                    "Raman Osri Configured";
                }
    
                leaf raman-force-apr-configured {
                  type boolean;
                  description
                    "Raman Force Apr Configured";
                }
    
                leaf raman-br-configured {
                  type Ots-back-reflection-state;
                  description
                    "Raman Br Configured";
                }
    
                list lane-data {
                  description "Lane information";
                  container lane-alarm-info {
                    description
                      "Lane Alarm Information";
                    container high-rx-power {
                      description
                        "High Rx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-rx-power
    
                    container low-rx-power {
                      description "Low Rx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container low-rx-power
    
                    container high-tx-power {
                      description
                        "High Tx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-tx-power
    
                    container low-tx-power {
                      description "Low Tx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container low-tx-power
    
                    container high-lbc {
                      description
                        "High laser bias current";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-lbc
                  }  // container lane-alarm-info
    
                  leaf lane-index {
                    type uint32;
                    description
                      "The index number of the lane";
                  }
    
                  leaf laser-bias-current-percent {
                    type uint32;
                    units "percentage";
                    description
                      "Laser Bias Current in units of 0.01 percentage";
                  }
    
                  leaf laser-bias-current-milli-amps {
                    type uint32;
                    description
                      "Laser Bias Current in units of 0.01mA";
                  }
    
                  leaf transmit-power {
                    type int32;
                    description
                      "Transmit power in the units of 0.01dBm";
                  }
    
                  leaf receive-power {
                    type int32;
                    description
                      "Transponder receive power in the units of 0
    .01dBm";
                  }
    
                  leaf receive-signal-power {
                    type int32;
                    description
                      "Transponder receive signal power in the units of
    0.01dBm";
                  }
    
                  leaf transmit-signal-power {
                    type int32;
                    description
                      "Transmit Signal power in the units of 0.01dBm";
                  }
    
                  leaf output-frequency {
                    type int32;
                    description
                      "Output frequency read from hw in the units of
    100MHz";
                  }
    
                  leaf frequency-offset {
                    type int32;
                    description
                      "Frequency Offset read from hw in units of MHz";
                  }
    
                  leaf frequency100mhz {
                    type uint32;
                    description
                      "Output frequency read from HW in resolution of
    100MHz";
                  }
                }  // list lane-data
              }  // container optics-info
    
              container optics-fastpolls {
                description
                  "All Optics Fastpoll operational data";
                list optics-fastpoll {
                  key "unique-id";
                  description
                    "Fastpoll Information";
                  leaf unique-id {
                    type uint32;
                    description "Fastpoll Index";
                  }
    
                  container fastpoll-data {
                    description "fastpoll data";
                    leaf index {
                      type uint32;
                      description "Index";
                    }
    
                    leaf timestamp {
                      type uint64;
                      description "Timestamp";
                    }
    
                    leaf interval {
                      type uint32;
                      description
                        "sop data interval in millisec";
                    }
    
                    leaf sop1 {
                      type string;
                      description "sop 1 info";
                    }
    
                    leaf sop2 {
                      type string;
                      description "sop 2 info";
                    }
    
                    leaf sop3 {
                      type string;
                      description "sop 3 info";
                    }
                  }  // container fastpoll-data
                }  // list optics-fastpoll
              }  // container optics-fastpolls
    
              container optics-lanes {
                description
                  "All Optics Port operational data";
                list optics-lane {
                  key "number";
                  description "Lane Information";
                  leaf number {
                    type uint32;
                    description "Lane Index";
                  }
    
                  container lane-alarm-info {
                    description
                      "Lane Alarm Information";
                    container high-rx-power {
                      description
                        "High Rx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-rx-power
    
                    container low-rx-power {
                      description "Low Rx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container low-rx-power
    
                    container high-tx-power {
                      description
                        "High Tx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-tx-power
    
                    container low-tx-power {
                      description "Low Tx Power";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container low-tx-power
    
                    container high-lbc {
                      description
                        "High laser bias current";
                      leaf is-detected {
                        type boolean;
                        description
                          "Is defect detected?";
                      }
    
                      leaf counter {
                        type uint32;
                        description
                          "Alarm counter";
                      }
                    }  // container high-lbc
                  }  // container lane-alarm-info
    
                  leaf lane-index {
                    type uint32;
                    description
                      "The index number of the lane";
                  }
    
                  leaf laser-bias-current-percent {
                    type uint32;
                    units "percentage";
                    description
                      "Laser Bias Current in units of 0.01 percentage";
                  }
    
                  leaf laser-bias-current-milli-amps {
                    type uint32;
                    description
                      "Laser Bias Current in units of 0.01mA";
                  }
    
                  leaf transmit-power {
                    type int32;
                    description
                      "Transmit power in the units of 0.01dBm";
                  }
    
                  leaf receive-power {
                    type int32;
                    description
                      "Transponder receive power in the units of 0
    .01dBm";
                  }
    
                  leaf receive-signal-power {
                    type int32;
                    description
                      "Transponder receive signal power in the units of
    0.01dBm";
                  }
    
                  leaf transmit-signal-power {
                    type int32;
                    description
                      "Transmit Signal power in the units of 0.01dBm";
                  }
    
                  leaf output-frequency {
                    type int32;
                    description
                      "Output frequency read from hw in the units of
    100MHz";
                  }
    
                  leaf frequency-offset {
                    type int32;
                    description
                      "Frequency Offset read from hw in units of MHz";
                  }
    
                  leaf frequency100mhz {
                    type uint32;
                    description
                      "Output frequency read from HW in resolution of
    100MHz";
                  }
                }  // list optics-lane
              }  // container optics-lanes
    
              container optics-db-info {
                description
                  "Optics operational data";
                container network-srlg-info {
                  description
                    "Network SRLG information";
                  list network-srlg-array {
                    description
                      "Network Srlg Array";
                    leaf set-number {
                      type uint32;
                      description
                        "Array to maintain set number";
                    }
    
                    leaf-list network-srlg {
                      type uint32;
                      description "Network Srlg";
                    }
                  }  // list network-srlg-array
                }  // container network-srlg-info
    
                leaf transport-admin-state {
                  type Optics-tas;
                  description
                    "Transport Admin State";
                }
    
                leaf controller-state {
                  type Optics-controller-state;
                  description
                    "Optics controller state: Up, Down or
    Administratively Down";
                }
              }  // container optics-db-info
    
              leaf name {
                type xr:Interface-name;
                description "Port name";
              }
            }  // list optics-port
          }  // container optics-ports
        }  // container optics-oper
      }  // module Cisco-IOS-XR-controller-optics-oper
    

© 2023 YumaWorks, Inc. All rights reserved.