This submodule contains a collection of YANG definitions for Cisco IOS-XR controller-otu package operational data. Copyright (c...
Version: 2020-05-12
submodule Cisco-IOS-XR-controller-otu-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-controller-otu-oper { prefix Cisco-IOS-XR-controller-otu-oper; } import cisco-semver { prefix semver; } 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 submodule contains a collection of YANG definitions for Cisco IOS-XR controller-otu package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-05-12" { description "Added flexo oper 2020-04-29 Added new parameter inst-q-margin"; } revision "2019-12-19" { description "Added new values in OTU_G709FECMode 2019-09-18 Added new parameters, q-margin, q-factor, bandwidth to reflect under show controller coherentdsp."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2017-03-13" { description "PRBS Info added"; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "3.1.0"; semver:module-version "3.0.0"; semver:module-version "2.0.0"; typedef Otu-ains-state-et { type enumeration { enum "none" { value 0; description "None"; } enum "active-running" { value 1; description "Running"; } enum "active-pending" { value 2; description "Pending"; } } description "Otu ains state et"; } typedef Gmpls-otu-tti-mode { type enumeration { enum "gmpls-otu-tti-mode-none" { value 0; description "Not Set"; } enum "gmpls-otu-tti-mode-sm" { value 1; description "Section Monitoring"; } enum "gmpls-otu-tti-mode-pm" { value 2; description "Path Monitoring"; } enum "gmpls-otu-tti-mode-tcm" { value 3; description "Tandem Connection Monitoring"; } } description "Gmpls otu tti mode"; } typedef Otu-pp-intf-state { type enumeration { enum "otu-pp-intf-up" { value 0; description "Interface is Up"; } enum "otu-pp-intf-failing" { value 1; description "Interface is Going Down"; } enum "otu-pp-intf-down" { value 2; description "Interface Down"; } } description "Otu pp intf state"; } typedef Otu-pp-fsm-state { type enumeration { enum "otu-in-active" { value 0; description "In Active"; } enum "otu-disabled" { value 1; description "Disabled"; } enum "otu-normal-state" { value 2; description "Normal"; } enum "otu-local-failing" { value 3; description "Local Failing"; } enum "otu-remote-failing" { value 4; description "Remote Failing"; } enum "otu-main-t-failing" { value 5; description "Maintance Failing"; } enum "otu-regen-failing" { value 6; description "Regenerator Failing"; } enum "otu-local-failed" { value 7; description "Local Failed"; } enum "otu-remote-failed" { value 8; description "Remote Failed"; } enum "otu-main-t-failed" { value 9; description "Maintance Failed"; } enum "otu-regen-failed" { value 10; description "Regenerator Failed"; } } description "Otu pp fsm state"; } typedef Otu-per-mon { type enumeration { enum "disable" { value 0; description "Disable"; } enum "enable" { value 1; description "Enable"; } } description "Otu per mon"; } typedef Otu-sec-state { type enumeration { enum "normal" { value 0; description "Normal"; } enum "maintenance" { value 1; description "Maintenance"; } enum "ains" { value 2; description "Automatic In Service"; } } description "Otu sec state"; } typedef Otu-der-state { type enumeration { enum "out-of-service" { value 0; description "Out Of Service"; } enum "in-service" { value 1; description "In Service"; } enum "maintenance" { value 2; description "Maintenance"; } enum "ains" { value 3; description "Automatic In Service"; } } description "Otu der state"; } typedef Otu-g709fec-mode { type enumeration { enum "otu-bag-none-fec" { value 1; description "NONE"; } enum "otu-bag-standard-fec" { value 2; description "STANDARD"; } enum "otu-bag-1-i-7-fec" { value 4; description "ENHANCEDI.7"; } enum "otu-bag-1-i-4-fec" { value 8; description "ENHANCEDI.4"; } enum "otu-bag-swizzle-fec" { value 16; description "SWIZZLE"; } enum "otu-bag-hg20-fec" { value 32; description "HIGH GAIN20"; } enum "otu-bag-enhanced-hg7-fec" { value 64; description "Enhanced High Gain 7"; } enum "otu-bag-sd20-fec" { value 128; description "Soft-Decision 20"; } enum "otu-bag-sd7-fec" { value 256; description "Soft-Decision 7"; } enum "otu-bag-sd15-fec" { value 512; description "Soft-Decision 15"; } enum "otu-bag-sd27-fec" { value 1024; description "Soft-Decision 27"; } enum "otu-bag-sd15-de-fec" { value 2048; description "Soft-Decision 15 DE"; } enum "otu-bag-staircase-de-fec" { value 4096; description "STAIRCASE DE"; } enum "otu-bag-o-fec" { value 8192; description "O FEC"; } enum "otu-bag-c-fec" { value 16384; description "C FEC"; } enum "otu-bag-all-fec" { value 32768; description "ALL"; } } description "Otu g709fec mode"; } typedef Otu-cn-rate { type enumeration { enum "otuc1" { value 1; description "OTUC1"; } enum "otuc2" { value 2; description "OTUC2"; } enum "otuc3" { value 3; description "OTUC3"; } enum "otuc4" { value 4; description "OTUC4"; } } description "Otu cn rate"; } typedef Otu-flexo-mode { type enumeration { enum "disable" { value 0; description "Disable"; } enum "enable" { value 1; description "Enable"; } } description "Otu flexo mode"; } typedef Otu-loop-back-mode { type enumeration { enum "none" { value 1; description "None"; } enum "line" { value 2; description "Line"; } enum "internal" { value 4; description "Internal"; } } description "Otu loop back mode"; } typedef Otu-tti-et { type enumeration { enum "ascii" { value 0; description "ASCII"; } enum "hex" { value 1; description "HEX"; } enum "full-ascii" { value 2; description "FULL ASCII"; } enum "full-hex" { value 3; description "FULL HEX"; } } description "Otu tti et"; } typedef Otu-state-et { type enumeration { enum "not-ready" { value 0; description "Not Ready"; } enum "admin-down" { value 1; description "Admin Down"; } enum "down" { value 2; description "Down"; } enum "up" { value 3; description "Up"; } enum "shutdown" { value 4; description "Shutdown"; } enum "error-disable" { value 5; description "Error Disable"; } enum "down-immediate" { value 6; description "Down Immediate"; } enum "down-immediate-admin" { value 7; description "Down Immediate Admin"; } enum "down-graceful" { value 8; description "Down Graceful"; } enum "begin-shutdown" { value 9; description "Begin Shutdown"; } enum "end-shutdown" { value 10; description "End Shutdown"; } enum "begin-error-disable" { value 11; description "Begin Error Disable"; } enum "end-error-disable" { value 12; description "End Error Disable"; } enum "begin-down-graceful" { value 13; description "Begin Down Graceful"; } enum "reset" { value 14; description "Reset"; } enum "operational" { value 15; description "Operational"; } enum "not-operational" { value 16; description "Not Operational"; } enum "unknown" { value 17; description "Unknown"; } enum "last" { value 18; description "Last"; } } description "Otu state et"; } typedef Otu-prbs-status { type enumeration { enum "locked" { value 0; description "Locked"; } enum "unlocked" { value 1; description "Unlocked"; } enum "not-applicable" { value 2; description "Not Applicable"; } } description "Otu prbs status"; } typedef Otu-prbs-pattern { type enumeration { enum "not-applicable" { value 0; description "OTU PRBS pattern not applicable"; } enum "pn31" { value 1; description "PN31"; } enum "pn23" { value 2; description "PN23"; } enum "pn11" { value 4; description "PN11"; } enum "inverted-pn31" { value 8; description "INVERTED PN31"; } enum "inverted-pn11" { value 16; description "INVERTED PN11"; } enum "pn15" { value 32; description "PN15"; } enum "pn7" { value 64; description "PN7"; } } description "Otu prbs pattern"; } typedef Otu-prbs-mode { type enumeration { enum "not-applicable" { value 0; description "OTU PRBS mode not applicable"; } enum "source" { value 1; description "Source"; } enum "sink" { value 2; description "Sink"; } enum "source-sink" { value 3; description "Source Sink"; } } description "Otu prbs mode"; } typedef Otu-prbs-test { type enumeration { enum "disable" { value 0; description "Disable"; } enum "enable" { value 1; description "Enable"; } } description "Otu prbs test"; } grouping OTU-AINS-HW-INFO { description "OTU AINS information"; leaf ains-state { type Otu-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"; } } // grouping OTU-AINS-HW-INFO grouping FEC-OPER-DATA { description "FEC Satistics"; leaf post-fec-ber { type string; description "Bit Error Rate After Forward Error Correction"; } leaf pre-fec-ber { type string; description "Bit Error Rate Before Forward Error Correction"; } } // grouping FEC-OPER-DATA grouping OTU-PROACTIVE-INFO { description "Proactive Protection"; leaf proactive-status { type boolean; description "Proactive Status"; } leaf inherit-sec-state { type Otu-sec-state; description "Secondary Admin State"; } leaf config-sec-state { type Otu-sec-state; description "Sec State"; } leaf proactive-fsm-state { type Otu-pp-fsm-state; description "Proactive FSM State"; } leaf proactive-fsm-if-state { type Otu-pp-intf-state; description "Proactive FSM IF State"; } leaf trig-thresh-coeff { type uint8; description "Trigger threshold coefficient"; } leaf trig-thresh-power { type uint8; description "Trigger threshold power"; } leaf rvrt-thresh-coeff { type uint8; description "Revert threshold coefficient"; } leaf rvrt-thresh-power { type uint8; description "Revert threshold power"; } leaf trigger-window { type uint32; description "Trigger Integration window"; } leaf revert-window { type uint32; description "Revert Integration Window"; } } // grouping OTU-PROACTIVE-INFO grouping OTU-EDM-ALARM { description " OTU Alarm"; leaf reporting-enabled { type boolean; description "Is reporting enabled?"; } leaf is-detected { type boolean; description "Is defect detected?"; } leaf is-asserted { type boolean; description "Is defect delared?"; } leaf counter { type uint64; description "Alarm counter"; } } // grouping OTU-EDM-ALARM grouping OTU-ALARM-INFO { description "otu information"; container los { description "Loss of Signal"; uses OTU-EDM-ALARM; } // container los container lof { description "Loss of Frame"; uses OTU-EDM-ALARM; } // container lof container lom { description "Loss of MultiFrame"; uses OTU-EDM-ALARM; } // container lom container oof { description "Out of Frame"; uses OTU-EDM-ALARM; } // container oof container oom { description "Out of MultiFrame"; uses OTU-EDM-ALARM; } // container oom container ais { description "Alarm Indication Signal"; uses OTU-EDM-ALARM; } // container ais container iae { description "Incoming Alignment Error"; uses OTU-EDM-ALARM; } // container iae container biae { description "Backward Incoming Alignment Error"; uses OTU-EDM-ALARM; } // container biae container bdi { description "Backward Defect Indication"; uses OTU-EDM-ALARM; } // container bdi container tim { description "Trace Identifier Mismatch"; uses OTU-EDM-ALARM; } // container tim container eoc { description "GCC End of Channel"; uses OTU-EDM-ALARM; } // container eoc container fec-mismatch { description "FEC mismatch alarm"; uses OTU-EDM-ALARM; } // container fec-mismatch container sf-ber { description "SF BER alarm"; uses OTU-EDM-ALARM; } // container sf-ber container sd-ber { description "SD BER alarm"; uses OTU-EDM-ALARM; } // container sd-ber container ec { description "EC alarm"; uses OTU-EDM-ALARM; } // container ec container uc { description "UC alarm"; uses OTU-EDM-ALARM; } // container uc container fecunc { description "FEC UnCorrected Word"; uses OTU-EDM-ALARM; } // container fecunc container flexo-lom { description "FlexO Loss Of MultiFrame"; uses OTU-EDM-ALARM; } // container flexo-lom container gidm { description "FlexO Group Identification Mismatch"; uses OTU-EDM-ALARM; } // container gidm container fmm { description "FlexO Map Mismatch"; uses OTU-EDM-ALARM; } // container fmm container flexo-lof { description "flexo lof alarm"; uses OTU-EDM-ALARM; } // container flexo-lof container rdi { description "FlexO Remote Defect Indicator"; uses OTU-EDM-ALARM; } // container rdi } // grouping OTU-ALARM-INFO grouping NETWORK-SRLG-SET { description "Network Shared Risk Link Group information expressed in integer format"; leaf set-id { type uint32; description "Array to maintain set id number"; } list srlg { description "Shared Risk Link Group information expressed in integer format"; leaf entry { type uint32; description "Shared Risk Link Group information expressed in integer format"; } } // list srlg } // grouping NETWORK-SRLG-SET grouping NETWORK-SRLG-INFO { description "Array of Network Shared Risk Link Group Information"; list srlg-info { description "Array of Network Shared Risk Link Group information"; uses NETWORK-SRLG-SET; } // list srlg-info } // grouping NETWORK-SRLG-INFO grouping FLEXO-PEERS { description "Flexo Peers Information Parameter"; leaf otu-cn-rate { type Otu-cn-rate; description "OTUCn rate Parameter"; } leaf interface-name { type string; description "Interface Name Parameter"; } } // grouping FLEXO-PEERS grouping OTU-FLEXO-PEERS-INFO { description "Flexo Peers Information"; list flexo-peer { description "Flexo Peers"; uses FLEXO-PEERS; } // list flexo-peer } // grouping OTU-FLEXO-PEERS-INFO grouping FLEXO-IID-ARRAY { description "Flexo IID Information Parameter"; leaf iid { type uint32; description "IID Parameter"; } } // grouping FLEXO-IID-ARRAY grouping OTU-FLEXO-IID-INFO { description "Flexo IID Information"; list iid-array { description "iid array"; uses FLEXO-IID-ARRAY; } // list iid-array } // grouping OTU-FLEXO-IID-INFO grouping OTU-FLEXO-INFO { description "otu flexo-mode information"; container flexo-tx-iid-information { description "Flexo Tx IID Information"; uses OTU-FLEXO-IID-INFO; } // container flexo-tx-iid-information container flexo-rx-iid-information { description "Flexo Rx IID Information"; uses OTU-FLEXO-IID-INFO; } // container flexo-rx-iid-information container flexo-peers-information { description "Flexo Peers Information"; uses OTU-FLEXO-PEERS-INFO; } // container flexo-peers-information leaf flexo-mode { type Otu-flexo-mode; description "Flexo"; } leaf txgid { type uint32; description "Tx GID Value"; } leaf rxgid { type uint32; description "Rx GID Value"; } } // grouping OTU-FLEXO-INFO grouping OTU-TTI-ST { description "TTI SAPI DAPI"; leaf full-tti-ascii-string { type string; description "full tti ascii String "; } list sapi { description "tx String "; leaf entry { type uint8; description "tx String "; } } // list sapi list dapi { description "exp String "; leaf entry { type uint8; description "exp String "; } } // list dapi list operator-specific { description "rec String "; leaf entry { type uint8; description "rec String "; } } // list operator-specific } // grouping OTU-TTI-ST grouping OTU-G709-TTI { description "OTU TTI"; container tx { description "String Sent"; uses OTU-TTI-ST; } // container tx container exp { description "String Expected"; uses OTU-TTI-ST; } // container exp container rec { description "String Received"; uses OTU-TTI-ST; } // container rec leaf g709tti-sent-mode { type Otu-tti-et; description "G709TTI sent"; } leaf g709tti-exp-mode { type Otu-tti-et; description "G709TTI Expected"; } leaf g709tti-rec-mode { type Otu-tti-et; description "G709TTI Recieved"; } leaf remote-interface { type string; description "Remote Interface Name"; } leaf remote-host-name { type string; description "Remote host name"; } leaf remote-ip-addr { type string; description "Remote host ip"; } } // grouping OTU-G709-TTI grouping OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX { description "otn otu remote info via tti t rtrid ifindex"; leaf router-id { type uint32; description "Router ID"; } leaf if-index { type uint32; description "IfIndex"; } } // grouping OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX grouping OTU-PER-PORT-INFO { description "OTU"; container local { description "TTI"; uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; } // container local container remote { description "Remote"; uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; } // container remote container tti-mode { description "OTU TTI"; uses OTU-G709-TTI; } // container tti-mode container otu-flexo-data-info { description "OTU Flexo Data Information"; uses OTU-FLEXO-INFO; } // container otu-flexo-data-info container network-srlg { description "Network Shared Risk Link Group information"; uses NETWORK-SRLG-INFO; } // container network-srlg container otu-alarm-info { description "OTU layer alarm Information"; uses OTU-ALARM-INFO; } // container otu-alarm-info container proactive { description "Proactive Protection"; uses OTU-PROACTIVE-INFO; } // container proactive container otu-fec-satistics { description "OTU FEC Statistics"; uses FEC-OPER-DATA; } // container otu-fec-satistics container ains-info { description "AINS information"; uses OTU-AINS-HW-INFO; } // container ains-info leaf state { type Otu-state-et; description "Admin State"; } leaf name { type string; description "Interface Name"; } leaf sf { type uint8; description "SF in the form of 1.0E - <SF>"; } leaf sd { type uint8; description "SD in the form of 1.0E - <SD>"; } leaf loopback-mode { type Otu-loop-back-mode; description "Loopback"; } leaf fec-mode { type Otu-g709fec-mode; description "FEC"; } leaf derivedstate-mode { type Otu-der-state; description "Derived State"; } leaf inherit-sec-state { type Otu-sec-state; description "Sec State"; } leaf config-sec-state { type Otu-sec-state; description "Sec State"; } leaf gcc-mode { type boolean; description "OTU GCC"; } leaf q { type uint64; description "q value calculated"; } leaf q-margin { type uint64; description "This q margin will be deprecated"; } leaf performance-monitoring { type Otu-per-mon; description "Performance Monitoring"; } leaf ec { type uint64; description "Average bit errors corrected"; } leaf uc { type uint64; description "Uncorrected word count"; } leaf pre-fec-val { type int32; description "Pre FEC BER Value in form 0.00"; } leaf pre-fec-mantissa { type int8; description "Pre FEC BER Mantissa in form E-<mantisaa>"; } leaf ec-value { type boolean; description "EC value present"; } leaf uc-value { type boolean; description "Uc value present"; } leaf pre-fec-ber-value { type boolean; description "Pre fec val present "; } leaf pre-fec-ber-mantissa { type boolean; description "Pre fec val mantissa"; } leaf nv-optical-support { type boolean; description "NV Optical support"; } leaf gmpls-tti-mode { type Gmpls-otu-tti-mode; description "GMPLS TTI MODE"; } leaf gmpls-tvm-id { type uint8; description "GMPLS TCM ID"; } leaf auto-tti-flag { type boolean; description "Auto tti flag"; } leaf description { type string; description "Controller description string"; } leaf qfactor { type string; description "Q factor value"; } leaf bandwidth { type string; description "OTU bandiwdth"; } leaf qmargin { type string; description "Q Margin value"; } leaf inst-q-margin { type string; description "Instantaneous Q Margin value"; } } // grouping OTU-PER-PORT-INFO grouping OTU-PRBS-INFO { description "PRBS"; leaf otu-prbs-test { type Otu-prbs-test; description "otu prbs test"; } leaf otu-prbs-mode { type Otu-prbs-mode; description "otu prbs mode"; } leaf otu-prbs-pattern { type Otu-prbs-pattern; description "otu prbs pattern"; } leaf otu-prbs-status { type Otu-prbs-status; description "otu prbs status"; } } // grouping OTU-PRBS-INFO } // submodule Cisco-IOS-XR-controller-otu-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.