Cisco-IOS-XR-shellutil-dir-oper

This module contains a collection of YANG definitions for Cisco IOS-XR shellutil-dir package operational data. This module cont...

  • Version: 2020-10-14

    Cisco-IOS-XR-shellutil-dir-oper@2020-10-14


    
      module Cisco-IOS-XR-shellutil-dir-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-dir-oper";
    
        prefix shellutil-dir-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-shellutil-dir-oper-sub1 {
          revision-date "2020-10-14";
        }
    
        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 shellutil-dir package operational data.
    
    This module contains definitions
    for the following management objects:
      dir: List of directories
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-10-14" {
          description "Initial version.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        container dir {
          config false;
          description "List of directories";
          container nodes {
            description "List of nodes";
            list node {
              key "node-name";
              description "Node ID";
              container dir-paths {
                description "Directory info";
                list dir-path {
                  key "name";
                  description "Directory path";
                  leaf name {
                    type string;
                    description "PATH";
                  }
    
                  leaf total-size {
                    type string;
                    description "Total size";
                  }
    
                  leaf free-size {
                    type string;
                    description "Free size";
                  }
    
                  list directory {
                    description
                      "Available directories";
                    leaf path {
                      type string;
                      description
                        "Directory path";
                    }
    
                    list content {
                      description
                        "List of directory contents";
                      leaf inode {
                        type uint32;
                        description
                          "Inode number";
                      }
    
                      leaf permission {
                        type string;
                        description
                          "File permission";
                      }
    
                      leaf links {
                        type uint32;
                        description "Links";
                      }
    
                      leaf size {
                        type string;
                        description "File size";
                      }
    
                      leaf name {
                        type string;
                        description "File name";
                      }
    
                      leaf link-name {
                        type string;
                        description "Link name";
                      }
    
                      list last-modified {
                        description
                          "Last modified time";
                        leaf date {
                          type uint32;
                          description
                            "Modified Date";
                        }
    
                        leaf month {
                          type string;
                          description
                            "Modified Month";
                        }
    
                        leaf year {
                          type uint32;
                          description
                            "Modified Year";
                        }
    
                        leaf hour {
                          type uint32;
                          description
                            "Modified Hour";
                        }
    
                        leaf min {
                          type uint32;
                          description
                            "Modified Minute";
                        }
    
                        leaf sec {
                          type uint32;
                          units "second";
                          description
                            "Modified Seconds";
                        }
                      }  // list last-modified
                    }  // list content
                  }  // list directory
                }  // list dir-path
              }  // container dir-paths
    
              container dir-path-recs {
                description
                  "Directory info with recusive option";
                list dir-path-rec {
                  key "name";
                  description
                    "Directory path with recursive option";
                  leaf name {
                    type string;
                    description "PATHREC";
                  }
    
                  leaf total-size {
                    type string;
                    description "Total size";
                  }
    
                  leaf free-size {
                    type string;
                    description "Free size";
                  }
    
                  list directory {
                    description
                      "Available directories";
                    leaf path {
                      type string;
                      description
                        "Directory path";
                    }
    
                    list content {
                      description
                        "List of directory contents";
                      leaf inode {
                        type uint32;
                        description
                          "Inode number";
                      }
    
                      leaf permission {
                        type string;
                        description
                          "File permission";
                      }
    
                      leaf links {
                        type uint32;
                        description "Links";
                      }
    
                      leaf size {
                        type string;
                        description "File size";
                      }
    
                      leaf name {
                        type string;
                        description "File name";
                      }
    
                      leaf link-name {
                        type string;
                        description "Link name";
                      }
    
                      list last-modified {
                        description
                          "Last modified time";
                        leaf date {
                          type uint32;
                          description
                            "Modified Date";
                        }
    
                        leaf month {
                          type string;
                          description
                            "Modified Month";
                        }
    
                        leaf year {
                          type uint32;
                          description
                            "Modified Year";
                        }
    
                        leaf hour {
                          type uint32;
                          description
                            "Modified Hour";
                        }
    
                        leaf min {
                          type uint32;
                          description
                            "Modified Minute";
                        }
    
                        leaf sec {
                          type uint32;
                          units "second";
                          description
                            "Modified Seconds";
                        }
                      }  // list last-modified
                    }  // list content
                  }  // list directory
                }  // list dir-path-rec
              }  // container dir-path-recs
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container dir
      }  // module Cisco-IOS-XR-shellutil-dir-oper
    

© 2023 YumaWorks, Inc. All rights reserved.