Cisco-IOS-XR-shellutil-oper-sub1

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

  • Version: 2019-04-05

    Cisco-IOS-XR-shellutil-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-shellutil-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-shellutil-oper {
            prefix Cisco-IOS-XR-shellutil-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 shellutil package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.0.1";
    
        typedef Time-source {
          type enumeration {
            enum "error" {
              value 0;
              description "Error";
            }
            enum "none" {
              value 1;
              description "Unsynchronized time";
            }
            enum "ntp" {
              value 2;
              description
                "Network time protocol";
            }
            enum "manual" {
              value 3;
              description "User configured";
            }
            enum "calendar" {
              value 4;
              description "Hardware calendar";
            }
          }
          description "Time source";
        }
    
        grouping SYSTEM-UPTIME {
          description "System uptime";
          leaf host-name {
            type string;
            description "Host name";
          }
    
          leaf uptime {
            type uint32;
            units "second";
            description
              "Amount of time in seconds since this system
             was last initialized";
          }
        }  // grouping SYSTEM-UPTIME
    
        grouping TIME-DATE {
          description "Date and time";
          leaf year {
            type uint16;
            description "Year [0..65535]";
          }
    
          leaf month {
            type uint8;
            description "Month [1..12]";
          }
    
          leaf day {
            type uint8;
            description "Day [1..31]";
          }
    
          leaf hour {
            type uint8;
            description "Hour [0..23]";
          }
    
          leaf minute {
            type uint8;
            description "Minute [0..59]";
          }
    
          leaf second {
            type uint8;
            description
              "Second [0..60], use 60 for leap-second";
          }
    
          leaf millisecond {
            type uint16;
            description "Millisecond [0..999]";
          }
    
          leaf wday {
            type uint16;
            description "Week Day [0..6]";
          }
    
          leaf time-zone {
            type string;
            description "Time zone";
          }
    
          leaf time-source {
            type Time-source;
            description "Time source";
          }
        }  // grouping TIME-DATE
      }  // submodule Cisco-IOS-XR-shellutil-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.