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

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

  • Version: 2019-04-05

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


    
      submodule Cisco-IOS-XR-ip-ntp-admin-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-ip-ntp-admin-oper {
            prefix
              Cisco-IOS-XR-ip-ntp-admin-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        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 ip-ntp-admin package 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";
    
        typedef Ntp-peer-status {
          type enumeration {
            enum "ntp-ctl-pst-sel-reject" {
              value 0;
              description "   reject";
            }
            enum "ntp-ctl-pst-sel-sane" {
              value 1;
              description " x falsetick";
            }
            enum "ntp-ctl-pst-sel-correct" {
              value 2;
              description " . excess ";
            }
            enum "ntp-ctl-pst-sel-selcand" {
              value 3;
              description " - outlyer";
            }
            enum "ntp-ctl-pst-sel-sync-cand" {
              value 4;
              description " + candidate";
            }
            enum "ntp-ctl-pst-sel-distsys-peer" {
              value 5;
              description " # selected";
            }
            enum "ntp-ctl-pst-sel-sys-peer" {
              value 6;
              description " * sys peer";
            }
            enum "ntp-ctl-pst-sel-pps" {
              value 7;
              description " o pps peer";
            }
          }
          description "Type of peer status";
        }
    
        typedef Ntp-mode {
          type enumeration {
            enum "ntp-mode-unspec" {
              value 0;
              description
                "Unspecified probably old NTP version";
            }
            enum "ntp-mode-symetric-active" {
              value 1;
              description "Symmetric active";
            }
            enum "ntp-mode-symetric-passive" {
              value 2;
              description "Symmetric passive";
            }
            enum "ntp-mode-client" {
              value 3;
              description "Client mode";
            }
            enum "ntp-mode-server" {
              value 4;
              description "Server mode";
            }
            enum "ntp-mode-xcast-server" {
              value 5;
              description "Broadcast mode";
            }
            enum "ntp-mode-control" {
              value 6;
              description "Control mode packet";
            }
            enum "ntp-mode-private" {
              value 7;
              description
                "Implementation defined function";
            }
            enum "ntp-mode-xcast-client" {
              value 8;
              description
                "A broadcast client mode";
            }
          }
          description "Type of mode";
        }
    
        typedef Clock-update-node {
          type enumeration {
            enum "clk-never-updated" {
              value 0;
              description
                " clock is never updated";
            }
            enum "clk-updated" {
              value 1;
              description " clock is updated";
            }
            enum "clk-no-update-info" {
              value 2;
              description
                " clock has no update info";
            }
          }
          description "Mode of Clock Update";
        }
    
        typedef Ntp-loop-filter-state {
          type enumeration {
            enum "ntp-loop-flt-n-set" {
              value 1;
              description " never set";
            }
            enum "ntp-loop-flt-f-set" {
              value 2;
              description " drift set from file";
            }
            enum "ntp-loop-flt-spik" {
              value 3;
              description " spike";
            }
            enum "ntp-loop-flt-freq" {
              value 4;
              description
                " drift being measured";
            }
            enum "ntp-loop-flt-sync" {
              value 5;
              description
                " normal controlled loop";
            }
            enum "ntp-loop-flt-unkn" {
              value 6;
              description " unknown";
            }
          }
          description "Loop filter state";
        }
    
        typedef Ntp-leap {
          type enumeration {
            enum "ntp-leap-no-warning" {
              value 0;
              description
                "Normal, no leap second warning";
            }
            enum "ntp-leap-addse-cond" {
              value 1;
              description
                "Last minute of day has 61 seconds";
            }
            enum "ntp-leap-delse-cond" {
              value 2;
              description
                "Last minute of day has 59 seconds";
            }
            enum "ntp-leap-not-in-sync" {
              value 3;
              description
                "Overload, clock is free running";
            }
          }
          description "Type of leap";
        }
      }  // submodule Cisco-IOS-XR-ip-ntp-admin-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.