Cisco-IOS-XR-syncc-oper

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

  • Version: 2020-06-17

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


    
      module Cisco-IOS-XR-syncc-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-syncc-oper";
    
        prefix syncc-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-syncc-oper-sub1 {
          revision-date "2020-06-17";
        }
    
        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 syncc package operational data.
         
         This module contains definitions
         for the following management objects:
           timing-controller: Timing controller 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";
    
        container timing-controller {
          config false;
          description
            "Timing controller operational data";
          container nodes {
            description
              "List of nodes applicable to timing controller";
            list node {
              key "node-name";
              description
                "Syncc operational data for a single node";
              container state {
                description
                  "Syncc state for a node";
                list syncc-instance {
                  description
                    "List of syncc states";
                  leaf controller-state {
                    type Syncc-states;
                    description
                      "Syncc controller state";
                  }
    
                  leaf syncc-node-state {
                    type Node-state;
                    description
                      "Status of syncc node mode";
                  }
    
                  leaf verbose-level {
                    type uint32;
                    description
                      "Verbose level number";
                  }
    
                  leaf initial-count {
                    type uint32;
                    description
                      "Initial count number";
                  }
    
                  leaf shutdown-count {
                    type uint32;
                    description
                      "Shutdown count number";
                  }
    
                  leaf set-input-count {
                    type uint32;
                    description
                      "Set the value of input count";
                  }
    
                  leaf set-capability-count {
                    type uint32;
                    description
                      "Set the value of display count";
                  }
    
                  leaf get-clock-count {
                    type uint32;
                    description
                      "Clock count number";
                  }
    
                  leaf set-clock-out-count {
                    type uint32;
                    description
                      "Set clock count";
                  }
    
                  leaf sync-enable-count {
                    type uint32;
                    description
                      "Sync enable count number";
                  }
    
                  leaf sync-disable-count {
                    type uint32;
                    description
                      "Sync disable count number";
                  }
    
                  leaf capability-count {
                    type uint32;
                    description
                      "Interface capability count";
                  }
    
                  leaf set-quality-level-count {
                    type uint32;
                    description
                      "Value of quality level count";
                  }
    
                  leaf input-notification {
                    type uint32;
                    description
                      "Selects proper input result notification";
                  }
    
                  leaf capability-notification {
                    type uint32;
                    description
                      "Value of interface capability notification";
                  }
    
                  leaf status-notification {
                    type uint32;
                    description
                      "Notification of source status";
                  }
    
                  leaf resync-notification {
                    type uint32;
                    description
                      "Value of resync notification";
                  }
                }  // list syncc-instance
              }  // container state
    
              container clock {
                description
                  "Syncc clock information for a node";
                list syncc-instance {
                  description
                    "List of syncc clock information ";
                  list clock {
                    max-elements 1;
                    description
                      "Clock table for an RP";
                    leaf is-configured-port0 {
                      type boolean;
                      description
                        "True if clock is configured for port 0";
                    }
    
                    leaf is-configured-port1 {
                      type boolean;
                      description
                        "True if clock is configured for port 1";
                    }
    
                    leaf is-configured-port2 {
                      type boolean;
                      description
                        "True if clock is configured for port 2";
                    }
    
                    leaf is-configured-port3 {
                      type boolean;
                      description
                        "True if clock is configured for port 3";
                    }
    
                    leaf mode-port0 {
                      type Clock-modes;
                      description
                        "Clock setting mode for port 0";
                    }
    
                    leaf mode-port1 {
                      type Clock-modes;
                      description
                        "Clock setting mode for port 1";
                    }
    
                    leaf mode-port2 {
                      type Clock-modes;
                      description
                        "Clock setting mode for port 2";
                    }
    
                    leaf mode-port3 {
                      type Clock-modes;
                      description
                        "Clock setting mode for port 3";
                    }
    
                    leaf submode1-port0 {
                      type Smode1;
                      description
                        "First submode for port 0";
                    }
    
                    leaf submode1-port1 {
                      type Smode1;
                      description
                        "First submode for port 1";
                    }
    
                    leaf submode1-port2 {
                      type Smode1;
                      description
                        "First submode for port 2";
                    }
    
                    leaf submode1-port3 {
                      type Smode1;
                      description
                        "First submode for port 3";
                    }
    
                    leaf submode2-port0 {
                      type Smode2;
                      description
                        "Second submode for port 0";
                    }
    
                    leaf submode2-port1 {
                      type Smode2;
                      description
                        "Second submode for port 1";
                    }
    
                    leaf submode2-port2 {
                      type Smode2;
                      description
                        "Second submode for port 2";
                    }
    
                    leaf submode2-port3 {
                      type Smode2;
                      description
                        "Second submode for port 3";
                    }
    
                    leaf submode3-port0 {
                      type uint32;
                      description
                        "Third submode for port 0";
                    }
    
                    leaf submode3-port1 {
                      type uint32;
                      description
                        "Third submode for port 1";
                    }
    
                    leaf submode3-port2 {
                      type uint32;
                      description
                        "Third submode for port 2";
                    }
    
                    leaf submode3-port3 {
                      type uint32;
                      description
                        "Third submode for port 3";
                    }
    
                    leaf shutdown-port0 {
                      type uint32;
                      description
                        "Configure disable value for port 0";
                    }
    
                    leaf shutdown-port1 {
                      type uint32;
                      description
                        "Configure disable value for port 1";
                    }
    
                    leaf shutdown-port2 {
                      type uint32;
                      description
                        "Configure disable value for port 2";
                    }
    
                    leaf shutdown-port3 {
                      type uint32;
                      description
                        "Configure disable value for port 3";
                    }
    
                    leaf direction-port0 {
                      type Direct;
                      description
                        "Direction of interface for port 0";
                    }
    
                    leaf direction-port1 {
                      type Direct;
                      description
                        "Direction of interface for port 1";
                    }
    
                    leaf direction-port2 {
                      type Direct;
                      description
                        "Direction of interface for port 2";
                    }
    
                    leaf direction-port3 {
                      type Direct;
                      description
                        "Direction of interface for port 3";
                    }
    
                    leaf baudrate-port0 {
                      type uint32;
                      description
                        "Baudrate for port 0";
                    }
    
                    leaf baudrate-port1 {
                      type uint32;
                      description
                        "Baudrate for port 1";
                    }
    
                    leaf baudrate-port2 {
                      type uint32;
                      description
                        "Baudrate for port 2";
                    }
    
                    leaf baudrate-port3 {
                      type uint32;
                      description
                        "Baudrate for port 3";
                    }
    
                    leaf quality-option-port0 {
                      type Ql-option-1;
                      description
                        "Quality Level option of port 0";
                    }
    
                    leaf quality-option-port1 {
                      type Ql-option-1;
                      description
                        "Quality Level option of the port 1";
                    }
    
                    leaf quality-option-port2 {
                      type Ql-option-1;
                      description
                        "Quality Level option of the port 2";
                    }
    
                    leaf quality-option-port3 {
                      type Ql-option-1;
                      description
                        "Quality Level option of the port 3";
                    }
    
                    leaf transmit-ssm-port0 {
                      type uint32;
                      description
                        "Transmit SSM for port 0";
                    }
    
                    leaf transmit-ssm-port1 {
                      type uint32;
                      description
                        "Transmit SSM for port 1";
                    }
    
                    leaf transmit-ssm-port2 {
                      type uint32;
                      description
                        "Transmit SSM for port 2";
                    }
    
                    leaf transmit-ssm-port3 {
                      type uint32;
                      description
                        "Transmit SSM for port 3";
                    }
    
                    leaf recieve-ssm-port0 {
                      type uint32;
                      description
                        "Receive SSM for port 0";
                    }
    
                    leaf recieve-ssm-port1 {
                      type uint32;
                      description
                        "Receive SSM for port 1";
                    }
    
                    leaf recieve-ssm-port2 {
                      type uint32;
                      description
                        "Receive SSM for port 2";
                    }
    
                    leaf recieve-ssm-port3 {
                      type uint32;
                      description
                        "Receive SSM for port 3";
                    }
    
                    leaf interface-state-port0 {
                      type Interface-state;
                      description
                        "Interface state for port 0";
                    }
    
                    leaf interface-state-port1 {
                      type Interface-state;
                      description
                        "Interface state for port 1";
                    }
    
                    leaf interface-state-port2 {
                      type Interface-state;
                      description
                        "Interface state for port 2";
                    }
    
                    leaf interface-state-port3 {
                      type Interface-state;
                      description
                        "Interface state for port 3";
                    }
                  }  // list clock
                }  // list syncc-instance
              }  // container clock
    
              container timing-source {
                description
                  "Syncc timing information for a node";
                list syncc-instance {
                  description
                    "List of syncc timing table information";
                  list timing-status-t0 {
                    max-elements 11;
                    description
                      "Scheduling PLL T0 ";
                    leaf input {
                      type uint8;
                      description "Input number";
                    }
    
                    leaf slot {
                      type uint8;
                      description "Slot number";
                    }
    
                    leaf port {
                      type uint8;
                      description "Port number";
                    }
    
                    leaf clock-source {
                      type Source;
                      description
                        "Status of syncc source type";
                    }
    
                    leaf rank {
                      type uint8;
                      description
                        "Rank of sync timing source table";
                    }
    
                    leaf quality-level-option {
                      type uint8;
                      description
                        "Quality level option";
                    }
    
                    leaf quality-level-value {
                      type uint8;
                      description
                        "Quality level value";
                    }
    
                    leaf user-priority {
                      type uint8;
                      description
                        "User priority of sync timing source table";
                    }
    
                    leaf clock-state {
                      type Source-state-name;
                      description
                        "Status of clock state";
                    }
    
                    leaf is-select {
                      type boolean;
                      description
                        "True if selected";
                    }
                  }  // list timing-status-t0
    
                  list timing-status-t4 {
                    max-elements 11;
                    description
                      "Scheduling PLL T4 ";
                    leaf input {
                      type uint8;
                      description "Input number";
                    }
    
                    leaf slot {
                      type uint8;
                      description "Slot number";
                    }
    
                    leaf port {
                      type uint8;
                      description "Port number";
                    }
    
                    leaf clock-source {
                      type Source;
                      description
                        "Status of syncc source type";
                    }
    
                    leaf rank {
                      type uint8;
                      description
                        "Rank of sync timing source table";
                    }
    
                    leaf quality-level-option {
                      type uint8;
                      description
                        "Quality level option";
                    }
    
                    leaf quality-level-value {
                      type uint8;
                      description
                        "Quality level value";
                    }
    
                    leaf user-priority {
                      type uint8;
                      description
                        "User priority of sync timing source table";
                    }
    
                    leaf clock-state {
                      type Source-state-name;
                      description
                        "Status of clock state";
                    }
    
                    leaf is-select {
                      type boolean;
                      description
                        "True if selected";
                    }
                  }  // list timing-status-t4
    
                  list timing-status1588 {
                    max-elements 11;
                    description
                      "Scheduling PLL 1588 ";
                    leaf input {
                      type uint8;
                      description "Input number";
                    }
    
                    leaf slot {
                      type uint8;
                      description "Slot number";
                    }
    
                    leaf port {
                      type uint8;
                      description "Port number";
                    }
    
                    leaf clock-source {
                      type Source;
                      description
                        "Status of syncc source type";
                    }
    
                    leaf rank {
                      type uint8;
                      description
                        "Rank of sync timing source table";
                    }
    
                    leaf quality-level-option {
                      type uint8;
                      description
                        "Quality level option";
                    }
    
                    leaf quality-level-value {
                      type uint8;
                      description
                        "Quality level value";
                    }
    
                    leaf user-priority {
                      type uint8;
                      description
                        "User priority of sync timing source table";
                    }
    
                    leaf clock-state {
                      type Source-state-name;
                      description
                        "Status of clock state";
                    }
    
                    leaf is-select {
                      type boolean;
                      description
                        "True if selected";
                    }
                  }  // list timing-status1588
                }  // list syncc-instance
              }  // container timing-source
    
              leaf node-name {
                type xr:Node-id;
                description "Node Name";
              }
            }  // list node
          }  // container nodes
        }  // container timing-controller
      }  // module Cisco-IOS-XR-syncc-oper
    

© 2023 YumaWorks, Inc. All rights reserved.