Cisco-IOS-XR-controller-odu-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR controller-odu package operational data. Copyright (c...

  • Version: 2021-02-21

    Cisco-IOS-XR-controller-odu-oper-sub1@2021-02-21


    
      submodule Cisco-IOS-XR-controller-odu-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-controller-odu-oper {
            prefix
              Cisco-IOS-XR-controller-odu-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-odu package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-02-21" {
          description
            "Added IS_CEM_PACKETIZED to odu_resource_et enum for Private Line Emulation feature.
           2020-11-11
             Added PRBS bit errors and lock time support in bag odu_prbs_info.
           2020-09-25
             Added PRBS direction feature support.
           2020-09-22
             Changed existing bag to contain one more enum value for odu pt type
           2020-09-12
             Created New Bag for ODTU Remote Info and Far End Child Info.";
        }
    
        revision "2019-08-05" {
          description
            "Separated ODTU info variables from ODU info bag and created new bag for ODTU data.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.3.0";
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
    
        typedef Odtu-type-et {
          type enumeration {
            enum "odtuna" {
              value 0;
              description "NA";
            }
            enum "odtu01" {
              value 1;
              description "ODTU01";
            }
            enum "odtu12" {
              value 2;
              description "ODTU12";
            }
            enum "odtu13" {
              value 3;
              description "ODTU13";
            }
            enum "odtu23" {
              value 4;
              description "ODTU23";
            }
            enum "odtu2ts" {
              value 5;
              description "ODTU2ts";
            }
            enum "odtu3ts" {
              value 6;
              description "ODTU3ts";
            }
          }
          description "Odtu type et";
        }
    
        typedef Odu-ca-mode-et {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu ca mode et";
        }
    
        typedef Odu-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 "Odu ains state et";
        }
    
        typedef Odu-ether-map-ping-et {
          type enumeration {
            enum "none" {
              value 0;
              description "None";
            }
            enum "gfp" {
              value 1;
              description "GfpF";
            }
            enum "amp" {
              value 2;
              description "Amp";
            }
            enum "bmp" {
              value 3;
              description "Bmp";
            }
            enum "gmp" {
              value 4;
              description "Gmp";
            }
            enum "wis" {
              value 5;
              description "Wis";
            }
            enum "gfp-ext" {
              value 6;
              description "GfpF Ext";
            }
          }
          description "Odu ether map ping et";
        }
    
        typedef Odu-tcm-mode {
          type enumeration {
            enum "odu-tcm-mode-trans-parent" {
              value 0;
              description "Transparent";
            }
            enum "nim" {
              value 1;
              description
                "Non-Intrusive Monitor";
            }
            enum "oper" {
              value 2;
              description "Operational";
            }
          }
          description "Odu tcm mode";
        }
    
        typedef Odu-tcm-per-mon {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu tcm per mon";
        }
    
        typedef Odu-tcm-state-et {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu tcm state et";
        }
    
        typedef Gmpls-tti-mode {
          type enumeration {
            enum "gmpls-odu-tti-mode-none" {
              value 0;
              description "Not Set";
            }
            enum "gmpls-odu-tti-mode-sm" {
              value 1;
              description "Section Monitoring";
            }
            enum "gmpls-odu-tti-mode-pm" {
              value 2;
              description "Path Monitoring";
            }
            enum "gmpls-odu-tti-mode-tcm" {
              value 3;
              description
                "Tandem Connection Monitoring";
            }
          }
          description "Gmpls tti mode";
        }
    
        typedef Odu-pm-mode {
          type enumeration {
            enum "nim" {
              value 0;
              description
                "Non-Intrusive Monitor";
            }
            enum "oper" {
              value 1;
              description "Operational";
            }
          }
          description "Odu pm mode";
        }
    
        typedef Odu-pm-ca-et {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu pm ca et";
        }
    
        typedef Odu-per-mon {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu per mon";
        }
    
        typedef Dp-programmed {
          type enumeration {
            enum "dp-not-programmed" {
              value 0;
              description "DP not programmed";
            }
            enum "dp-programmed-success" {
              value 1;
              description "DP programmed";
            }
            enum "end-pt-first-channel-ized" {
              value 2;
              description
                "ENDPT FIRST CHANNELIZED";
            }
            enum "end-pt-se-cond-channel-ized" {
              value 3;
              description
                "ENDPT SECOND CHANNELIZED";
            }
            enum "end-pt-first-cross-connected" {
              value 4;
              description
                "ENDPT FIRST CROSS CONNECTED";
            }
            enum
              "end-pt-se-cond-cross-connected" {
              value 5;
              description
                "ENDPT SECOND CROSS CONNECTED";
            }
            enum "end-pt-first-open-connected" {
              value 6;
              description
                "ENDPT FIRST OPEN CONNECTED";
            }
            enum "end-pt-se-cond-open-connected" {
              value 7;
              description
                "ENDPT SECOND OPEN CONNECTED";
            }
            enum "end-pt-first-loop-back-ed" {
              value 8;
              description
                "ENDPT FIRST LOOPBACKED";
            }
            enum "end-pt-se-cond-loop-back-ed" {
              value 9;
              description
                "ENDPT SECOND LOOPBACKED";
            }
            enum "end-pt-odu-type-mismatch" {
              value 10;
              description
                "ENDPT ODU TYPE MISMATCH";
            }
            enum "xc-not-set" {
              value 11;
              description "XCONNECT NOT SET";
            }
          }
          description "Dp programmed";
        }
    
        typedef Otm-mpls-lib-c {
          type enumeration {
            enum "otm-mpls-lib-c-type-null" {
              value 0;
              description "NULL";
            }
            enum "otm-mpls-lib-c-type-ipv4" {
              value 1;
              description "IPV4";
            }
            enum
              "otm-mpls-lib-c-type-ipv4-p2p-tunnel" {
              value 7;
              description "IPV4 P2P TUNNEL";
            }
            enum
              "otm-mpls-lib-c-type-ipv6-p2p-tunnel" {
              value 8;
              description "IPV6 P2P TUNNEL";
            }
            enum "otm-mpls-lib-c-type-ipv4-uni" {
              value 9;
              description "IPV4 UNI";
            }
            enum
              "otm-mpls-lib-c-type-ipv4-p2mp-tunnel" {
              value 13;
              description "IPV4 P2MP TUNNEL";
            }
            enum
              "otm-mpls-lib-c-type-ipv6-p2mp-tunnel" {
              value 14;
              description "IPV6 P2MP TUNNEL";
            }
            enum
              "otm-mpls-lib-c-type-ipv4-tp-tunnel" {
              value 15;
              description "IPV4 TP TUNNEL";
            }
            enum
              "otm-mpls-lib-c-type-ipv6-tp-tunnel" {
              value 16;
              description "IPV6 TP TUNNEL";
            }
          }
          description "Otm mpls lib c";
        }
    
        typedef Otm-te-tunnel-info {
          type enumeration {
            enum "otm-te-info-none" {
              value 0;
              description "NONE";
            }
            enum "otm-te-info-s2l" {
              value 1;
              description "S2L";
            }
            enum "otm-te-info-tunnel-id" {
              value 2;
              description "ID";
            }
            enum "otm-te-info-passive-match" {
              value 3;
              description "MAT";
            }
          }
          description "Otm te tunnel info";
        }
    
        typedef Otm-optical-rm-ctxt-rm {
          type enumeration {
            enum "otm-opt-rm-ctxt-rm-none" {
              value 0;
              description "NONE";
            }
            enum "otm-opt-rm-ctxt-rm-wdm" {
              value 1;
              description "WDM";
            }
            enum "otm-opt-rm-ctxt-rm-fsc" {
              value 2;
              description "FSC";
            }
            enum "otm-opt-rm-ctxt-rm-tdm" {
              value 3;
              description "TDM";
            }
            enum "otm-opt-rm-ctxt-rm-g709-otn" {
              value 4;
              description "G709 OTN";
            }
            enum "otm-optical-rm-ctxt-rm-last" {
              value 5;
              description "LAST";
            }
          }
          description "Otm optical rm ctxt rm";
        }
    
        typedef Otm-optical-rm-ctxt {
          type enumeration {
            enum "otm-opt-rm-ctxt-type-none" {
              value 0;
              description "NONE";
            }
            enum
              "otm-opt-rm-ctxt-type-down-stream-rw-add" {
              value 1;
              description "DOWNSTREAM RW ADD";
            }
            enum
              "otm-opt-rm-ctxt-type-up-stream-rw-add" {
              value 2;
              description "UPSTREAM RW ADD";
            }
            enum
              "otm-opt-rm-ctxt-type-down-stream-rw-del" {
              value 3;
              description "DOWNSTREAM RW DEL";
            }
            enum
              "otm-opt-rm-ctxt-type-up-stream-rw-del" {
              value 4;
              description "UPSTREAM RW DEL";
            }
            enum
              "otm-opt-rm-ctxt-type-down-stream-lbl-get" {
              value 5;
              description "DOWNSTREAM LBL GET";
            }
            enum
              "otm-opt-rm-ctxt-type-up-stream-lbl-get" {
              value 6;
              description "UPSTREAM LBL GET";
            }
            enum
              "otm-opt-rm-ctxt-type-down-stream-lbl-rel" {
              value 7;
              description "DOWNSTREAM LBL REL";
            }
            enum
              "otm-opt-rm-ctxt-type-up-stream-lbl-rel" {
              value 8;
              description "UPSTREAM LBL REL";
            }
            enum
              "otm-opt-rm-ctxt-type-end-point-rw-add" {
              value 9;
              description "ENDPOINT RW ADD";
            }
            enum
              "otm-opt-rm-ctxt-type-end-point-rw-del" {
              value 10;
              description "ENDPOINT RW DEL";
            }
            enum
              "otm-opt-rm-ctxt-type-odu-group-add" {
              value 11;
              description "ODU GROUP ADD";
            }
            enum
              "otm-opt-rm-ctxt-type-odu-group-del" {
              value 12;
              description "ODU GROUP DEL";
            }
            enum "otm-optical-rm-ctxt-type-last" {
              value 13;
              description "LAST";
            }
          }
          description "Otm optical rm ctxt";
        }
    
        typedef Odu-ts-g-et {
          type enumeration {
            enum "one-dot-two-five-g" {
              value 0;
              description "1.25G";
            }
            enum "two-dot-five-g" {
              value 1;
              description "2.5G";
            }
            enum "tsg-not-applicable" {
              value 2;
              description "NA";
            }
            enum "tsg-five-g" {
              value 3;
              description "5G";
            }
          }
          description "Odu ts g et";
        }
    
        typedef Odu-flex-type-et {
          type enumeration {
            enum "na" {
              value 0;
              description "NA";
            }
            enum "cbr" {
              value 1;
              description "ODU Flex Type CBR";
            }
            enum "gfp-resizable" {
              value 2;
              description
                "ODU Flex Type GFP resizable";
            }
            enum "gfp-fix" {
              value 3;
              description
                "ODU Flex Type GFP fix";
            }
          }
          description "Odu flex type et";
        }
    
        typedef Odu-pt-type-et {
          type enumeration {
            enum "na" {
              value 0;
              description "NA";
            }
            enum "two-asynchronous-cbr-mapping" {
              value 2;
              description
                "02 (Asynchronous CBR mapping)";
            }
            enum
              "three-bit-synchronous-cbr-mapping" {
              value 3;
              description
                "03 (Bit synchronous CBR mapping)";
            }
            enum "five-gfp-mapping" {
              value 5;
              description "05 (GFP mapping)";
            }
            enum
              "six-virtual-concatenated-signal" {
              value 6;
              description
                "06 (Virtual Concatenated Signal)";
            }
            enum
              "seven-pcs-codeword-transparent-ethernet-mapping" {
              value 7;
              description
                "07 (PCS codeword transparent Ethernet mapping)";
            }
            enum "nine-gfp-mapping-into-opu2" {
              value 9;
              description
                "09 (GFP mapping into OPU2)";
            }
            enum "zero-astm1-mapping-into-opu0" {
              value 10;
              description
                "0A (STM1 mapping into OPU0)";
            }
            enum "zero-bstm4-mapping-into-opu0" {
              value 11;
              description
                "0B (STM4 mapping into OPU0)";
            }
            enum
              "twenty-odu-multiplex-structure-supporting-odt-ujk" {
              value 32;
              description
                "20 (ODU multiplex structure supporting ODTUjk)";
            }
            enum
              "twenty-one-odu-multiplex-structure-supporting-odt-ujk-and-odt-ukts" {
              value 33;
              description
                "21 (ODU multiplex structure supporting ODTUjk
               and ODTUk.ts)";
            }
            enum
              "twenty-three-odu-multiplex-structure-supporting-odt-ujk-or-odt-ujk-and-odt-ukts" {
              value 34;
              description
                "23 (ODU multiplex structure supporting ODTUjk
               or ODTUjk and ODTUk.ts)";
            }
            enum
              "twenty-two-odu-multiplex-structure-supporting-odt-ucn" {
              value 35;
              description
                "22 (ODU multiplex structure supporting ODUCn)";
            }
          }
          description "Odu pt type et";
        }
    
        typedef Odu-resource-et {
          type enumeration {
            enum "resource-free" {
              value 0;
              description "ODU Resource Free";
            }
            enum "open-connection" {
              value 1;
              description "ODU Open Connection";
            }
            enum "cross-connection" {
              value 2;
              description "ODU Cross Connection";
            }
            enum "channelized" {
              value 3;
              description "ODU Channelized";
            }
            enum "loopbacked" {
              value 4;
              description "ODU Loopbacked";
            }
            enum
              "cross-connected-and-loopbacked" {
              value 5;
              description
                "ODU Cross Connection and Loopbacked";
            }
            enum "terminated" {
              value 6;
              description "ODU Terminated";
            }
            enum "invalid" {
              value 7;
              description "ODU Invalid";
            }
            enum "resource-state-na" {
              value 8;
              description
                "Resource State Not applicable";
            }
            enum "is-cem-packet-ized" {
              value 9;
              description "ODU CEM packetized";
            }
          }
          description "Odu resource et";
        }
    
        typedef Odu-user-et {
          type enumeration {
            enum "mp" {
              value 0;
              description "MP";
            }
            enum "gmpls" {
              value 1;
              description "GMPLS";
            }
            enum "all" {
              value 2;
              description "All";
            }
            enum "na" {
              value 3;
              description
                "User State Not applicable";
            }
          }
          description "Odu user et";
        }
    
        typedef Odu-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 "Odu sec state";
        }
    
        typedef Odu-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 "Odu der state";
        }
    
        typedef Odu-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 "Odu tti et";
        }
    
        typedef Odu-loop-back-mode {
          type enumeration {
            enum "none" {
              value 1;
              description "None";
            }
            enum "line" {
              value 2;
              description "Line";
            }
            enum "internal" {
              value 4;
              description "Internal";
            }
          }
          description "Odu loop back mode";
        }
    
        typedef Odu-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 "Odu state et";
        }
    
        typedef Odu-prbs-direct-ion {
          type enumeration {
            enum "none" {
              value 0;
              description "None";
            }
            enum "line" {
              value 1;
              description "Line";
            }
            enum "system" {
              value 2;
              description "System";
            }
          }
          description "Odu prbs direct ion";
        }
    
        typedef Odu-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 "Odu prbs status";
        }
    
        typedef Odu-prbs-pattern {
          type enumeration {
            enum "pn-none" {
              value 0;
              description "PNNONE";
            }
            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 "Odu prbs pattern";
        }
    
        typedef Odu-prbs-mode {
          type enumeration {
            enum "invalid" {
              value 0;
              description "invalid";
            }
            enum "source" {
              value 1;
              description "Source";
            }
            enum "sink" {
              value 2;
              description "Sink";
            }
            enum "source-sink" {
              value 3;
              description "Source Sink";
            }
          }
          description "Odu prbs mode";
        }
    
        typedef Odu-prbs-test {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable";
            }
            enum "enable" {
              value 1;
              description "Enable";
            }
          }
          description "Odu prbs test";
        }
      }  // submodule Cisco-IOS-XR-controller-odu-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.