Cisco-IOS-XR-syncc-oper-sub1

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

  • Version: 2020-06-17

    Cisco-IOS-XR-syncc-oper-sub1@2020-06-17


    
      submodule Cisco-IOS-XR-syncc-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-syncc-oper {
            prefix Cisco-IOS-XR-syncc-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 syncc package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-06-17" {
          description
            "Schema added for gps and smode changes.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2016-06-08" {
          description "Schema added.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        typedef Source-state-name {
          type enumeration {
            enum "not-valid" {
              value 0;
              description "Invalid";
            }
            enum "unqualified" {
              value 1;
              description "Unqualified state";
            }
            enum "available" {
              value 2;
              description "Available state";
            }
            enum "failed" {
              value 3;
              description "Failed state";
            }
            enum "unmonitored" {
              value 4;
              description "Unmonitored state";
            }
            enum "error" {
              value 5;
              description "Error state";
            }
          }
          description "Syncc source state name";
        }
    
        typedef Source {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid state";
            }
            enum "ethernet-line-interface" {
              value 1;
              description "Ethernet interface ";
            }
            enum "sonet-line-interface" {
              value 2;
              description "SONET interface ";
            }
            enum "clock-interface" {
              value 3;
              description
                "Clock interface state";
            }
            enum "internal" {
              value 4;
              description "Internal state";
            }
            enum "ptp" {
              value 5;
              description "PTP";
            }
            enum "satellite-access" {
              value 6;
              description "Satellite Access";
            }
            enum "ntp" {
              value 7;
              description "NTP";
            }
            enum "gnss-receiver" {
              value 8;
              description "Gnss Receiver";
            }
          }
          description "Syncc source type";
        }
    
        typedef Interface-state {
          type enumeration {
            enum "up" {
              value 0;
              description "Up state";
            }
            enum "down" {
              value 1;
              description "Down state";
            }
            enum "admin-down" {
              value 2;
              description "Admin down state";
            }
          }
          description "Interface state";
        }
    
        typedef Ql-option-1 {
          type enumeration {
            enum "quality-level-none" {
              value 0;
              description "No value";
            }
            enum "o1" {
              value 1;
              description "Option 1";
            }
            enum "o2-g1" {
              value 2;
              description "Option 2 Gen 1";
            }
            enum "o2-g2" {
              value 3;
              description "Option 2 Gen 2";
            }
          }
          description "Quality level options";
        }
    
        typedef Direct {
          type enumeration {
            enum "receive-transmit" {
              value 0;
              description "Receive or transmit";
            }
            enum "transmit" {
              value 1;
              description "Transmit";
            }
            enum "receive" {
              value 2;
              description "Receive";
            }
          }
          description "Direction status";
        }
    
        typedef Smode2 {
          type enumeration {
            enum "ami-mode" {
              value 0;
              description "AMI";
            }
            enum "b8zs" {
              value 1;
              description "B8ZS submode";
            }
            enum "hdb3" {
              value 2;
              description "HDB3 submode";
            }
            enum "submode2-none" {
              value 3;
              description "No mode is selected";
            }
            enum "rs422" {
              value 4;
              description "RS422 1PPS input";
            }
            enum "utc" {
              value 5;
              description
                "ToD provides UTC time";
            }
          }
          description "Second mode type";
        }
    
        typedef Smode1 {
          type enumeration {
            enum "extended-super-frame" {
              value 0;
              description
                "Extended Superframe(ESF)";
            }
            enum "d4" {
              value 1;
              description "D4 channel unit";
            }
            enum "non-crc4" {
              value 2;
              description "Non CRC 4 mode";
            }
            enum "crc4" {
              value 3;
              description "CRC 4";
            }
            enum "submode1-none" {
              value 4;
              description "No mode is selected";
            }
            enum "cisco" {
              value 5;
              description
                "TOD msg in Cisco ASCII format";
            }
            enum "ntp4" {
              value 6;
              description
                "TOD msg in NTP Type 4 format";
            }
            enum "gprmc" {
              value 7;
              description
                "TOD msg in NMEA GPRMC format";
            }
          }
          description "First mode type";
        }
    
        typedef Clock-modes {
          type enumeration {
            enum "t1" {
              value 0;
              description "T1 mode";
            }
            enum "e1" {
              value 1;
              description "E1 mode";
            }
            enum "two-m" {
              value 2;
              description "2048M mode";
            }
            enum "input64k" {
              value 3;
              description "64kCC input";
            }
            enum "output6m" {
              value 4;
              description "6312M output";
            }
            enum "uti" {
              value 5;
              description
                "Universal transport interface(UTI)";
            }
            enum "gps" {
              value 6;
              description
                "ToD provides GPS time";
            }
            enum "none" {
              value 7;
              description "No mode is selected";
            }
          }
          description "Different clock modes";
        }
    
        typedef Node-state {
          type enumeration {
            enum "active" {
              value 1;
              description "Node in active mode";
            }
            enum "standby" {
              value 2;
              description "Node in standby mode";
            }
          }
          description
            "Different modes of a node";
        }
    
        typedef Syncc-states {
          type enumeration {
            enum "initializing" {
              value 0;
              description "Initial  state";
            }
            enum "running" {
              value 1;
              description "Running  state";
            }
            enum "normal" {
              value 2;
              description "Normal  state";
            }
            enum "shutdown" {
              value 3;
              description "Shutdown  state";
            }
          }
          description "Different syncc states";
        }
      }  // submodule Cisco-IOS-XR-syncc-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.