Cisco-IOS-XR-crypto-sam-oper

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

  • Version: 2019-04-05

    Cisco-IOS-XR-crypto-sam-oper@2019-04-05


    
      module Cisco-IOS-XR-crypto-sam-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper";
    
        prefix crypto-sam-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-crypto-sam-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 crypto-sam package operational data.
         
         This module contains definitions
         for the following management objects:
           sam: Software authentication manager certificate information
         
         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-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container sam {
          config false;
          description
            "Software authentication manager certificate
           information";
          container system-information {
            description "SAM system information";
            leaf is-running {
              type boolean;
              description
                "True if SAM status information runs";
            }
    
            leaf prompt-interval {
              type uint32;
              units "second";
              description
                "Prompt interval atreboot time in seconds";
            }
    
            leaf is-default-response {
              type boolean;
              description
                "True if promptdefault response is true";
            }
          }  // container system-information
    
          container log-contents {
            description
              "SAM log content table information";
            list log-content {
              key "number-of-lines";
              description
                "Number of lines for SAM log message";
              leaf number-of-lines {
                type uint32;
                description "Number of lines";
              }
    
              leaf total-entries {
                type uint32;
                description
                  "Total log entries available";
              }
    
              leaf entries-shown {
                type uint32;
                description
                  "Total entries shown";
              }
    
              list logs {
                description "SAM logs";
                leaf time {
                  type string;
                  description "Log time";
                }
    
                leaf code {
                  type Log-code;
                  description "Log code";
                }
    
                leaf target-device {
                  type string;
                  description "Target device";
                }
    
                leaf index {
                  type uint32;
                  description "Device index";
                }
    
                leaf error {
                  type Log-error;
                  description
                    "Log error message";
                }
    
                leaf issuer {
                  type Certificate-issuer;
                  description
                    "Issuer of the certificate";
                }
    
                leaf serial-no {
                  type string;
                  description "Serial number";
                }
    
                leaf sam-table-index {
                  type uint32;
                  description "SAM table index";
                }
    
                leaf update-time {
                  type string;
                  description
                    "Last update time of the certificate";
                }
    
                leaf source-device {
                  type string;
                  description
                    "source device name";
                }
    
                leaf table {
                  type Log-tables;
                  description
                    "Log table information";
                }
              }  // list logs
            }  // list log-content
          }  // container log-contents
    
          container devices {
            description
              "Certificate device table information";
            list device {
              key "device-name";
              description
                "Certificate table device information";
              container certificate {
                description
                  "Certificate table information";
                container brief {
                  description
                    "Certificate table brief information";
                  container certificate-flags {
                    description
                      "Certificate flags";
                    leaf is-trusted {
                      type boolean;
                      description "Trusted flag";
                    }
    
                    leaf is-revoked {
                      type boolean;
                      description "Revoked flag";
                    }
    
                    leaf is-expired {
                      type boolean;
                      description "Expired flag";
                    }
    
                    leaf is-validated {
                      type boolean;
                      description
                        "Validated flag";
                    }
                  }  // container certificate-flags
    
                  leaf location {
                    type string;
                    description
                      "Certificate location";
                  }
    
                  leaf certificate-index {
                    type uint16;
                    description
                      "Certificate index";
                  }
                }  // container brief
    
                container certificate-indexes {
                  description
                    "Certificate detail index table information";
                  list certificate-index {
                    key "index";
                    description
                      "Certificate detail index information";
                    container detail {
                      description
                        "Certificate table detail information";
                      container certificate-flags {
                        description
                          "Certificate flags";
                        leaf is-trusted {
                          type boolean;
                          description
                            "Trusted flag";
                        }
    
                        leaf is-revoked {
                          type boolean;
                          description
                            "Revoked flag";
                        }
    
                        leaf is-expired {
                          type boolean;
                          description
                            "Expired flag";
                        }
    
                        leaf is-validated {
                          type boolean;
                          description
                            "Validated flag";
                        }
                      }  // container certificate-flags
    
                      leaf location {
                        type string;
                        description
                          "Certificate location";
                      }
    
                      leaf certificate-index {
                        type uint16;
                        description
                          "Certificate index";
                      }
                    }  // container detail
    
                    leaf index {
                      type uint32;
                      description
                        "Specify certificate index";
                    }
                  }  // list certificate-index
                }  // container certificate-indexes
              }  // container certificate
    
              leaf device-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Specify device name";
              }
            }  // list device
          }  // container devices
    
          container packages {
            description
              "SAM certificate information  package";
            list package {
              key "package-name";
              description
                "SAM certificate information for a specific
               package";
              leaf package-name {
                type string;
                description
                  "Specify package name";
              }
    
              container certificate-flags {
                description "Certificate flags";
                leaf is-trusted {
                  type boolean;
                  description "Trusted flag";
                }
    
                leaf is-revoked {
                  type boolean;
                  description "Revoked flag";
                }
    
                leaf is-expired {
                  type boolean;
                  description "Expired flag";
                }
    
                leaf is-validated {
                  type boolean;
                  description "Validated flag";
                }
              }  // container certificate-flags
    
              leaf location {
                type string;
                description
                  "Certificate location";
              }
    
              leaf certificate-index {
                type uint16;
                description "Certificate index";
              }
            }  // list package
          }  // container packages
    
          container certificate-revocations {
            description
              "Certificate revocation list index table
             information";
            list certificate-revocation {
              key "crl-index";
              description
                "Certificate revocation list index information";
              container certificate-revocation-list-detail {
                description
                  "Certificate revocation list detail information";
                container issuer {
                  description "Issuer name";
                  leaf common-name {
                    type string;
                    description "Common name";
                  }
    
                  leaf organization {
                    type string;
                    description "Organization";
                  }
    
                  leaf country {
                    type string;
                    description "Country";
                  }
                }  // container issuer
    
                leaf crl-index {
                  type uint16;
                  description " CRL index";
                }
    
                leaf updates {
                  type string;
                  description
                    "Updated time of CRL is displayed";
                }
              }  // container certificate-revocation-list-detail
    
              leaf crl-index {
                type uint32;
                description "CRL index";
              }
            }  // list certificate-revocation
          }  // container certificate-revocations
    
          container certificate-revocation-list-summary {
            description
              "Certificate revocation list summary information ";
            container issuer {
              description "Issuer name";
              leaf common-name {
                type string;
                description "Common name";
              }
    
              leaf organization {
                type string;
                description "Organization";
              }
    
              leaf country {
                type string;
                description "Country";
              }
            }  // container issuer
    
            leaf crl-index {
              type uint16;
              description " CRL index";
            }
    
            leaf updates {
              type string;
              description
                "Updated time of CRL is displayed";
            }
          }  // container certificate-revocation-list-summary
        }  // container sam
      }  // module Cisco-IOS-XR-crypto-sam-oper
    

© 2023 YumaWorks, Inc. All rights reserved.