Cisco-IOS-XR-infra-serg-oper-sub2

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

  • Version: 2019-04-05

    Cisco-IOS-XR-infra-serg-oper-sub2@2019-04-05


    
      submodule Cisco-IOS-XR-infra-serg-oper-sub2 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-infra-serg-oper {
            prefix
              Cisco-IOS-XR-infra-serg-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 infra-serg 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 Serg-show-mem {
          type enumeration {
            enum "standard" {
              value 0;
              description "Standard type";
            }
            enum "chunk" {
              value 1;
              description "Chunk type";
            }
            enum "edm" {
              value 2;
              description "EDM type";
            }
            enum "string" {
              value 3;
              description "String type";
            }
            enum "static" {
              value 4;
              description "Static type";
            }
            enum "unknown" {
              value 5;
              description "Unknown type";
            }
          }
          description "SERG Memory Manager type";
        }
    
        grouping SERG-SHOW-STRING-MEMORY-INFO {
          description
            "string memory Information";
          leaf size {
            type uint32;
            description "Size of the block";
          }
    
          leaf total {
            type uint32;
            description "Total request";
          }
    
          leaf success {
            type uint32;
            description "Cache-hit success";
          }
    
          leaf failure {
            type uint32;
            description "Cache-hit failure";
          }
        }  // grouping SERG-SHOW-STRING-MEMORY-INFO
    
        grouping SERG-SHOW-EDM-MEMORY-INFO {
          description "edm memory Information";
          leaf size {
            type uint32;
            description "Size of the block";
          }
    
          leaf total {
            type uint32;
            description "Total request";
          }
    
          leaf success {
            type uint32;
            description "Cache-hit success";
          }
    
          leaf failure {
            type uint32;
            description "Cache-hit failure";
          }
        }  // grouping SERG-SHOW-EDM-MEMORY-INFO
    
        grouping SERG-SHOW-MEMORY-INFO {
          description "memory Information";
          leaf structure-name {
            type string;
            description "Structure Name";
          }
    
          leaf size {
            type uint32;
            description
              "Size of the datastructure";
          }
    
          leaf current-count {
            type uint32;
            description "Current Count";
          }
    
          leaf alloc-fails {
            type uint32;
            description "Allocation Fails";
          }
    
          leaf alloc-count {
            type uint32;
            description "Allocated count";
          }
    
          leaf freed-count {
            type uint32;
            description "Freed Count";
          }
    
          leaf memory-type {
            type Serg-show-mem;
            description "Memory Type";
          }
        }  // grouping SERG-SHOW-MEMORY-INFO
    
        grouping SERG-SHOW-MEMORY {
          description "Memory Information";
          list memory-info {
            description "Memory Info";
            uses SERG-SHOW-MEMORY-INFO;
          }  // list memory-info
    
          list edm-memory-info {
            description "EDM Memory Info";
            uses SERG-SHOW-EDM-MEMORY-INFO;
          }  // list edm-memory-info
    
          list string-memory-info {
            description "String Memory Info";
            uses SERG-SHOW-STRING-MEMORY-INFO;
          }  // list string-memory-info
        }  // grouping SERG-SHOW-MEMORY
      }  // submodule Cisco-IOS-XR-infra-serg-oper-sub2
    

© 2024 YumaWorks, Inc. All rights reserved.