Cisco-IOS-XR-install-oper

This module contains a collection of YANG definitions for Cisco IOS-XR install package operational data. This module contains d...

  • Version: 2021-01-14

    Cisco-IOS-XR-install-oper@2021-01-14


    
      module Cisco-IOS-XR-install-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-install-oper";
    
        prefix install-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-install-oper-sub1 {
          revision-date "2021-01-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 install package operational data.
    
    This module contains definitions
    for the following management objects:
      install: Install operational data
    
    Copyright (c) 2013-2021 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-01-14" {
          description
            "Add DDTS info to rollback queries.
    2020-07-23
      Added optional label into inst_packages_bag.
    2020-07-22
      Update Inst-provides-match-type with additional provide value
    2020-05-27
      Add install and runtime fingerprint
    2020-05-27
      Add install and runtime fingerprint
    2020-05-27
      Add install and runtime fingerprint
    2020-05-13
      Updated version information to add hostname and disk space
    2020-05-13
      Updated version information to add hostname and disk space
    2020-05-13
      Updated version information to add hostname and disk space";
        }
    
        revision "2020-04-23" {
          description
            "Add categorization of installed software packages into Cisco and Non-Cisco
    2020-04-23
    Add categorization of installed software packages into Cisco and Non-Cisco
    2020-04-23
    Add categorization of installed software packages into Cisco and Non-Cisco
    2020-02-05
    Updated version information to add a GISO label
    2020-02-05
    Updated version information to add a GISO label
    2020-02-05
    Updated version information to add a GISO label
    2020-01-09
    Added optional label into inst_summary_packages_bag.
    2019-10-14
    Combined platform updates including updates to show install rollback list-ids";
        }
    
        revision "2019-10-13" {
          description
            "NCS540L 7.1.1 release
    2019-10-12
    8000 series 7.0.11 release
    2019-08-13
    Common yang oper model for lindt and eXR install.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.3.0";
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        container install {
          config false;
          description "Install operational data";
          container version {
            description
              "Install version information";
            leaf label {
              xr:event-telemetry "Subscribe Telemetry Event";
              type string;
              description
                "Added telemetry event on Label field";
            }
    
            leaf copyright-info {
              type string;
              description
                "Copyright information";
            }
    
            leaf hardware-info {
              type string;
              description "Hardware information";
            }
    
            leaf uptime {
              type string;
              description "System uptime";
            }
    
            leaf location {
              type Install-opt-string;
              description
                "Prefix for the path where packages will be
    installed";
            }
    
            leaf processor {
              type Install-opt-string;
              description "Processor";
            }
    
            leaf chassis-pid {
              type Install-opt-string;
              description "Chassis PID";
            }
    
            leaf chassis-description {
              type Install-opt-string;
              description
                "Chassis Unique Device Identifier description";
            }
    
            leaf xr-host-name {
              type Install-opt-string;
              description
                "Configured XR hostname";
            }
    
            leaf total-ram {
              type uint64;
              description
                "Total physical memory in GB";
            }
    
            list package {
              description "Packages";
              leaf name {
                type string;
                description "Name";
              }
    
              leaf version {
                type string;
                description "Version";
              }
    
              leaf built-by {
                type string;
                description "User built by";
              }
    
              leaf built-on {
                type string;
                description "Time built";
              }
    
              leaf workspace {
                type string;
                description "Workspace built in";
              }
    
              leaf build-host {
                type string;
                description "Build host";
              }
            }  // list package
          }  // container version
    
          container fixes {
            description
              "Information about installed fixes";
            container active {
              description
                "Information about fixes that are active";
              list fixes {
                description "Fixes";
                leaf ddts {
                  type string;
                  description "DDTS id";
                }
    
                list package {
                  description "Packages";
                  container rpm-fingerprint {
                    description
                      "RPM Fingerprint at install and run time";
                    leaf rpm-fingerprint-install-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at install time.";
                    }
    
                    leaf rpm-fingerprint-run-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                    }
                  }  // container rpm-fingerprint
    
                  leaf name {
                    type string;
                    description "Package name";
                  }
    
                  leaf architecture {
                    type string;
                    description "Architecture";
                  }
    
                  leaf version {
                    type string;
                    description "Version";
                  }
    
                  leaf release {
                    type string;
                    description "Release";
                  }
    
                  leaf epoch {
                    type Install-opt-string;
                    description "Epoch";
                  }
    
                  leaf gpg-key-id {
                    type Install-opt-string;
                    description
                      "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                  }
                }  // list package
              }  // list fixes
            }  // container active
    
            container committed {
              description
                "Information about fixes that are committed";
              list fixes {
                description "Fixes";
                leaf ddts {
                  type string;
                  description "DDTS id";
                }
    
                list package {
                  description "Packages";
                  container rpm-fingerprint {
                    description
                      "RPM Fingerprint at install and run time";
                    leaf rpm-fingerprint-install-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at install time.";
                    }
    
                    leaf rpm-fingerprint-run-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                    }
                  }  // container rpm-fingerprint
    
                  leaf name {
                    type string;
                    description "Package name";
                  }
    
                  leaf architecture {
                    type string;
                    description "Architecture";
                  }
    
                  leaf version {
                    type string;
                    description "Version";
                  }
    
                  leaf release {
                    type string;
                    description "Release";
                  }
    
                  leaf epoch {
                    type Install-opt-string;
                    description "Epoch";
                  }
    
                  leaf gpg-key-id {
                    type Install-opt-string;
                    description
                      "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                  }
                }  // list package
              }  // list fixes
            }  // container committed
          }  // container fixes
    
          container packages {
            description
              "Information about packages installed to the
    system";
            container committed {
              description
                "Information about committed packages";
              container nodes {
                description
                  "Table for per-node package data";
                list node {
                  key "node";
                  description
                    "Per-node package data";
                  leaf node {
                    type xr:Node-id;
                    description "Node name";
                  }
    
                  leaf rpm-fingerprint-status {
                    type Inst-fp-request-status;
                    description
                      "Package Fingerprint request status";
                  }
    
                  leaf rpm-fingerprint-timestamp {
                    type Install-opt-string;
                    description
                      "Package run time fingerprint collection time";
                  }
    
                  leaf label {
                    type Install-opt-string;
                    description "Label of image";
                  }
    
                  list package {
                    description "Packages";
                    container rpm-fingerprint {
                      description
                        "RPM Fingerprint at install and run time";
                      leaf rpm-fingerprint-install-time {
                        type Install-opt-string;
                        description
                          "Package fingerprint at install time.";
                      }
    
                      leaf rpm-fingerprint-run-time {
                        type Install-opt-string;
                        description
                          "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                      }
                    }  // container rpm-fingerprint
    
                    leaf name {
                      type string;
                      description "Package name";
                    }
    
                    leaf architecture {
                      type string;
                      description "Architecture";
                    }
    
                    leaf version {
                      type string;
                      description "Version";
                    }
    
                    leaf release {
                      type string;
                      description "Release";
                    }
    
                    leaf epoch {
                      type Install-opt-string;
                      description "Epoch";
                    }
    
                    leaf gpg-key-id {
                      type Install-opt-string;
                      description
                        "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                    }
                  }  // list package
                }  // list node
              }  // container nodes
    
              container summary {
                description
                  "Summary information";
                leaf xr-packages-hash {
                  type string;
                  description
                    "Hash of XR packages";
                }
    
                leaf label {
                  type Install-opt-string;
                  description "Label of image";
                }
    
                leaf rpm-fingerprint-status {
                  type Inst-fp-request-status;
                  description
                    "Package Fingerprint request status";
                }
    
                leaf rpm-fingerprint-timestamp {
                  type Install-opt-string;
                  description
                    "Package run time fingerprint collection time";
                }
    
                list package {
                  description
                    "Added telemetry event at packages level";
                  container rpm-fingerprint {
                    description
                      "RPM Fingerprint at install and run time";
                    leaf rpm-fingerprint-install-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at install time.";
                    }
    
                    leaf rpm-fingerprint-run-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                    }
                  }  // container rpm-fingerprint
    
                  leaf name {
                    type string;
                    description "Package name";
                  }
    
                  leaf architecture {
                    type string;
                    description "Architecture";
                  }
    
                  leaf version {
                    type string;
                    description "Version";
                  }
    
                  leaf release {
                    type string;
                    description "Release";
                  }
    
                  leaf epoch {
                    type Install-opt-string;
                    description "Epoch";
                  }
    
                  leaf xr-mandatory {
                    type boolean;
                    description "XR Mandatory";
                  }
    
                  leaf xr-optional {
                    type boolean;
                    description "XR Optional";
                  }
    
                  leaf gpg-key-id {
                    type Install-opt-string;
                    description
                      "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                  }
                }  // list package
              }  // container summary
            }  // container committed
    
            container active {
              description
                "Information about active packages";
              container nodes {
                description
                  "Table for per-node package data";
                list node {
                  key "node";
                  description
                    "Per-node package data";
                  leaf node {
                    type xr:Node-id;
                    description "Node name";
                  }
    
                  leaf rpm-fingerprint-status {
                    type Inst-fp-request-status;
                    description
                      "Package Fingerprint request status";
                  }
    
                  leaf rpm-fingerprint-timestamp {
                    type Install-opt-string;
                    description
                      "Package run time fingerprint collection time";
                  }
    
                  leaf label {
                    type Install-opt-string;
                    description "Label of image";
                  }
    
                  list package {
                    description "Packages";
                    container rpm-fingerprint {
                      description
                        "RPM Fingerprint at install and run time";
                      leaf rpm-fingerprint-install-time {
                        type Install-opt-string;
                        description
                          "Package fingerprint at install time.";
                      }
    
                      leaf rpm-fingerprint-run-time {
                        type Install-opt-string;
                        description
                          "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                      }
                    }  // container rpm-fingerprint
    
                    leaf name {
                      type string;
                      description "Package name";
                    }
    
                    leaf architecture {
                      type string;
                      description "Architecture";
                    }
    
                    leaf version {
                      type string;
                      description "Version";
                    }
    
                    leaf release {
                      type string;
                      description "Release";
                    }
    
                    leaf epoch {
                      type Install-opt-string;
                      description "Epoch";
                    }
    
                    leaf gpg-key-id {
                      type Install-opt-string;
                      description
                        "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                    }
                  }  // list package
                }  // list node
              }  // container nodes
    
              container summary {
                description
                  "Summary information";
                leaf xr-packages-hash {
                  type string;
                  description
                    "Hash of XR packages";
                }
    
                leaf label {
                  type Install-opt-string;
                  description "Label of image";
                }
    
                leaf rpm-fingerprint-status {
                  type Inst-fp-request-status;
                  description
                    "Package Fingerprint request status";
                }
    
                leaf rpm-fingerprint-timestamp {
                  type Install-opt-string;
                  description
                    "Package run time fingerprint collection time";
                }
    
                list package {
                  description
                    "Added telemetry event at packages level";
                  container rpm-fingerprint {
                    description
                      "RPM Fingerprint at install and run time";
                    leaf rpm-fingerprint-install-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at install time.";
                    }
    
                    leaf rpm-fingerprint-run-time {
                      type Install-opt-string;
                      description
                        "Package fingerprint at run time. A runtime
    fingerprint of '0' indicates that the runtime
    fingerprint for this package has not yet been
    calculated.";
                    }
                  }  // container rpm-fingerprint
    
                  leaf name {
                    type string;
                    description "Package name";
                  }
    
                  leaf architecture {
                    type string;
                    description "Architecture";
                  }
    
                  leaf version {
                    type string;
                    description "Version";
                  }
    
                  leaf release {
                    type string;
                    description "Release";
                  }
    
                  leaf epoch {
                    type Install-opt-string;
                    description "Epoch";
                  }
    
                  leaf xr-mandatory {
                    type boolean;
                    description "XR Mandatory";
                  }
    
                  leaf xr-optional {
                    type boolean;
                    description "XR Optional";
                  }
    
                  leaf gpg-key-id {
                    type Install-opt-string;
                    description
                      "The GPG key ID at install time. A key ID of '0'
    indicates a package with no GPG signature.";
                  }
                }  // list package
              }  // container summary
            }  // container active
          }  // container packages
    
          container request {
            description
              "Information about the latest user request";
            leaf request {
              type string;
              description
                "The last user request";
            }
    
            leaf state {
              xr:event-telemetry "Subscribe Telemetry Event";
              type Inst-req-state;
              description
                "The state of the last user request. Added
    telemetry event for operation state";
            }
    
            leaf timestamp {
              type string;
              description
                "The time the current state was entered";
            }
    
            leaf error {
              type string;
              description
                "String describing the error, if any";
            }
    
            leaf operation-id {
              xr:event-telemetry "Subscribe Telemetry Event";
              type Install-opt-string;
              description
                "Operation ID of the ongoing or  previous
    completed install operation.            Added
    telemetry event for install operation id";
            }
          }  // container request
        }  // container install
      }  // module Cisco-IOS-XR-install-oper
    

© 2023 YumaWorks, Inc. All rights reserved.