Cisco-IOS-XR-ip-ntp-admin-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ip-ntp package admin-plane operational data. This module...

  • Version: 2019-04-05

    Cisco-IOS-XR-ip-ntp-admin-oper@2019-04-05


    
      module Cisco-IOS-XR-ip-ntp-admin-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper";
    
        prefix ip-ntp-admin-oper;
    
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ip-ntp-admin-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 ip-ntp package
    admin-plane operational data.
    
    This module contains definitions
    for the following management objects:
      ntp: NTP admin operational data
    
    Copyright (c) 2013-2019 by Cisco Systems, Inc.
    All rights reserved.";
    
        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.0.1";
    
        container ntp {
          config false;
          description
            "NTP admin operational data";
          container racks {
            description
              "Rack-specific NTP operational data";
            list rack {
              key "number";
              description
                "NTP operational data for a particular rack";
              container slots {
                description
                  "Node-specific NTP operational data";
                list slot {
                  key "number";
                  description
                    "NTP operational data for a particular slot";
                  container instances {
                    description
                      "Instance-specific NTP operational data";
                    list instance {
                      key "number";
                      description
                        "NTP operational data for a particular
    instance";
                      container status {
                        description
                          "Status of NTP peer(s)";
                        container sys-ref-time {
                          description
                            "Reference time";
                          container sec {
                            description
                              "Second part in 64-bit NTP timestamp";
                            leaf int {
                              type uint32;
                              description
                                "Integer format in NTP reference code";
                            }
                          }  // container sec
    
                          container frac-secs {
                            description
                              "Fractional part in 64-bit NTP timestamp";
                            leaf frac {
                              type uint32;
                              description
                                "Fractional format in NTP reference code";
                            }
                          }  // container frac-secs
                        }  // container sys-ref-time
    
                        container sys-drift {
                          description
                            "System Drift";
                          container sec {
                            description
                              "Second part in 64-bit NTP timestamp";
                            leaf int {
                              type uint32;
                              description
                                "Integer format in NTP reference code";
                            }
                          }  // container sec
    
                          container frac-secs {
                            description
                              "Fractional part in 64-bit NTP timestamp";
                            leaf frac {
                              type uint32;
                              description
                                "Fractional format in NTP reference code";
                            }
                          }  // container frac-secs
                        }  // container sys-drift
    
                        leaf is-ntp-enabled {
                          type boolean;
                          description
                            "Is NTP enabled";
                        }
    
                        leaf sys-dispersion {
                          type string;
                          description
                            "Peer dispersion";
                        }
    
                        leaf sys-offset {
                          type string;
                          description
                            "Clock offset";
                        }
    
                        leaf clock-period {
                          type uint32;
                          units "nanosecond";
                          description
                            "Clock period in nanosecs";
                        }
    
                        leaf sys-leap {
                          type Ntp-leap;
                          description "leap";
                        }
    
                        leaf sys-precision {
                          type int8;
                          description
                            "Precision";
                        }
    
                        leaf sys-stratum {
                          type uint8;
                          description "Stratum";
                        }
    
                        leaf sys-ref-id {
                          type inet:ipv4-address;
                          description
                            "Reference clock ID";
                        }
    
                        leaf sys-root-delay {
                          type string;
                          description
                            "Root delay";
                        }
    
                        leaf sys-root-dispersion {
                          type string;
                          description
                            "Root dispersion";
                        }
    
                        leaf loop-filter-state {
                          type Ntp-loop-filter-state;
                          description
                            "Loop Filter State";
                        }
    
                        leaf poll-interval {
                          type uint8;
                          description
                            "Peer poll interval";
                        }
    
                        leaf is-updated {
                          type Clock-update-node;
                          description
                            "Is clock updated";
                        }
    
                        leaf last-update {
                          type int32;
                          description
                            "Last Update";
                        }
                      }  // container status
    
                      container associations {
                        description
                          "NTP Associations information";
                        leaf is-ntp-enabled {
                          type boolean;
                          description
                            "Is NTP enabled";
                        }
    
                        leaf sys-leap {
                          type Ntp-leap;
                          description "Leap";
                        }
    
                        list peer-summary-info {
                          description
                            "Peer info";
                          container peer-info-common {
                            description
                              "Common peer info";
                            leaf host-mode {
                              type Ntp-mode;
                              description
                                "Association mode with this peer";
                            }
    
                            leaf is-configured {
                              type boolean;
                              description
                                "Is configured";
                            }
    
                            leaf address {
                              type string;
                              description
                                "Peer Address";
                            }
    
                            leaf reference-id {
                              type inet:ipv4-address;
                              description
                                "Peer reference ID";
                            }
    
                            leaf host-poll {
                              type uint8;
                              description
                                "Host poll";
                            }
    
                            leaf reachability {
                              type uint8;
                              description
                                "Reachability";
                            }
    
                            leaf stratum {
                              type uint8;
                              description
                                "Peer stratum";
                            }
    
                            leaf status {
                              type Ntp-peer-status;
                              description
                                "Peer status";
                            }
    
                            leaf delay {
                              type string;
                              description
                                "Peer delay";
                            }
    
                            leaf offset {
                              type string;
                              description
                                "Peer offset";
                            }
    
                            leaf dispersion {
                              type string;
                              description
                                "Peer dispersion";
                            }
    
                            leaf is-sys-peer {
                              type boolean;
                              description
                                "Indicates whether this is syspeer";
                            }
                          }  // container peer-info-common
    
                          leaf time-since {
                            type int32;
                            description
                              "Time since last frame received (-1=none)";
                          }
                        }  // list peer-summary-info
                      }  // container associations
    
                      container associations-detail {
                        description
                          "NTP Associations Detail information";
                        leaf is-ntp-enabled {
                          type boolean;
                          description
                            "Is NTP enabled";
                        }
    
                        leaf sys-leap {
                          type Ntp-leap;
                          description "Leap";
                        }
    
                        list peer-detail-info {
                          description
                            "Peer info";
                          container peer-info-common {
                            description
                              "Common peer info";
                            leaf host-mode {
                              type Ntp-mode;
                              description
                                "Association mode with this peer";
                            }
    
                            leaf is-configured {
                              type boolean;
                              description
                                "Is configured";
                            }
    
                            leaf address {
                              type string;
                              description
                                "Peer Address";
                            }
    
                            leaf reference-id {
                              type inet:ipv4-address;
                              description
                                "Peer reference ID";
                            }
    
                            leaf host-poll {
                              type uint8;
                              description
                                "Host poll";
                            }
    
                            leaf reachability {
                              type uint8;
                              description
                                "Reachability";
                            }
    
                            leaf stratum {
                              type uint8;
                              description
                                "Peer stratum";
                            }
    
                            leaf status {
                              type Ntp-peer-status;
                              description
                                "Peer status";
                            }
    
                            leaf delay {
                              type string;
                              description
                                "Peer delay";
                            }
    
                            leaf offset {
                              type string;
                              description
                                "Peer offset";
                            }
    
                            leaf dispersion {
                              type string;
                              description
                                "Peer dispersion";
                            }
    
                            leaf is-sys-peer {
                              type boolean;
                              description
                                "Indicates whether this is syspeer";
                            }
                          }  // container peer-info-common
    
                          container ref-time {
                            description
                              "Reference time";
                            container sec {
                              description
                                "Second part in 64-bit NTP timestamp";
                              leaf int {
                                type uint32;
                                description
                                  "Integer format in NTP reference code";
                              }
                            }  // container sec
    
                            container frac-secs {
                              description
                                "Fractional part in 64-bit NTP timestamp";
                              leaf frac {
                                type uint32;
                                description
                                  "Fractional format in NTP reference code";
                              }
                            }  // container frac-secs
                          }  // container ref-time
    
                          container originate-time {
                            description
                              "Originate timestamp";
                            container sec {
                              description
                                "Second part in 64-bit NTP timestamp";
                              leaf int {
                                type uint32;
                                description
                                  "Integer format in NTP reference code";
                              }
                            }  // container sec
    
                            container frac-secs {
                              description
                                "Fractional part in 64-bit NTP timestamp";
                              leaf frac {
                                type uint32;
                                description
                                  "Fractional format in NTP reference code";
                              }
                            }  // container frac-secs
                          }  // container originate-time
    
                          container receive-time {
                            description
                              "Receive timestamp";
                            container sec {
                              description
                                "Second part in 64-bit NTP timestamp";
                              leaf int {
                                type uint32;
                                description
                                  "Integer format in NTP reference code";
                              }
                            }  // container sec
    
                            container frac-secs {
                              description
                                "Fractional part in 64-bit NTP timestamp";
                              leaf frac {
                                type uint32;
                                description
                                  "Fractional format in NTP reference code";
                              }
                            }  // container frac-secs
                          }  // container receive-time
    
                          container transmit-time {
                            description
                              "Transmit timestamp";
                            container sec {
                              description
                                "Second part in 64-bit NTP timestamp";
                              leaf int {
                                type uint32;
                                description
                                  "Integer format in NTP reference code";
                              }
                            }  // container sec
    
                            container frac-secs {
                              description
                                "Fractional part in 64-bit NTP timestamp";
                              leaf frac {
                                type uint32;
                                description
                                  "Fractional format in NTP reference code";
                              }
                            }  // container frac-secs
                          }  // container transmit-time
    
                          leaf leap {
                            type Ntp-leap;
                            description "Leap";
                          }
    
                          leaf peer-mode {
                            type Ntp-mode;
                            description
                              "Peer's association mode";
                          }
    
                          leaf poll-interval {
                            type uint8;
                            description
                              "Peer poll interval";
                          }
    
                          leaf is-ref-clock {
                            type boolean;
                            description
                              "Is refclock";
                          }
    
                          leaf is-authenticated {
                            type boolean;
                            description
                              "Is authenticated";
                          }
    
                          leaf root-delay {
                            type string;
                            description
                              "Root delay";
                          }
    
                          leaf root-dispersion {
                            type string;
                            description
                              "Root dispersion";
                          }
    
                          leaf synch-distance {
                            type string;
                            description
                              "Synch distance";
                          }
    
                          leaf precision {
                            type int8;
                            description
                              "Precision";
                          }
    
                          leaf version {
                            type uint8;
                            description
                              "NTP version";
                          }
    
                          leaf filter-index {
                            type uint32;
                            description
                              "Index into filter shift register";
                          }
    
                          leaf cast-flags {
                            type uint8;
                            description
                              "Cast Flags";
                          }
    
                          list filter-detail {
                            max-elements 8;
                            description
                              "Filter Details";
                            leaf filter-delay {
                              type string;
                              description
                                "filter delay";
                            }
    
                            leaf filter-offset {
                              type string;
                              description
                                "filter offset";
                            }
    
                            leaf filter-disp {
                              type string;
                              description
                                "filter disp";
                            }
                          }  // list filter-detail
                        }  // list peer-detail-info
                      }  // container associations-detail
    
                      leaf number {
                        type uint32;
                        description
                          "The instance number";
                      }
                    }  // list instance
                  }  // container instances
    
                  leaf number {
                    type uint32;
                    description
                      "The slot number";
                  }
                }  // list slot
              }  // container slots
    
              leaf number {
                type uint32;
                description "The rack number";
              }
            }  // list rack
          }  // container racks
        }  // container ntp
      }  // module Cisco-IOS-XR-ip-ntp-admin-oper
    

© 2023 YumaWorks, Inc. All rights reserved.