Cisco-IOS-XR-prm-server-oper

This module contains a collection of YANG definitions for Cisco IOS-XR prm-server package operational data. This module contain...

  • Version: 2019-04-05

    Cisco-IOS-XR-prm-server-oper@2019-04-05


    
      module Cisco-IOS-XR-prm-server-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-server-oper";
    
        prefix prm-server-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-prm-server-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 prm-server package operational data.
         
         This module contains definitions
         for the following management objects:
           hardware-module: PRM data
           prm: PRM data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2016-02-22" {
          description "Initial revision.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        container hardware-module {
          config false;
          description "PRM data";
          container nodes {
            description "List of PRM Nodes";
            list node {
              key "node-name";
              description "Node Information";
              container np {
                description "Server specific";
                container cpu {
                  description
                    "Resource specific";
                  container indexes {
                    description
                      "Data for software resource";
                    list index {
                      key "index";
                      description "Queue Stats";
                      leaf index {
                        type uint32;
                        description
                          "Index value";
                      }
    
                      leaf cos-q-name {
                        type string {
                          length "0..1024";
                        }
                        description "CosQ Name";
                      }
    
                      leaf cos-q {
                        type uint8;
                        description "CosQ No";
                      }
    
                      leaf rx-channel {
                        type uint32;
                        description
                          "Rx DMA Channel";
                      }
    
                      leaf flow-rate {
                        type uint32;
                        description "Flow Rate";
                      }
    
                      leaf burst {
                        type uint32;
                        description "Burst";
                      }
    
                      leaf accepted {
                        type uint64;
                        description "Accepted";
                      }
    
                      leaf dropped {
                        type uint64;
                        description "Dropped";
                      }
                    }  // list index
                  }  // container indexes
                }  // container cpu
    
                container platform-drop {
                  description "Platform drops";
                  container indxes {
                    description
                      "Captured Packets";
                    list indx {
                      key "index";
                      description
                        "Captured packets";
                      leaf index {
                        type uint32;
                        description
                          "Index value";
                      }
    
                      leaf total-captured {
                        type uint32;
                        description
                          "Total packets Captured";
                      }
    
                      leaf captured-pak {
                        type string {
                          length "0..1024";
                        }
                        description
                          "Captured Packet";
                      }
    
                      leaf pkt-index {
                        type uint8;
                        description
                          "Packet Index";
                      }
    
                      leaf ifhandle {
                        type uint32;
                        description "If Handle";
                      }
    
                      leaf buffer-len {
                        type uint32;
                        description
                          "Buffer Length";
                      }
    
                      leaf reason-hi {
                        type uint32;
                        description "Reason Hi";
                      }
    
                      leaf reason {
                        type uint32;
                        description "Reason";
                      }
    
                      leaf years {
                        type uint64;
                        description "Year";
                      }
    
                      leaf hours {
                        type uint64;
                        units "hour";
                        description "Hours";
                      }
    
                      leaf days {
                        type uint64;
                        units "day";
                        description "Days";
                      }
    
                      leaf mins {
                        type uint64;
                        units "minute";
                        description "Minutes";
                      }
    
                      leaf secs {
                        type uint64;
                        units "second";
                        description "Seconds";
                      }
                    }  // list indx
                  }  // container indxes
    
                  container idxes {
                    description
                      "Stats for Drop packets";
                    list idx {
                      key "index";
                      description "Drop Stats";
                      leaf index {
                        type uint32;
                        description
                          "Index value";
                      }
    
                      leaf drop-reason {
                        type string {
                          length "0..1024";
                        }
                        description
                          "Drop Reason";
                      }
    
                      leaf counters {
                        type uint32;
                        description "Counter";
                      }
                    }  // list idx
                  }  // container idxes
                }  // container platform-drop
              }  // container np
    
              leaf node-name {
                type xr:Node-id;
                description "The node name";
              }
            }  // list node
          }  // container nodes
        }  // container hardware-module
    
        container prm {
          config false;
          description "PRM data";
          container nodes {
            description "List of PRM Nodes";
            list node {
              key "node-name";
              description "Node Information";
              container server {
                description "Server specific";
                container resource {
                  description
                    "Resource specific";
                  container indexes {
                    description
                      "Data for software resource";
                    list index {
                      key "index";
                      description
                        "Data for software resource";
                      leaf index {
                        type uint32;
                        description
                          "Index value";
                      }
    
                      leaf resource-name {
                        type string {
                          length "0..1024";
                        }
                        description
                          "Resource Name";
                      }
    
                      leaf resource-type {
                        type uint32;
                        description
                          "Resource Type";
                      }
    
                      leaf total-num {
                        type uint32;
                        description
                          "Total Resource Count";
                      }
    
                      leaf free-num {
                        type uint32;
                        description
                          "Free Resource Count";
                      }
    
                      leaf first-available-index {
                        type uint32;
                        description
                          "Next Free Index";
                      }
    
                      leaf start-index {
                        type uint32;
                        description
                          "Start Index";
                      }
    
                      leaf availability-status {
                        type boolean;
                        description
                          "Availability Status";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "Resource Flags";
                      }
    
                      leaf inconsistent {
                        type boolean;
                        description
                          "Inconsistice Flags";
                      }
                    }  // list index
                  }  // container indexes
                }  // container resource
              }  // container server
    
              leaf node-name {
                type xr:Node-id;
                description "The node name";
              }
            }  // list node
          }  // container nodes
        }  // container prm
      }  // module Cisco-IOS-XR-prm-server-oper
    

© 2023 YumaWorks, Inc. All rights reserved.