Cisco-IOS-XR-ncs4k-freqsync-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ncs4k-freqsync package operational data. This module con...

  • Version: 2021-01-13

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


    
      module Cisco-IOS-XR-ncs4k-freqsync-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs4k-freqsync-oper";
    
        prefix ncs4k-freqsync-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ncs4k-freqsync-oper-sub1 {
          revision-date "2021-01-13";
        }
    
        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 ncs4k-freqsync package operational data.
         
         This module contains definitions
         for the following management objects:
           frequency-synchronization: Frequency Synchronization
             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-09-07" {
          description
            "Fixed type translation error.";
        }
    
        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-stream {
          type enumeration {
            enum "local" {
              value 1;
              description
                "Stream input from a local source";
            }
            enum "selection-point" {
              value 2;
              description
                "Stream input from a selection point on a remote
               node";
            }
          }
          description "Fsync stream";
        }
    
        typedef Fsync-source {
          type enumeration {
            enum "ethernet" {
              value 1;
              description
                "An ethernet interface";
            }
            enum "sonet" {
              value 2;
              description "A SONET interface";
            }
            enum "clock" {
              value 3;
              description "A clock interface";
            }
            enum "internal" {
              value 4;
              description "An internal clock";
            }
            enum "ptp" {
              value 5;
              description "A PTP clock";
            }
            enum "satellite-access" {
              value 6;
              description
                "A satellite access interface clock";
            }
            enum "ntp" {
              value 7;
              description "An NTP clock";
            }
            enum "gnss" {
              value 8;
              description "A GNSS receiver";
            }
          }
          description "Fsync source";
        }
    
        container frequency-synchronization {
          config false;
          description
            "Frequency Synchronization operational data";
          container nodes {
            description
              "Table for node-specific operational data";
            list node {
              key "node";
              description
                "Node-specific data for a particular node";
              container ptp-data {
                description
                  "PTP operational data";
                uses FSYNC-PTP-INFO-V2;
              }  // container ptp-data
    
              container selection-point-inputs {
                description
                  "Table for selection point input operational
                 data";
                list selection-point-input {
                  description
                    "Operational data for a particular selection
                   point input";
                  leaf selection-point {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description
                      "Selection point ID";
                  }
    
                  leaf stream-type {
                    type Fsync-stream;
                    description "Type of stream";
                  }
    
                  leaf source-type {
                    type Fsync-source;
                    description "Type of source";
                  }
    
                  leaf interface {
                    type xr:Interface-name;
                    description "Interface";
                  }
    
                  leaf clock-port {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description "Clock port";
                  }
    
                  leaf last-node {
                    type xr:Node-id;
                    description
                      "Last node for a selection point stream";
                  }
    
                  leaf last-selection-point {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description
                      "Last selection point for a selection point
                     stream";
                  }
    
                  leaf output-id {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description
                      "Output ID for a selection point stream";
                  }
    
                  uses FSYNC-SP-INPUT-INFO;
                }  // list selection-point-input
              }  // container selection-point-inputs
    
              container ntp-data {
                description
                  "NTP operational data";
                uses FSYNC-NTP-INFO-V2;
              }  // container ntp-data
    
              container configuration-errors {
                description
                  "Configuration error operational data";
                uses FSYNC-CONFIG-ERRORS-INFO;
              }  // container configuration-errors
    
              container selection-point-datas {
                description
                  "Selection point data table";
                list selection-point-data {
                  key "selection-point";
                  description
                    "Operational data for a given selection point";
                  leaf selection-point {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description
                      "Selection point ID";
                  }
    
                  uses FSYNC-SP-INFO-V2;
                }  // list selection-point-data
              }  // container selection-point-datas
    
              container ssm-summary {
                description
                  "SSM operational data";
                uses FSYNC-SSM-INFO;
              }  // container ssm-summary
    
              leaf node {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
    
          container interface-datas {
            description
              "Table for interface operational data";
            list interface-data {
              key "interface-name";
              description
                "Operational data for a particular interface";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses FSYNC-IF-INFO-V2;
            }  // list interface-data
          }  // container interface-datas
    
          container clock-datas {
            description
              "Table for clock operational data";
            list clock-data {
              key "clock-name";
              description
                "Operational data for a particular clock";
              leaf clock-name {
                type string;
                description "Clock Name";
              }
    
              uses FSYNC-CLOCK-INFO-V2;
            }  // list clock-data
          }  // container clock-datas
    
          container summary {
            description
              "Summary operational data";
            uses FSYNC-SUMMARY-INFO;
          }  // container summary
    
          container global-nodes {
            description
              "Table for global node-specific operational data";
            list global-node {
              key "node";
              description
                "Global node-specific data for a particular node";
              container time-of-day-back-trace {
                description
                  "Selection backtrace operational data for
                 time-of-day on a particular node";
                uses FSYNC-SELECTION-BACKTRACE-INFO;
              }  // container time-of-day-back-trace
    
              container ntp-selection-forward-trace {
                description
                  "Selection forwardtrace operational data for a
                 NTP clock";
                uses FSYNC-SELECTION-FORWARDTRACE-INFO;
              }  // container ntp-selection-forward-trace
    
              container ptp-selection-forward-trace {
                description
                  "Selection forwardtrace operational data for a
                 PTP clock";
                uses FSYNC-SELECTION-FORWARDTRACE-INFO;
              }  // container ptp-selection-forward-trace
    
              leaf node {
                type xr:Node-id;
                description "Node";
              }
            }  // list global-node
          }  // container global-nodes
    
          container clock-interface-selection-forward-traces {
            description
              "Selection forwardtrace operational data for
             clock-interfaces";
            list clock-interface-selection-forward-trace {
              key "clock-name";
              description
                "Selection forwardtrace operational data for a
               particular clock-interface";
              leaf clock-name {
                type string;
                description "Clock Name";
              }
    
              uses FSYNC-SELECTION-FORWARDTRACE-INFO;
            }  // list clock-interface-selection-forward-trace
          }  // container clock-interface-selection-forward-traces
    
          container clock-interface-selection-back-traces {
            description
              "Selection backtrace operational data for
             clock-interfaces";
            list clock-interface-selection-back-trace {
              key "clock-name";
              description
                "Selection backtrace operational data for a
               particular clock-interface";
              leaf clock-name {
                type string;
                description "Clock Name";
              }
    
              uses FSYNC-SELECTION-BACKTRACE-INFO;
            }  // list clock-interface-selection-back-trace
          }  // container clock-interface-selection-back-traces
    
          container global-interfaces {
            description
              "Table for global interface operational data";
            list global-interface {
              key "interface-name";
              description
                "Global interface information for a particular
               interface";
              container interface-selection-back-trace {
                description
                  "Selection backtrace operational data for a
                 particular interface";
                uses FSYNC-SELECTION-BACKTRACE-INFO;
              }  // container interface-selection-back-trace
    
              container interface-selection-forward-trace {
                description
                  "Selection forwardtrace operational data for a
                 particular interface";
                uses FSYNC-SELECTION-FORWARDTRACE-INFO;
              }  // container interface-selection-forward-trace
    
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
            }  // list global-interface
          }  // container global-interfaces
    
          container detailed-clock-datas {
            description
              "Table for detailed clock operational data";
            list detailed-clock-data {
              key "clock-name";
              description
                "Detailed operational data for a particular
               clock";
              leaf clock-name {
                type string;
                description "Clock Name";
              }
    
              uses FSYNC-CLOCK-INFO-V2;
            }  // list detailed-clock-data
          }  // container detailed-clock-datas
        }  // container frequency-synchronization
      }  // module Cisco-IOS-XR-ncs4k-freqsync-oper
    

© 2023 YumaWorks, Inc. All rights reserved.