Cisco-IOS-XR-freqsync-oper-sub1

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

  • Version: 2021-01-13

    Cisco-IOS-XR-freqsync-oper-sub1@2021-01-13


    
      submodule Cisco-IOS-XR-freqsync-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-freqsync-oper {
            prefix Cisco-IOS-XR-freqsync-oper;
        }
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        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 freqsync package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-01-13" {
          description "Added ePRC QL code.";
        }
    
        revision "2019-12-18" {
          description
            "Added selection point input information, source information, SSM and satellite counters to line interfaces, and information about selection points.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-10-20" {
          description
            "Combined selection point info from FSYNC-SP-INFO in FSYNC-SP-INFO-V2";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Fsync-bag-stream-state {
          type enumeration {
            enum "stream-invalid" {
              value 0;
              description "Invalid stream";
            }
            enum "stream-unqualified" {
              value 1;
              description "Unqualified stream";
            }
            enum "stream-available" {
              value 2;
              description "Stream available";
            }
            enum "stream-acquiring" {
              value 3;
              description "Stream acquiring";
            }
            enum "stream-locked" {
              value 4;
              description "Stream locked";
            }
            enum "stream-holdover" {
              value 5;
              description "Stream in holdover";
            }
            enum "stream-freerun" {
              value 6;
              description "Stream free running";
            }
            enum "stream-failed" {
              value 7;
              description "Stream failed";
            }
            enum "stream-unmonitored" {
              value 8;
              description "Unmonitored stream";
            }
            enum "stream-error" {
              value 9;
              description "Stream error";
            }
          }
          description "Platform stream status";
        }
    
        typedef Fsync-bag-clock-intf-class {
          type enumeration {
            enum "clock-class-bitst1" {
              value 0;
              description "BITS T1";
            }
            enum "clock-class-bitse1" {
              value 1;
              description "BITS E1";
            }
            enum "clock-class-bits2m" {
              value 2;
              description "BITS 2M";
            }
            enum "clock-class-bits6m" {
              value 3;
              description "BITS 6M";
            }
            enum "clock-class-bits64k" {
              value 4;
              description "BITS 64K";
            }
            enum "clock-class-dti" {
              value 5;
              description "DTI";
            }
            enum "clock-class-gps" {
              value 6;
              description "GPS";
            }
            enum "clock-class-chassis-sync" {
              value 7;
              description "Inter-Chassis Sync";
            }
            enum "clock-class-bitsj1" {
              value 8;
              description "Bits J1";
            }
            enum "clock-class-unknown" {
              value 255;
              description "Unknown";
            }
          }
          description "Clock-interface class";
        }
    
        typedef Fsync-bag-esmc-peer-state {
          type enumeration {
            enum "peer-down" {
              value 1808240398;
              description "Peer state down";
            }
            enum "peer-up" {
              value 1808240399;
              description "Peer state up";
            }
            enum "peer-timed-out" {
              value 1808240400;
              description "Peer state timed out";
            }
            enum "peer-unknown" {
              value 1808240401;
              description "Peer state unknown";
            }
          }
          description "ESMC peer state";
        }
    
        typedef Fsync-clock-id {
          type uint64;
          description "Fsync clock id";
        }
    
        typedef Fsync-bag-ql-o2-g2-value {
          type enumeration {
            enum "option2-generation2-invalid" {
              value 0;
              description "Invalid";
            }
            enum
              "option2-generation2-do-not-use" {
              value 1;
              description "Do not use";
            }
            enum "option2-generation2-failed" {
              value 2;
              description "Failed";
            }
            enum "option2-generation2-none" {
              value 3;
              description
                "Interface does not support SSMs or no QL has
               been received";
            }
            enum "option2e-prtc" {
              value 60;
              description
                "Enhanced primary reference timing clock";
            }
            enum "option2prtc" {
              value 61;
              description
                "Primary reference timing clock";
            }
            enum "option2-generation2prs" {
              value 62;
              description
                "Primary reference source";
            }
            enum "option2-generation2stu" {
              value 63;
              description
                "Synchronized - traceability unknown";
            }
            enum "option2-generation2-stratum2" {
              value 64;
              description "Stratum 2";
            }
            enum "option2-generation2tnc" {
              value 65;
              description "Transit node clock";
            }
            enum "option2-generation2-stratum3e" {
              value 66;
              description "Stratum 3E";
            }
            enum "option2-generation2-stratum3" {
              value 67;
              description "Stratum 3";
            }
            enum "option2e-eec" {
              value 68;
              description
                "Enhanced ethernet equipment clock";
            }
            enum "option2eec2" {
              value 69;
              description
                "Ethernet equipment clock";
            }
            enum "option2-generation2smc" {
              value 70;
              description
                "SONET clock self timed";
            }
            enum "option2-generation2-stratum4" {
              value 71;
              description "Stratum 4 freerun";
            }
            enum "option2e-prc" {
              value 73;
              description
                "Enhanced primary reference clock";
            }
          }
          description
            "Quality level option 2, generation 2 values";
        }
    
        typedef Fsync-bag-ql-o2-g1-value {
          type enumeration {
            enum "option2-generation1-invalid" {
              value 0;
              description "Invalid";
            }
            enum
              "option2-generation1-do-not-use" {
              value 1;
              description "Do not use";
            }
            enum "option2-generation1-failed" {
              value 2;
              description "Failed";
            }
            enum "option2-generation1-none" {
              value 3;
              description
                "Interface does not support SSMs or no QL has
               been received";
            }
            enum "option2e-prtc" {
              value 40;
              description
                "Enhanced primary reference timing clock";
            }
            enum "option2prtc" {
              value 41;
              description
                "Primary reference timing clock";
            }
            enum "option2-generation1prs" {
              value 42;
              description
                "Primary reference source";
            }
            enum "option2-generation1stu" {
              value 43;
              description
                "Synchronized - traceability unknown";
            }
            enum "option2-generation1-stratum2" {
              value 44;
              description "Stratum 2";
            }
            enum "option2-generation1-stratum3" {
              value 45;
              description "Stratum 3";
            }
            enum "option2e-eec" {
              value 46;
              description
                "Enhanced ethernet equipment clock";
            }
            enum "option2eec2" {
              value 47;
              description
                "Ethernet equipment clock";
            }
            enum "option2-generation1smc" {
              value 48;
              description
                "SONET clock self timed";
            }
            enum "option2-generation1-stratum4" {
              value 49;
              description "Stratum 4 freerun";
            }
            enum "option2e-prc" {
              value 51;
              description
                "Enhanced primary reference clock";
            }
          }
          description
            "Quality level option 2, generation 1 values";
        }
    
        typedef Fsync-bag-ql-o1-value {
          type enumeration {
            enum "option1-invalid" {
              value 0;
              description "Invalid";
            }
            enum "option1-do-not-use" {
              value 1;
              description "Do not use";
            }
            enum "option1-failed" {
              value 2;
              description "Failed";
            }
            enum "option1-none" {
              value 3;
              description
                "Interface does not support SSMs or no QL has
               been received";
            }
            enum "option1e-prtc" {
              value 20;
              description
                "Enhanced primary reference timing clock";
            }
            enum "option1prtc" {
              value 21;
              description
                "Primary reference timing clock";
            }
            enum "option1prc" {
              value 22;
              description
                "Primary reference clock";
            }
            enum "option1ssu-a" {
              value 23;
              description
                "Type I or V slave clock";
            }
            enum "option1ssu-b" {
              value 24;
              description "Type VI slave clock";
            }
            enum "option1e-eec" {
              value 25;
              description
                "Enhanced ethernet equipment clock";
            }
            enum "option1eec1" {
              value 26;
              description
                "Ethernet equipment clock";
            }
            enum "option1sec" {
              value 27;
              description
                "SONET equipment clock";
            }
            enum "option1e-prc" {
              value 28;
              description
                "Enhanced primary reference clock";
            }
          }
          description
            "Quality level option 1 values";
        }
    
        typedef Fsync-bag-ql-option {
          type enumeration {
            enum "no-quality-level-option" {
              value 0;
              description
                "Interface does not support SSMs or no QL has
               been received";
            }
            enum "option1" {
              value 1;
              description
                "ITU-T Quality level option 1";
            }
            enum "option2-generation1" {
              value 2;
              description
                "ITU-T Quality level option 2, generation 1";
            }
            enum "option2-generation2" {
              value 3;
              description
                "ITU-T Quality level option 2, generation 2";
            }
            enum "invalid-quality-level-option" {
              value 4;
              description
                "Invalid quality level option";
            }
          }
          description "Quality level option";
        }
    
        typedef Fsync-bag-optional-string {
          type string;
          description
            "Fsync bag optional string";
        }
    
        typedef Fsync-bag-source-state {
          type enumeration {
            enum "source-state-unknown" {
              value 0;
              description "Unknown";
            }
            enum "source-state-up" {
              value 1;
              description "Up";
            }
            enum "source-state-down" {
              value 2;
              description "Down";
            }
            enum "source-state-unavailable" {
              value 3;
              description "Unvailable";
            }
          }
          description "Source state";
        }
    
        typedef Fsync-output-id {
          type uint8;
          description "Fsync output id";
        }
    
        typedef Fsync-bag-stream-input {
          type enumeration {
            enum "invalid-input" {
              value 0;
              description "Invalid stream input";
            }
            enum "source-input" {
              value 1;
              description "Source stream input";
            }
            enum "selection-point-input" {
              value 2;
              description
                "Selection point stream input";
            }
          }
          description "Stream input type";
        }
    
        typedef Fsync-bag-damping-state {
          type enumeration {
            enum "damping-state-down" {
              value 0;
              description "Down";
            }
            enum "damping-state-coming-up" {
              value 1;
              description "Coming up";
            }
            enum "damping-state-up" {
              value 2;
              description "Up";
            }
            enum "damping-state-going-down" {
              value 3;
              description "Going down";
            }
          }
          description "Damping state";
        }
    
        typedef Fsync-time-pri {
          type uint8;
          description "Fsync time pri";
        }
    
        typedef Fsync-pri {
          type uint8;
          description "Fsync pri";
        }
    
        typedef Im-state-enum {
          type enumeration {
            enum "im-state-not-ready" {
              value 0;
              description "im state not ready";
            }
            enum "im-state-admin-down" {
              value 1;
              description "im state admin down";
            }
            enum "im-state-down" {
              value 2;
              description "im state down";
            }
            enum "im-state-up" {
              value 3;
              description "im state up";
            }
            enum "im-state-shutdown" {
              value 4;
              description "im state shutdown";
            }
            enum "im-state-err-disable" {
              value 5;
              description "im state err disable";
            }
            enum "im-state-down-immediate" {
              value 6;
              description
                "im state down immediate";
            }
            enum "im-state-down-immediate-admin" {
              value 7;
              description
                "im state down immediate admin";
            }
            enum "im-state-down-graceful" {
              value 8;
              description
                "im state down graceful";
            }
            enum "im-state-begin-shutdown" {
              value 9;
              description
                "im state begin shutdown";
            }
            enum "im-state-end-shutdown" {
              value 10;
              description
                "im state end shutdown";
            }
            enum "im-state-begin-error-disable" {
              value 11;
              description
                "im state begin error disable";
            }
            enum "im-state-end-error-disable" {
              value 12;
              description
                "im state end error disable";
            }
            enum "im-state-begin-down-graceful" {
              value 13;
              description
                "im state begin down graceful";
            }
            enum "im-state-reset" {
              value 14;
              description "im state reset";
            }
            enum "im-state-operational" {
              value 15;
              description "im state operational";
            }
            enum "im-state-not-operational" {
              value 16;
              description
                "im state not operational";
            }
            enum "im-state-unknown" {
              value 17;
              description "im state unknown";
            }
            enum "im-state-last" {
              value 18;
              description "im state last";
            }
          }
          description "Im state enum";
        }
    
        typedef Fsync-bag-forwardtrace-node {
          type enumeration {
            enum
              "forward-trace-node-selection-point" {
              value 0;
              description
                "A selection point forwardtrace node";
            }
            enum "forward-trace-node-source" {
              value 1;
              description
                "A timing source forwardtrace node";
            }
          }
          description
            "Selection forwardtrace node information";
        }
    
        typedef Fsync-bag-selection-point-desc {
          type string;
          description
            "Fsync bag selection point desc";
        }
    
        typedef Fsync-selection-point-type {
          type uint8;
          description
            "Fsync selection point type";
        }
    
        typedef Fsync-bag-source-class {
          type enumeration {
            enum "invalid-source" {
              value 0;
              description "Invalid source class";
            }
            enum "ethernet-interface-source" {
              value 1;
              description "Ethernet interface";
            }
            enum "sonet-interface-source" {
              value 2;
              description "SONET interface";
            }
            enum "clock-interface-source" {
              value 3;
              description "Clock interface";
            }
            enum "internal-clock-source" {
              value 4;
              description "Internal clock";
            }
            enum "ptp-source" {
              value 5;
              description "PTP clock";
            }
            enum
              "satellite-access-interface-source" {
              value 6;
              description
                "Satellite Access Interface";
            }
            enum "ntp-source" {
              value 7;
              description "NTP clock";
            }
            enum "gnss-receiver" {
              value 8;
              description "GNSS Receiver";
            }
          }
          description "Source class";
        }
      }  // submodule Cisco-IOS-XR-freqsync-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.