This module contains a collection of YANG definitions for Cisco IOS-XR spirit-install-instmgr package operational data. This mo...
Version: 2020-10-06
module Cisco-IOS-XR-spirit-install-instmgr-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-install-instmgr-oper"; prefix spirit-install-instmgr-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-spirit-install-instmgr-oper-sub2 { revision-date "2020-10-06"; } include Cisco-IOS-XR-spirit-install-instmgr-oper-sub1 { revision-date "2020-10-06"; } 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 spirit-install-instmgr package operational data. This module contains definitions for the following management objects: install: Install operations info Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-10-06" { description "Fixing backward compatible addition of new leafs."; } revision "2020-03-03" { description "Fixing schema-describe support. 2019-06-28 Common yang action model between lindt and eXR install."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-11-29" { description "Structured the yang response for show CLIs."; } revision "2018-08-24" { description "Changed model structure for software version and deprecated img-info node."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-07-24" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "3.0.0"; semver:module-version "2.1.0"; semver:module-version "2.0.0"; container install { config false; description "Install operations info"; container request-str { description "Show current request"; leaf curr-inst-oper { type string; description "CurrInstOper"; } } // container request-str container superseded { description "Show superseded packages"; list package-info { description "Superseded package info"; container packages { description "Superseded packages"; list superseded-package { description "info of packages superseded"; list package { description "superseded package"; 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 superseded-by { description "superseding packages"; list package { description "Details of package"; 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 superseded-by } // list superseded-package } // container packages leaf location { type string; description "node location"; } leaf node-type { type string; description "type of node"; } leaf boot-partition-name { type string; description "name of boot partition"; } leaf number-of-packages { type uint32; description "package count"; } leaf error { type string; description "Error"; } } // list package-info } // container superseded container inactives-str { description "Show XR inactive packages"; leaf log { type string; description "operation log"; } } // container inactives-str container valid-log-id { description "Show valid log ids for XR"; leaf from { type uint32; description "From"; } leaf to { type uint32; description "To"; } leaf error { type string; description "Error"; } } // container valid-log-id container supersede-str { description "Show superseded packages"; list superseded-package-info { description "superseded package info"; leaf error-message { type string; description "ErrorMessage"; } leaf location { type string; description "Location"; } leaf node-type { type string; description "NodeType"; } leaf boot-partition-name { type string; description "BootPartitionName"; } leaf superseded-packages { type string; description "SupersededPackages"; } leaf number-of-packages { type uint32; description "NumberOfPackages"; } } // list superseded-package-info } // container supersede-str container package-xr { description "Show the list of installed packages"; list package { key "package-name"; description "Show the info for a installed package"; container verbose { description "Show the verbose info for a installed package"; leaf log { type string; description "operation log"; } } // container verbose container brief { description "Show the info for a installed package"; leaf log { type string; description "operation log"; } } // container brief container detail { description "Show the deatil info for a installed package"; leaf log { type string; description "operation log"; } } // container detail leaf package-name { type string { length "1..256"; } description "Package name"; } } // list package } // container package-xr container inactives-summary-str { description "Show XR inactive packages"; leaf log { type string; description "operation log"; } } // container inactives-summary-str container inactive-summary { description "Show XR inactive packages"; container packages { description "inactive packages"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } leaf node { type string; description "Node"; } leaf error { type string; description "Error"; } } // container inactive-summary container committed-summary-str { description "Show Committed packages installed"; leaf label { type string; description "Label"; } list committed-package-info { description "committed package info"; leaf error-message { type string; description "ErrorMessage"; } leaf location { type string; description "Location"; } leaf node-type { type string; description "NodeType"; } leaf boot-partition-name { type string; description "BootPartitionName"; } leaf number-of-committed-packages { type uint32; description "NumberOfCommittedPackages"; } leaf committed-packages { type string; description "CommittedPackages"; } } // list committed-package-info } // container committed-summary-str container prepare { description "Show prepared packages ready for activation"; container packages { description "prepared packages"; list package { description "Details of package"; 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 } // container packages leaf no-prepare-done { type string; description "NoPrepareDone"; } leaf prepared-boot-image { type string; description "boot image name"; } leaf prepared-boot-partition { type string; description "boot partition name"; } leaf restart-type { type string; description "RestartType"; } } // container prepare container active-summary-str { description "Show active packages installed"; leaf label { type string; description "Label"; } list active-package-info { description "active package info"; leaf error-message { type string; description "ErrorMessage"; } leaf location { type string; description "Location"; } leaf node-type { type string; description "NodeType"; } leaf boot-partition-name { type string; description "BootPartitionName"; } leaf number-of-active-packages { type uint32; description "NumberOfActivePackages"; } leaf active-packages { type string; description "ActivePackages"; } } // list active-package-info } // container active-summary-str container packages { description "Show packages installed"; 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 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 packages container version { description "Show install version"; 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 repository { description "Show install repository all"; container host { description "Host packages"; container packages { description "Package in repository"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } } // container host container admin { description "Admin packages"; container packages { description "Package in repository"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } } // container admin container xr { description "XR packages"; container packages { description "Package in repository"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } } // container xr leaf error { type string; description "Error"; } } // container repository container inactive { description "Show XR inactive packages"; container packages { description "inactive packages"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } leaf node { type string; description "Node"; } leaf error { type string; description "Error"; } } // container inactive container request { description "Show current 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 supersededsummary-str { description "Show superseded packages"; leaf log { type string; description "operation log"; } } // container supersededsummary-str container superseded-summary { description "Show superseded summary packages"; container packages { description "List of packages"; list superseded-package { description "info of packages superseded"; list package { description "superseded package"; 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 superseded-by { description "superseding packages"; list package { description "Details of package"; 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 superseded-by } // list superseded-package } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } leaf error { type string; description "Error"; } } // container superseded-summary container issu { description "ISSU operation"; container stage { description "Show XR install issu stage"; leaf state { type Isd-state-et; description "State"; } leaf issu-node-cnt { type int32; description "ISSU Node Count"; } leaf issu-ready-node-cnt { type int32; description "ISSU Ready Node Count"; } leaf percentage { type int32; units "percentage"; description "Percentage"; } leaf issu-status { type Isd-issu-status-et; description "Abort Status"; } leaf issu-error { type Isd-error-et; description "ISSU Error"; } } // container stage container inventory { description "Show XR install issu inventory"; list invinfo { description "invinfo"; leaf node-id { type int32; description "Node ID"; } leaf node-type { type Card-type-et; description "Node Type"; } leaf issu-node-role { type Issu-node-role-et; description "ISSU Node Role"; } leaf node-state { type Issudir-node-status-et; description "Node State"; } leaf node-role { type Node-role-et; description "Node role"; } } // list invinfo } // container inventory } // container issu container committed-str { description "Show Committed packages installed"; leaf label { type string; description "Label"; } list committed-package-info { description "committed package info"; leaf error-message { type string; description "ErrorMessage"; } leaf location { type string; description "Location"; } leaf node-type { type string; description "NodeType"; } leaf boot-partition-name { type string; description "BootPartitionName"; } leaf number-of-committed-packages { type uint32; description "NumberOfCommittedPackages"; } leaf committed-packages { type string; description "CommittedPackages"; } } // list committed-package-info } // container committed-str container last-operation-log { description "It shows the log of last operation performed"; container input-packages { description "packages given when triggering the operation"; list package { description "Details of package"; 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 } // container input-packages container skipped-packages { description "packages skipped"; list package { description "Details of package"; 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 } // container skipped-packages leaf raw-data { type string; description "RawData"; } leaf op-id { type uint32; description "OpId"; } leaf action { type string; description "Operation triggered"; } leaf status { type Inst-req-state; description "Status of operation"; } leaf error { type string; description "Error"; } } // container last-operation-log container admin-packages { description "Show packages installed"; container admin-active-summary { description "Show Calvados Active packages summary"; list node { description "node name"; leaf node { type string; description "Node"; } list package { description "Details of package"; 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 admin-active-summary container admin-active { description "Show calvados active packages installed"; list node { description "node name"; leaf node { type string; description "Node"; } list package { description "Details of package"; 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 admin-active container admin-committed-summary { description "Show Calvados Committed packages summary"; list node { description "node name"; leaf node { type string; description "Node"; } list package { description "Details of package"; 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 admin-committed-summary container admin-inactive { description "Show calvados inactive packages"; container packages { description "inactive packages"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } leaf node { type string; description "Node"; } leaf error { type string; description "Error"; } } // container admin-inactive container admin-committed { description "Show Calvados Committed packages installed"; list node { description "node name"; leaf node { type string; description "Node"; } list package { description "Details of package"; 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 admin-committed container admin-inactive-summary { description "Show calvados inactive packages"; container packages { description "inactive packages"; list package { description "Details of package"; 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 } // container packages leaf number-of-packages { type uint32; description "NumberOfPackages"; } leaf node { type string; description "Node"; } leaf error { type string; description "Error"; } } // container admin-inactive-summary container admin-superseded { description "Show calvados superseded packages"; list node { description "node name"; leaf node { type string; description "Node"; } list package { description "Details of package"; 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 admin-superseded } // container admin-packages container version-str { description "Show install version"; 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-str container prepare-str { description "Show prepared packages ready for activation"; leaf no-prepare-done { type string; description "NoPrepareDone"; } leaf prepared-boot-image { type string; description "PreparedBootImage"; } leaf prepared-boot-partition { type string; description "PreparedBootPartition"; } leaf restart-type { type string; description "RestartType"; } leaf activate-message { type string; description "ActivateMessage"; } leaf prepare-clean-message { type string; description "PrepareCleanMessage"; } leaf error-message { type string; description "ErrorMessage"; } list rpm { description "rpm"; leaf package { type string; description "package"; } } // list rpm list package { description "package"; leaf package { type string; description "package"; } } // list package } // container prepare-str container active-str { description "Information about active packages"; leaf label { type string; description "Label"; } list active-package-info { description "active package info"; leaf error-message { type string; description "ErrorMessage"; } leaf location { type string; description "Location"; } leaf node-type { type string; description "NodeType"; } leaf boot-partition-name { type string; description "BootPartitionName"; } leaf number-of-active-packages { type uint32; description "NumberOfActivePackages"; } leaf active-packages { type string; description "ActivePackages"; } } // list active-package-info } // container active-str container operation-logs { description "Show log file"; list operation-log { key "operation-id"; description "Show log file for the specified install ID"; leaf operation-id { type uint32 { range "0..134217728"; } description "Op ID number"; } container input-packages { description "packages given when triggering the operation"; list package { description "Details of package"; 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 } // container input-packages container skipped-packages { description "packages skipped"; list package { description "Details of package"; 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 } // container skipped-packages leaf raw-data { type string; description "RawData"; } leaf op-id { type uint32; description "OpId"; } leaf action { type string; description "Operation triggered"; } leaf status { type Inst-req-state; description "Status of operation"; } leaf error { type string; description "Error"; } } // list operation-log } // container operation-logs } // container install } // module Cisco-IOS-XR-spirit-install-instmgr-oper
© 2023 YumaWorks, Inc. All rights reserved.