Cisco-IOS-XR-attestation-agent-ima-oper

This module contains a collection of YANG definitions for Cisco IOS-XR attestation-agent-ima package operational data. This mod...

  • Version: 2020-09-21

    Cisco-IOS-XR-attestation-agent-ima-oper@2020-09-21


    
      module Cisco-IOS-XR-attestation-agent-ima-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-attestation-agent-ima-oper";
    
        prefix attestation-agent-ima-oper;
    
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-attestation-agent-ima-oper-sub1 {
          revision-date "2020-09-21";
        }
    
        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 attestation-agent-ima package operational data.
         
         This module contains definitions
         for the following management objects:
           attestation: Oper data for IMA cache and Cron job statistics
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-09-21" {
          description
            "Fixed bag mismatch issue for dossier stat.";
        }
    
        revision "2020-09-15" {
          description
            "Added task for netconf support.";
        }
    
        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 attestation {
          config false;
          description
            "Oper data for IMA cache and Cron job statistics ";
          container ima-cache {
            description
              "Oper data for IMA cache and Cron job statistics ";
            container ima-corrupt-stat {
              description
                "Cron job running stats";
              list node {
                description "node";
                leaf node-name {
                  type string {
                    length "0..256";
                  }
                  description "node name";
                }
    
                list chunk {
                  description
                    "list of starting event of corrupted chunk";
                  leaf chunk-start-event {
                    type uint32;
                    description
                      "Corrupted chunk start number";
                  }
    
                  leaf chunk-end-event {
                    type uint32;
                    description
                      "Corrupted chunk end event";
                  }
                }  // list chunk
              }  // list node
            }  // container ima-corrupt-stat
    
            container dossier-stat {
              description
                "Dossier running stats";
              leaf success-count {
                type uint32;
                description
                  "dossier successfull execution count";
              }
    
              leaf fail-count {
                type uint32;
                description
                  "dossier failure count";
              }
    
              leaf avg-time {
                type uint32;
                description
                  "avg time taken for dossier execution";
              }
            }  // container dossier-stat
    
            container cron-stat {
              description
                "Cron job running stats";
              list cron {
                description "cron";
                leaf run-time {
                  type uint32;
                  units "second";
                  description
                    "average run time in secs";
                }
    
                leaf averag-blocks-read {
                  type uint32;
                  description
                    "average no of IMA signed blocks read";
                }
    
                leaf success-count {
                  type uint32;
                  description
                    "successful run count";
                }
    
                leaf failure-count {
                  type uint32;
                  description "failure count";
                }
    
                leaf periodicity {
                  type uint32;
                  description
                    "Periodicity of cron job";
                }
    
                leaf no-update-count {
                  type uint32;
                  description
                    "No. of times cron-job ran without reading any
    data";
                }
    
                leaf timestamp {
                  type string {
                    length "0..256";
                  }
                  description "last instant ran";
                }
    
                leaf node-name {
                  type string {
                    length "0..256";
                  }
                  description "node name";
                }
              }  // list cron
            }  // container cron-stat
    
            container node-cache-summary {
              description
                "Cache summary for nodes running agent";
              list cache {
                description "cache";
                leaf total-blocks {
                  type uint32;
                  description
                    "total blocks in cache";
                }
    
                leaf cache-size {
                  type uint32;
                  description
                    "total cache size in MB";
                }
    
                leaf total-events {
                  type uint32;
                  description
                    "total no. of events in cache";
                }
    
                leaf duplicate-events {
                  type uint32;
                  description
                    "total no. of duplicate events in cache";
                }
    
                leaf unique-events {
                  type uint32;
                  description
                    "total no. of unique events in cache";
                }
    
                leaf node-name {
                  type string {
                    length "0..256";
                  }
                  description "node name";
                }
    
                leaf timestamp {
                  type string {
                    length "0..256";
                  }
                  description "last modified";
                }
              }  // list cache
            }  // container node-cache-summary
    
            container node-block-summary {
              description
                "Block summary for nodes running agent";
              list node-block {
                description "node block";
                leaf node-name {
                  type string {
                    length "0..256";
                  }
                  description "node name";
                }
    
                list block {
                  description
                    "list of blocks for this node";
                  leaf block-start {
                    type uint32;
                    description
                      "block start event number";
                  }
    
                  leaf block-end {
                    type uint32;
                    description
                      "block end event number";
                  }
    
                  leaf block-size {
                    type uint32;
                    description
                      "block size in MB";
                  }
    
                  leaf duplicate-events {
                    type uint32;
                    description
                      "total no. of duplicate events in block";
                  }
    
                  leaf unique-events {
                    type uint32;
                    description
                      "total no. of unique events in block";
                  }
    
                  leaf block-name {
                    type string {
                      length "0..256";
                    }
                    description "block name";
                  }
    
                  leaf timestamp {
                    type string {
                      length "0..256";
                    }
                    description "last modified";
                  }
    
                  leaf create-time {
                    type string {
                      length "0..256";
                    }
                    description
                      "timestamp when block was created";
                  }
    
                  leaf block-exists {
                    type string {
                      length "0..50";
                    }
                    description
                      "TRUE if block is present FALSE if block is
    deleted";
                  }
                }  // list block
              }  // list node-block
            }  // container node-block-summary
          }  // container ima-cache
        }  // container attestation
      }  // module Cisco-IOS-XR-attestation-agent-ima-oper
    

© 2023 YumaWorks, Inc. All rights reserved.